Simplify Aach64 polynomial multiply tests

pull/739/head
Jeffrey Walton 2018-11-12 16:50:52 -05:00
parent 6291e2fbeb
commit cff351de11
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 6 additions and 6 deletions

View File

@ -10,13 +10,13 @@
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
poly64_t a1={0x9090909090909090}, b1={0xb0b0b0b0b0b0b0b0}; const poly64_t a=0x60606060, b=0x90909090, c=0xb0b0b0b0;
poly64x2_t c1={0x9090909090909090, 0xb0b0b0b0b0b0b0b0}; const poly64x2_t d={0x60606060,0x90909090};
poly8x16_t a2={0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, const poly8x16_t e={0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0}, 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0};
poly128_t r1 = vmull_p64(a1, b1); const poly128_t r1 = vmull_p64(a, b);
poly128_t r2 = vmull_high_p64(c1, c1); const poly128_t r2 = vmull_high_p64(d, d);
return 0; return 0;
} }