diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2013-12-27 23:20:19 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2013-12-27 23:20:19 -0500 |
commit | 3f65fd3c1acc2eddae47bf2af9e651a859c1a2b4 (patch) | |
tree | 587e35ca68a03f736071e02df495cfffd4d6c7fa | |
parent | d179bce3d666fc43cb0590efaf0e0eecb76b9765 (diff) |
Don't use esp as index in test_misc()
It isn't legal x86
-rw-r--r-- | testsuite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite.c b/testsuite.c index 989f0b8..dc69c6b 100644 --- a/testsuite.c +++ b/testsuite.c @@ -403,7 +403,7 @@ test_misc (assembler_t *as) I_mov, rax, ADDRESS32 (12345), I_mov, rax, BASE (rsp, 17), I_mov, rax, PTR (r13), - I_mov, rax, INDEX (r13, 0, esp, 1), + I_mov, rax, INDEX (r13, 0, rbp, 1), I_mov, eax, ADDRESS32 (0xabcdef), END_ASM (); @@ -486,7 +486,7 @@ main () 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, 0x483565c1); + success &= run_test (as, "test_misc", test_misc, 0x1ea2e7a); success &= run_test (as, "test_riprel", test_riprel, 0xf5497642); success &= run_test (as, "test_movdq", test_movdq, 0xedd4f79d); success &= run_test (as, "test_pshuflw", test_pshuflw, 0x7a8c7f59); |