summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/nops.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/i386/nops.s')
-rw-r--r--gas/testsuite/gas/i386/nops.s71
1 files changed, 36 insertions, 35 deletions
diff --git a/gas/testsuite/gas/i386/nops.s b/gas/testsuite/gas/i386/nops.s
index df5396bc671..e953cebc4aa 100644
--- a/gas/testsuite/gas/i386/nops.s
+++ b/gas/testsuite/gas/i386/nops.s
@@ -1,48 +1,49 @@
.text
- .byte 0x0f, 0x1f, 0x0
- .byte 0x0f, 0x1f, 0x40, 0x0
- .byte 0x0f, 0x1f, 0x44, 0x0, 0x0
- .byte 0x66, 0x0f, 0x1f, 0x44, 0x0, 0x0
- .byte 0x0f, 0x1f, 0x80, 0x0, 0x0, 0x0, 0x0
- .byte 0x0f, 0x1f, 0x84, 0x0, 0x0, 0x0, 0x0, 0x0
- .byte 0x66, 0x0f, 0x1f, 0x84, 0x0, 0x0, 0x0, 0x0, 0x0
- .byte 0x66, 0x2e, 0x0f, 0x1f, 0x84, 0x0, 0x0, 0x0, 0x0, 0x0
+ .insn 0x0f1f/0, (%eax)
+ .insn {disp8} 0x0f1f/0, 0(%eax)
+ .insn {disp8} 0x0f1f/0, 0(%eax,%eax)
+ .insn {disp8} data16 0x0f1f/0, 0(%eax,%eax)
+ .insn {disp32} 0x0f1f/0, 0(%eax)
+ .insn {disp32} 0x0f1f/0, 0(%eax,%eax)
+ .insn {disp32} data16 0x0f1f/0, 0(%eax,%eax)
+ .insn {disp32} data16 0x0f1f/0, %cs:0(%eax,%eax)
# reg,reg
- .byte 0x0f, 0x19, 0xff
- .byte 0x0f, 0x1a, 0xff
- .byte 0x0f, 0x1b, 0xff
- .byte 0x0f, 0x1c, 0xff
- .byte 0x0f, 0x1d, 0xff
- .byte 0x0f, 0x1e, 0xff
- .byte 0x0f, 0x1f, 0xff
+ .insn 0x0f19, %edi, %edi
+ .insn 0x0f1a, %edi, %edi
+ .insn 0x0f1b, %edi, %edi
+ .insn 0x0f1c, %edi, %edi
+ .insn 0x0f1d, %edi, %edi
+ .insn 0x0f1e, %edi, %edi
+ .insn 0x0f1f, %edi, %edi
# with base and imm8
- .byte 0x0f, 0x19, 0x5A, 0x22
- .byte 0x0f, 0x1c, 0x5A, 0x22
- .byte 0x0f, 0x1d, 0x5A, 0x22
- .byte 0x0f, 0x1e, 0x5A, 0x22
- .byte 0x0f, 0x1f, 0x5A, 0x22
+ .insn 0x0f19/3, 0x22(%edx)
+ .insn 0x0f1c/3, 0x22(%edx)
+ .insn 0x0f1d/3, 0x22(%edx)
+ .insn 0x0f1e/3, 0x22(%edx)
+ .insn 0x0f1f/3, 0x22(%edx)
# with sib and imm32
- .byte 0x0f, 0x19, 0x9C, 0x1D, 0x11, 0x22, 0x33, 0x44
- .byte 0x0f, 0x1c, 0x9C, 0x1D, 0x11, 0x22, 0x33, 0x44
- .byte 0x0f, 0x1d, 0x9C, 0x1D, 0x11, 0x22, 0x33, 0x44
- .byte 0x0f, 0x1e, 0x9C, 0x1D, 0x11, 0x22, 0x33, 0x44
- .byte 0x0f, 0x1f, 0x9C, 0x1D, 0x11, 0x22, 0x33, 0x44
+ .insn 0x0f19/3, 0x44332211(%ebp,%ebx)
+ .insn 0x0f1c/3, 0x44332211(%ebp,%ebx)
+ .insn 0x0f1d/3, 0x44332211(%ebp,%ebx)
+ .insn 0x0f1e/3, 0x44332211(%ebp,%ebx)
+ .insn 0x0f1f/3, 0x44332211(%ebp,%ebx)
- .byte 0x0f, 0x19, 0x04, 0x60
- .byte 0x0f, 0x1c, 0x0c, 0x60
- .byte 0x0f, 0x1d, 0x04, 0x60
- .byte 0x0f, 0x1e, 0x04, 0x60
- .byte 0x0f, 0x1f, 0x04, 0x60
+ .allow_index_reg
+ .insn 0x0f19/0, (%eax,%eiz,2)
+ .insn 0x0f1c/1, (%eax,%eiz,2)
+ .insn 0x0f1d/0, (%eax,%eiz,2)
+ .insn 0x0f1e/0, (%eax,%eiz,2)
+ .insn 0x0f1f/0, (%eax,%eiz,2)
- .byte 0x0f, 0x19, 0x04, 0x59
- .byte 0x0f, 0x1c, 0x0c, 0x59
- .byte 0x0f, 0x1d, 0x04, 0x59
- .byte 0x0f, 0x1e, 0x04, 0x59
- .byte 0x0f, 0x1f, 0x04, 0x59
+ .insn 0x0f19/0, (%ecx,%ebx,2)
+ .insn 0x0f1c/1, (%ecx,%ebx,2)
+ .insn 0x0f1d/0, (%ecx,%ebx,2)
+ .insn 0x0f1e/0, (%ecx,%ebx,2)
+ .insn 0x0f1f/0, (%ecx,%ebx,2)
nop %eax
nop %ax