summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TestPrograms/test_arm_pmull.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/TestPrograms/test_arm_pmull.cxx b/TestPrograms/test_arm_pmull.cxx
index 86a5a01f..649b9b96 100644
--- a/TestPrograms/test_arm_pmull.cxx
+++ b/TestPrograms/test_arm_pmull.cxx
@@ -10,13 +10,13 @@
int main(int argc, char* argv[])
{
- poly64_t a1={0x9090909090909090}, b1={0xb0b0b0b0b0b0b0b0};
- poly64x2_t c1={0x9090909090909090, 0xb0b0b0b0b0b0b0b0};
- poly8x16_t a2={0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
- 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0},
+ const poly64_t a=0x60606060, b=0x90909090, c=0xb0b0b0b0;
+ const poly64x2_t d={0x60606060,0x90909090};
+ const poly8x16_t e={0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
+ 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0};
- poly128_t r1 = vmull_p64(a1, b1);
- poly128_t r2 = vmull_high_p64(c1, c1);
+ const poly128_t r1 = vmull_p64(a, b);
+ const poly128_t r2 = vmull_high_p64(d, d);
return 0;
}