summaryrefslogtreecommitdiff
path: root/testsuite.c
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2013-02-21 00:05:17 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2013-02-21 00:05:17 -0500
commitc0019e3e9eac21f2391794a07025a1d6d030fb9c (patch)
treed3fe3ea7d372f24c9f3239a2bd44a597ff48350a /testsuite.c
parente0e285ad88ce1dfb495623ec612a4b91c3ada289 (diff)
Support for vgather
Diffstat (limited to 'testsuite.c')
-rw-r--r--testsuite.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/testsuite.c b/testsuite.c
index 5090514..349a718 100644
--- a/testsuite.c
+++ b/testsuite.c
@@ -42,6 +42,12 @@ test_shifts (assembler_t *as)
fragment_t *frag = fragment_new (as);
BEGIN_ASM (frag)
+ I_vgatherdd, ymm0, INDEX(r9, 23417, ymm0, 8), ymm2,
+ I_vgatherdd, ymm0, INDEX(eax, 23423, ymm9, 2), ymm12,
+ I_vgatherdd, ymm0, INDEX(rax, 23423, ymm9, 2), ymm12,
+ I_vgatherdps, ymm0, INDEX(r9, 23417, ymm0, 8), ymm2,
+ I_vgatherdps, ymm0, INDEX(eax, 23423, ymm9, 2), ymm12,
+ I_vgatherqpd, ymm0, INDEX(rax, 23423, ymm9, 2), ymm12,
I_add, PTR (rax), al,
I_movabs, rbx, IMM64 (0xaaaabbbbeeeeffff),
I_stmxcsr, PTR (rbx),
@@ -388,7 +394,7 @@ main ()
*/
success &= run_test (as, "test_crc32", test_crc32, 0x3ce8ed36 );
success &= run_test (as, "avx_supported", avx_supported, 0xeeaec30c);
- success &= run_test (as, "test_shifts", test_shifts, 0x8aa3c8ae);
+ success &= run_test (as, "test_shifts", test_shifts, 0x4a641094);
success &= run_test (as, "test_float", test_float, 0xc193030 );
success &= run_test (as, "test_convert", test_convert, 0x9d52c83b);
success &= run_test (as, "test_misc", test_misc, 0xc6b9051f);