aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-tbl.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-03-29 12:06:09 +0200
committerJan Beulich <jbeulich@suse.com>2021-03-29 12:06:09 +0200
commitc8cad9d389b76d19449d9190122472fa465476e5 (patch)
treea681f1e1c8e2db9d78bcd94ee540479e12067423 /opcodes/i386-tbl.h
parent5cdaf100252746303a09e904b37aafea4153d12c (diff)
downloadfsf-binutils-gdb-c8cad9d389b76d19449d9190122472fa465476e5.zip
fsf-binutils-gdb-c8cad9d389b76d19449d9190122472fa465476e5.tar.gz
fsf-binutils-gdb-c8cad9d389b76d19449d9190122472fa465476e5.tar.bz2
x86: VPSADBW's source operands are also commutative
In commit 79dec6b7baa2 ("x86-64: optimize certain commutative VEX-encoded insns") I missed the fact that there being subtraction involved here doesn't matter, as absolute differences get summed up.
Diffstat (limited to 'opcodes/i386-tbl.h')
-rw-r--r--opcodes/i386-tbl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/i386-tbl.h b/opcodes/i386-tbl.h
index dfc4c66..0f5ea46 100644
--- a/opcodes/i386-tbl.h
+++ b/opcodes/i386-tbl.h
@@ -14578,7 +14578,7 @@ const insn_template i386_optab[] =
{ "psadbw", 0xf6, None, 2,
{ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
+ 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, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0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