From: Tom Hughes Date: Wed, 10 Aug 2011 12:58:23 +0000 (+0000) Subject: Add tests for XCHG AX, reg16 on amd64. Fixes #252695. X-Git-Tag: svn/VALGRIND_3_7_0~275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10851526280ef90d78388745420858a84995f3a2;p=thirdparty%2Fvalgrind.git Add tests for XCHG AX, reg16 on amd64. Fixes #252695. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11962 --- diff --git a/none/tests/amd64/insn_basic.def b/none/tests/amd64/insn_basic.def index ebce40169e..8b10da1bc1 100644 --- a/none/tests/amd64/insn_basic.def +++ b/none/tests/amd64/insn_basic.def @@ -1344,9 +1344,9 @@ xaddq r64.uq[1234567812345678] m64.uq[8765432187654321] => 0.uq[8765432187654321 xchgb r8.ub[12] r8.ub[34] => 0.ub[34] 1.ub[12] xchgb r8.ub[12] m8.ub[34] => 0.ub[34] 1.ub[12] xchgb m8.ub[12] r8.ub[34] => 0.ub[34] 1.ub[12] -###xchgw ax.uw[1234] bx.uw[5678] => 0.uw[5678] 1.uw[1234] -###xchgw bx.uw[1234] ax.uw[5678] => 0.uw[5678] 1.uw[1234] -###xchgw ax.uw[1234] cx.uw[5678] => 0.uw[5678] 1.uw[1234] +xchgw ax.uw[1234] bx.uw[5678] => 0.uw[5678] 1.uw[1234] +xchgw bx.uw[1234] ax.uw[5678] => 0.uw[5678] 1.uw[1234] +xchgw ax.uw[1234] cx.uw[5678] => 0.uw[5678] 1.uw[1234] xchgw r16.uw[1234] m16.uw[5678] => 0.uw[5678] 1.uw[1234] xchgw m16.uw[1234] r16.uw[5678] => 0.uw[5678] 1.uw[1234] xchgl eax.ud[12345678] ebx.ud[87654321] => 0.ud[87654321] 1.ud[12345678] diff --git a/none/tests/amd64/insn_basic.stdout.exp b/none/tests/amd64/insn_basic.stdout.exp index 2ac177fb02..6155a22c78 100644 --- a/none/tests/amd64/insn_basic.stdout.exp +++ b/none/tests/amd64/insn_basic.stdout.exp @@ -1241,6 +1241,9 @@ xchgb_2 ... ok xchgb_3 ... ok xchgw_1 ... ok xchgw_2 ... ok +xchgw_3 ... ok +xchgw_4 ... ok +xchgw_5 ... ok xchgl_1 ... ok xchgl_2 ... ok xchgl_3 ... ok