aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-07-15 06:49:45 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-07-15 07:18:49 -0700
commitae310391c7d68c50778b3dad73678ee8f972f1f1 (patch)
tree57fa62acece30c532b7b5b9dc7cd897144853832 /gas/testsuite/gas/i386/evex-no-scale-64.d
parentx86-64: Zero-extend lower 32 bits displacement to 64 bits (diff)
downloadbinutils-gdb-ae310391c7d68c50778b3dad73678ee8f972f1f1.tar.gz
binutils-gdb-ae310391c7d68c50778b3dad73678ee8f972f1f1.tar.bz2
binutils-gdb-ae310391c7d68c50778b3dad73678ee8f972f1f1.zip
x86: Don't display eiz with no scale
Change 67 48 8b 1c 25 ef cd ab 89 mov 0x89abcdef(,%eiz,1),%rbx to 67 48 8b 1c 25 ef cd ab 89 mov 0x89abcdef,%rbx in AT&T syntax and 67 48 8b 1c 25 ef cd ab 89 mov rbx,QWORD PTR [eiz*1+0x89abcdef] to 67 48 8b 1c 25 ef cd ab 89 mov rbx,QWORD PTR ds:0x89abcdef in Intel syntax. gas/ PR gas/26237 * testsuite/gas/i386/evex-no-scale-64.d: Updated. * testsuite/gas/i386/addr32.d: Likewise. * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise. * testsuite/gas/i386/x86-64-addr32.d: Likewise. opcodes/ PR gas/26237 * i386-dis.c (OP_E_memory): Don't display eiz with no scale without base nor index registers. (cherry picked from commit 04c662e2b66bedd050f97adec19afe0fcfce9ea7)
Diffstat (limited to 'gas/testsuite/gas/i386/evex-no-scale-64.d')
-rw-r--r--gas/testsuite/gas/i386/evex-no-scale-64.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/testsuite/gas/i386/evex-no-scale-64.d b/gas/testsuite/gas/i386/evex-no-scale-64.d
index 33623656eef..6c9f68faf23 100644
--- a/gas/testsuite/gas/i386/evex-no-scale-64.d
+++ b/gas/testsuite/gas/i386/evex-no-scale-64.d
@@ -10,5 +10,5 @@ Disassembly of section .text:
+[a-f0-9]+: 62 f1 7c 48 28 04 05 40 00 00 00 vmovaps 0x40\(,%rax,1\),%zmm0
+[a-f0-9]+: 62 f1 7c 48 28 04 25 40 00 00 00 vmovaps 0x40,%zmm0
+[a-f0-9]+: 67 62 f1 7c 48 28 04 05 40 00 00 00 vmovaps 0x40\(,%eax,1\),%zmm0
- +[a-f0-9]+: 67 62 f1 7c 48 28 04 25 40 00 00 00 vmovaps 0x40\(,%eiz,1\),%zmm0
+ +[a-f0-9]+: 67 62 f1 7c 48 28 04 25 40 00 00 00 vmovaps 0x40,%zmm0
+[a-f0-9]+: 62 f1 7c 48 28 04 25 40 00 00 00 vmovaps 0x40,%zmm0