From: Jan Beulich Date: Mon, 20 Mar 2023 15:57:19 +0000 (+0100) Subject: x86: drop "shimm" special case template expansions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f155099ad1e69a028c3585040c89fd0b77d6f25;p=binutils-gdb.git x86: drop "shimm" special case template expansions With VexVVVV only being boolean, the SSE shift-by-immediate instructions don't need special casing anymore for SSE2AVX handling. Simplify the two respective templates. (No change to generated tables.) --- diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index 16eef8c6038..9cc909925f4 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -974,14 +974,14 @@ pause, 0xf390, i186, NoSuf, {} // MMX/SSE2 instructions. - + - + , 0x0fe5, , Modrm||C|NoSuf, { |< pmullw, 0x0fd5, , Modrm||C|NoSuf, { ||Unspecified|BaseIndex, } por, 0x0feb, , Modrm||C|NoSuf, { ||Unspecified|BaseIndex, } psllw, 0x0ff1, , Modrm||NoSuf, { ||Unspecified|BaseIndex, } -psllw, 0x0f71/6, , Modrm||NoSuf, { Imm8, } +psllw, 0x0f71/6, , Modrm||NoSuf, { Imm8, } psll, 0x0ff2 | , , Modrm||NoSuf, { ||Unspecified|BaseIndex, } -psll, 0x0f72 | /6, , Modrm||NoSuf, { Imm8, } +psll, 0x0f72 | /6, , Modrm||NoSuf, { Imm8, } psraw, 0x0fe1, , Modrm||NoSuf, { ||Unspecified|BaseIndex, } -psraw, 0x0f71/4, , Modrm||NoSuf, { Imm8, } +psraw, 0x0f71/4, , Modrm||NoSuf, { Imm8, } psrad, 0x0fe2, , Modrm||NoSuf, { ||Unspecified|BaseIndex, } -psrad, 0x0f72/4, , Modrm||NoSuf, { Imm8, } +psrad, 0x0f72/4, , Modrm||NoSuf, { Imm8, } psrlw, 0x0fd1, , Modrm||NoSuf, { ||Unspecified|BaseIndex, } -psrlw, 0x0f71/2, , Modrm||NoSuf, { Imm8, } +psrlw, 0x0f71/2, , Modrm||NoSuf, { Imm8, } psrl, 0x0fd2 | , , Modrm||NoSuf, { ||Unspecified|BaseIndex, } -psrl, 0x0f72 | /2, , Modrm||NoSuf, { Imm8, } +psrl, 0x0f72 | /2, , Modrm||NoSuf, { Imm8, } psub, 0x0ff8 | , , Modrm||NoSuf, { ||Unspecified|BaseIndex, } psubd, 0x0ffa, , Modrm||NoSuf, { ||Unspecified|BaseIndex, } psubq, 0x660ffb, , Modrm|||NoSuf, { RegXMM|Unspecified|BaseIndex, RegXMM } @@ -1236,8 +1236,8 @@ pmuludq, 0xff4, SSE2, Modrm|NoSuf, { Qword|Unspecified|BaseIndex|RegMMX, RegMMX pshufd, 0x660f70, , Modrm||NoSuf, { Imm8|Imm8S, RegXMM|Unspecified|BaseIndex, RegXMM } pshufhw, 0xf30f70, , Modrm||NoSuf, { Imm8|Imm8S, RegXMM|Unspecified|BaseIndex, RegXMM } pshuflw, 0xf20f70, , Modrm||NoSuf, { Imm8|Imm8S, RegXMM|Unspecified|BaseIndex, RegXMM } -pslldq, 0x660f73/7, , Modrm||NoSuf, { Imm8, RegXMM } -psrldq, 0x660f73/3, , Modrm||NoSuf, { Imm8, RegXMM } +pslldq, 0x660f73/7, , Modrm|||NoSuf, { Imm8, RegXMM } +psrldq, 0x660f73/3, , Modrm|||NoSuf, { Imm8, RegXMM } punpckhqdq, 0x660f6d, , Modrm|||NoSuf, { RegXMM|Unspecified|BaseIndex, RegXMM } punpcklqdq, 0x660f6c, , Modrm|||NoSuf, { RegXMM|Unspecified|BaseIndex, RegXMM }