From df145ef65632dbc6bb31f8d01a088f8600b6c7f1 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 14 Nov 2017 08:40:48 +0100 Subject: [PATCH] x86: string insns don't allow displacements Remove the misleading indicators from the table. --- gas/ChangeLog | 9 ++++++ gas/testsuite/gas/i386/string-bad.l | 20 ++++++++++--- gas/testsuite/gas/i386/string-bad.s | 10 +++++++ gas/testsuite/gas/i386/string-ok.d | 17 +++++------ gas/testsuite/gas/i386/string-ok.e | 10 ------- gas/testsuite/gas/i386/string-ok.s | 19 ++++++------ opcodes/ChangeLog | 6 ++++ opcodes/i386-opc.tbl | 38 ++++++++++++------------ opcodes/i386-tbl.h | 46 ++++++++++++++--------------- 9 files changed, 100 insertions(+), 75 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 86876a101a1..5da6079bdb1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,12 @@ +2017-11-14 Jan Beulich + + * testsuite/gas/i386/string-ok.s: Add a few more valid patterns. + Move bogus tests ... + * testsuite/gas/i386/string-bad.s: ... here. + * testsuite/gas/i386/string-bad.l: Adjust expectations. + * testsuite/gas/i386/string-ok.d: Likewise. + * testsuite/gas/i386/string-ok.e: Likewise. + 2017-11-13 Jan Beulich * config/tc-aarch64.c (R_Z_BHSDQ_VZP): Rename to ... diff --git a/gas/testsuite/gas/i386/string-bad.l b/gas/testsuite/gas/i386/string-bad.l index 0230bbe26f6..f133afb0616 100644 --- a/gas/testsuite/gas/i386/string-bad.l +++ b/gas/testsuite/gas/i386/string-bad.l @@ -6,12 +6,24 @@ .*:8: Error: .* .*:9: Error: .* .*:10: Error: .* -.*:14: Error: .* +.*:11: Warning: .* +.*:12: Warning: .* +.*:13: Warning: .* +.*:14: Warning: .* +.*:15: Warning: .* .*:15: Error: .* -.*:16: Error: .* -.*:17: Error: .* -.*:18: Error: .* .*:19: Error: .* .*:20: Error: .* .*:21: Error: .* .*:22: Error: .* +.*:23: Error: .* +.*:24: Error: .* +.*:25: Error: .* +.*:26: Error: .* +.*:27: Error: .* +.*:28: Warning: .* +.*:29: Warning: .* +.*:30: Warning: .* +.*:31: Warning: .* +.*:32: Warning: .* +.*:32: Error: .* diff --git a/gas/testsuite/gas/i386/string-bad.s b/gas/testsuite/gas/i386/string-bad.s index 7c739a1d868..17d7d89d0cb 100644 --- a/gas/testsuite/gas/i386/string-bad.s +++ b/gas/testsuite/gas/i386/string-bad.s @@ -8,6 +8,11 @@ start: cmpsb %ds:(%edi), (%esi) scasb %ds:(%edi) insb (%dx), %ds:(%edi) + xlatb (%esi) + xlatb (,%ebx) + xlatb 1(%ebx) + xlatb x(%ebx) + xlatb 0 .intel_syntax noprefix @@ -20,3 +25,8 @@ start: cmps byte ptr [esi], dword ptr [edi] scas byte ptr ds:[edi] ins byte ptr ds:[edi], dx + xlat byte ptr [esi] + xlat byte ptr [%ebx*1] + xlat byte ptr [ebx+1] + xlat byte ptr x[ebx] + xlat byte ptr FLAT:0 diff --git a/gas/testsuite/gas/i386/string-ok.d b/gas/testsuite/gas/i386/string-ok.d index 3e218733de2..ddaad5872a7 100644 --- a/gas/testsuite/gas/i386/string-ok.d +++ b/gas/testsuite/gas/i386/string-ok.d @@ -26,12 +26,12 @@ Disassembly of section .text: [ ]+[0-9a-f]+: ae[ ]+scas (%es:)?\(%edi\),%al [ ]+[0-9a-f]+: aa[ ]+stos %al,(%es:)?\(%edi\) [ ]+[0-9a-f]+: aa[ ]+stos %al,(%es:)?\(%edi\) -[ ]+[0-9a-f]+: 2e d7[ ]+xlat %cs:\(%ebx\) -[ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) -[ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) -[ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) -[ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) -[ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) +[ ]+[0-9a-f]+: d7[ ]+xlatb? +(%ds:)?\(%ebx\) +[ ]+[0-9a-f]+: 67 d7[ ]+xlatb? +(%ds:)?\(%bx\) +[ ]+[0-9a-f]+: d7[ ]+xlatb? +(%ds:)?\(%ebx\) +[ ]+[0-9a-f]+: d7[ ]+xlatb? +(%ds:)?\(%ebx\) +[ ]+[0-9a-f]+: d7[ ]+xlatb? +(%ds:)?\(%ebx\) +[ ]+[0-9a-f]+: 2e d7[ ]+xlatb? +%cs:\(%ebx\) [0-9a-f]+ <.*start16>: [ ]+[0-9a-f]+: a6[ ]+cmpsb (%es:)?\(%edi\),(%ds:)?\(%esi\) @@ -63,12 +63,11 @@ Disassembly of section .text: [ ]+[0-9a-f]+: ae[ ]+scas (%es:)?\(%edi\),%al [ ]+[0-9a-f]+: aa[ ]+stos %al,(%es:)?\(%edi\) [ ]+[0-9a-f]+: aa[ ]+stos %al,(%es:)?\(%edi\) -[ ]+[0-9a-f]+: 2e d7[ ]+xlat %cs:\(%ebx\) -[ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) -[ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) [ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) +[ ]+[0-9a-f]+: 67 d7[ ]+xlat (%ds:)?\(%bx\) [ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) [ ]+[0-9a-f]+: d7[ ]+xlat (%ds:)?\(%ebx\) +[ ]+[0-9a-f]+: 2e d7[ ]+xlat %cs:\(%ebx\) [0-9a-f]+ <.*intel16>: [ ]+[0-9a-f]+: a6[ ]+cmpsb (%es:)?\(%edi\),(%ds:)?\(%esi\) diff --git a/gas/testsuite/gas/i386/string-ok.e b/gas/testsuite/gas/i386/string-ok.e index 95dc4d2a83d..8ff41152683 100644 --- a/gas/testsuite/gas/i386/string-ok.e +++ b/gas/testsuite/gas/i386/string-ok.e @@ -8,11 +8,6 @@ .*:22: Warning: .* .*:25: Warning: .* .*:28: Warning: .* -.*:31: Warning: .* -.*:32: Warning: .* -.*:33: Warning: .* -.*:34: Warning: .* -.*:35: Warning: .* .*:54: Warning: .* .*:54: Warning: .* @@ -23,8 +18,3 @@ .*:70: Warning: .* .*:73: Warning: .* .*:76: Warning: .* -.*:79: Warning: .* -.*:80: Warning: .* -.*:81: Warning: .* -.*:82: Warning: .* -.*:83: Warning: .* diff --git a/gas/testsuite/gas/i386/string-ok.s b/gas/testsuite/gas/i386/string-ok.s index c7217bca931..2745deacc9b 100644 --- a/gas/testsuite/gas/i386/string-ok.s +++ b/gas/testsuite/gas/i386/string-ok.s @@ -27,12 +27,12 @@ start32: stosb %es:(%edi) stosb (%esi) + xlat (%ebx) + xlat (%bx) + xlat %ds:(%ebx) + xlatb + xlatb (%ebx) xlatb %cs:(%ebx) - xlatb (%esi) - xlatb (,%ebx) - xlatb 1(%ebx) - xlatb x(%ebx) - xlatb 0 .code16 start16: @@ -75,12 +75,11 @@ intel32: stos byte ptr es:[edi] stos byte ptr [esi] + xlatb + xlat [bx] + xlat ds:[ebx] + xlat byte ptr [ebx] xlat byte ptr cs:[ebx] - xlat byte ptr [esi] - xlat byte ptr [%ebx*1] - xlat byte ptr [ebx+1] - xlat byte ptr x[ebx] - xlat byte ptr FLAT:0 .code16 intel16: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index f9454b31f4e..036a0c32e34 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2017-11-14 Jan Beulich + + * i386-opc.tbl (cmps, ins, lods, movs, outs, scas, scmp, slod, + smov, ssca, stos, ssto, xlat): Drop Disp*. + * i386-tbl.h: Re-generate. + 2017-11-13 Jan Beulich * i386-opc.tbl (fxsave64, fxrstor64, xsave64, xrstor64, diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index 5e81ac729db..131fa50024b 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -437,37 +437,37 @@ setg, 1, 0xf9f, 0x0, 2, Cpu386, Modrm|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, // String manipulation. cmps, 0, 0xa6, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -cmps, 2, 0xa6, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg, Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } +cmps, 2, 0xa6, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg, Byte|Word|Dword|Qword|Unspecified|BaseIndex } scmp, 0, 0xa6, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -scmp, 2, 0xa6, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg, Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } +scmp, 2, 0xa6, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg, Byte|Word|Dword|Qword|Unspecified|BaseIndex } ins, 0, 0x6c, None, 1, Cpu186, W|No_sSuf|No_qSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -ins, 2, 0x6c, None, 1, Cpu186, W|CheckRegSize|No_sSuf|No_qSuf|No_ldSuf|IsString|RepPrefixOk, { InOutPortReg, Byte|Word|Dword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg } +ins, 2, 0x6c, None, 1, Cpu186, W|CheckRegSize|No_sSuf|No_qSuf|No_ldSuf|IsString|RepPrefixOk, { InOutPortReg, Byte|Word|Dword|Unspecified|BaseIndex|EsSeg } outs, 0, 0x6e, None, 1, Cpu186, W|No_sSuf|No_qSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -outs, 2, 0x6e, None, 1, Cpu186, W|CheckRegSize|No_sSuf|No_qSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S, InOutPortReg } +outs, 2, 0x6e, None, 1, Cpu186, W|CheckRegSize|No_sSuf|No_qSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Unspecified|BaseIndex, InOutPortReg } lods, 0, 0xac, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -lods, 1, 0xac, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } -lods, 2, 0xac, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S, Acc|Byte|Word|Dword|Qword } +lods, 1, 0xac, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex } +lods, 2, 0xac, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex, Acc|Byte|Word|Dword|Qword } slod, 0, 0xac, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -slod, 1, 0xac, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } -slod, 2, 0xac, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S, Acc|Byte|Word|Dword|Qword } +slod, 1, 0xac, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex } +slod, 2, 0xac, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex, Acc|Byte|Word|Dword|Qword } movs, 0, 0xa4, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -movs, 2, 0xa4, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S, Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg } +movs, 2, 0xa4, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex, Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg } smov, 0, 0xa4, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -smov, 2, 0xa4, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S, Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg } +smov, 2, 0xa4, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex, Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg } scas, 0, 0xae, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -scas, 1, 0xae, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg } -scas, 2, 0xae, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg, Acc|Byte|Word|Dword|Qword } +scas, 1, 0xae, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg } +scas, 2, 0xae, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg, Acc|Byte|Word|Dword|Qword } ssca, 0, 0xae, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -ssca, 1, 0xae, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg } -ssca, 2, 0xae, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg, Acc|Byte|Word|Dword|Qword } +ssca, 1, 0xae, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg } +ssca, 2, 0xae, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg, Acc|Byte|Word|Dword|Qword } stos, 0, 0xaa, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -stos, 1, 0xaa, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg } -stos, 2, 0xaa, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Acc|Byte|Word|Dword|Qword, Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg } +stos, 1, 0xaa, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg } +stos, 2, 0xaa, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Acc|Byte|Word|Dword|Qword, Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg } ssto, 0, 0xaa, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { 0 } -ssto, 1, 0xaa, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg } -ssto, 2, 0xaa, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Acc|Byte|Word|Dword|Qword, Byte|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|EsSeg } +ssto, 1, 0xaa, None, 1, 0, W|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg } +ssto, 2, 0xaa, None, 1, 0, W|CheckRegSize|No_sSuf|No_ldSuf|IsString|RepPrefixOk, { Acc|Byte|Word|Dword|Qword, Byte|Word|Dword|Qword|Unspecified|BaseIndex|EsSeg } xlat, 0, 0xd7, None, 1, 0, No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|IsString, { 0 } -xlat, 1, 0xd7, None, 1, 0, No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|IsString, { Byte|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } +xlat, 1, 0xd7, None, 1, 0, No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|IsString, { Byte|Unspecified|BaseIndex } // Bit manipulation. bsf, 2, 0xfbc, None, 2, Cpu386, Modrm|CheckRegSize|No_bSuf|No_sSuf|No_ldSuf|RepPrefixOk, { Reg16|Reg32|Reg64|Word|Dword|Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S, Reg16|Reg32|Reg64 } diff --git a/opcodes/i386-tbl.h b/opcodes/i386-tbl.h index 70d94e30fa5..76440f4f789 100644 --- a/opcodes/i386-tbl.h +++ b/opcodes/i386-tbl.h @@ -4825,10 +4825,10 @@ const insn_template i386_optab[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 } } } }, { "scmp", 0, 0xa6, None, 1, { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -4856,10 +4856,10 @@ const insn_template i386_optab[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, @@ -5191,7 +5191,7 @@ const insn_template i386_optab[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 } } } }, { "stos", 2, 0xaa, None, 1, { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -5208,7 +5208,7 @@ const insn_template i386_optab[] = 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 } } } }, { "ssto", 0, 0xaa, None, 1, { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -5236,7 +5236,7 @@ const insn_template i386_optab[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { { { 0, 0, 0, 0,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