]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/i386/string-ok.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / i386 / string-ok.d
diff --git a/gas/testsuite/gas/i386/string-ok.d b/gas/testsuite/gas/i386/string-ok.d
new file mode 100644 (file)
index 0000000..80e0b67
--- /dev/null
@@ -0,0 +1,80 @@
+#as: -J
+#objdump: -dw -mi386
+#name: string insn operands
+#stderr: string-ok.e
+.*: +file format .*
+
+Disassembly of section .text:
+
+0+ <.*start32>:
+[      ]+[0-9a-f]+:    2e a6[  ]+cmpsb  (%es:)?\(%edi\),%cs:\(%esi\)
+[      ]+[0-9a-f]+:    a6[     ]+cmpsb  (%es:)?\(%edi\),(%ds:)?\(%esi\)
+[      ]+[0-9a-f]+:    67 a6[  ]+(addr16 )?cmpsb (%es:)?\(%di\),(%ds:)?\(%si\)
+[      ]+[0-9a-f]+:    a6[     ]+cmpsb  (%es:)?\(%edi\),(%ds:)?\(%esi\)
+[      ]+[0-9a-f]+:    6c[     ]+insb   \(%dx\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    6c[     ]+insb   \(%dx\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    2e ac[  ]+lods   %cs:\(%esi\),%al
+[      ]+[0-9a-f]+:    ac[     ]+lods   (%ds:)?\(%esi\),%al
+[      ]+[0-9a-f]+:    2e a4[  ]+movsb  %cs:\(%esi\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    a4[     ]+movsb  (%ds:)?\(%esi\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    67 a4[  ]+(addr16 )?movsb (%ds:)?\(%si\),(%es:)?\(%di\)
+[      ]+[0-9a-f]+:    a4[     ]+movsb  (%ds:)?\(%esi\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    a4[     ]+movsb  (%ds:)?\(%esi\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    2e 6e[  ]+outsb  %cs:\(%esi\),\(%dx\)
+[      ]+[0-9a-f]+:    6e[     ]+outsb  (%ds:)?\(%esi\),\(%dx\)
+[      ]+[0-9a-f]+:    ae[     ]+scas   (%es:)?\(%edi\),%al
+[      ]+[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]+ <.*start16>:
+[      ]+[0-9a-f]+:    a6[     ]+cmpsb  (%es:)?\(%edi\),(%ds:)?\(%esi\)
+[      ]+[0-9a-f]+:    67 a4[  ]+(addr16 )?movsb (%ds:)?\(%si\),(%es:)?\(%di\)
+
+[0-9a-f]+ <.*start64>:
+[      ]+[0-9a-f]+:    a6[     ]+cmpsb  (%es:)?\(%edi\),(%ds:)?\(%esi\)
+[      ]+[0-9a-f]+:    67 a4[  ]+(addr16 )?movsb (%ds:)?\(%si\),(%es:)?\(%di\)
+
+[0-9a-f]+ <.*intel32>:
+[      ]+[0-9a-f]+:    2e a6[  ]+cmpsb  (%es:)?\(%edi\),%cs:\(%esi\)
+[      ]+[0-9a-f]+:    a6[     ]+cmpsb  (%es:)?\(%edi\),(%ds:)?\(%esi\)
+[      ]+[0-9a-f]+:    a6[     ]+cmpsb  (%es:)?\(%edi\),(%ds:)?\(%esi\)
+[      ]+[0-9a-f]+:    67 a6[  ]+(addr16 )?cmpsb (%es:)?\(%di\),(%ds:)?\(%si\)
+[      ]+[0-9a-f]+:    a6[     ]+cmpsb  (%es:)?\(%edi\),(%ds:)?\(%esi\)
+[      ]+[0-9a-f]+:    6c[     ]+insb   \(%dx\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    6c[     ]+insb   \(%dx\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    2e ac[  ]+lods   %cs:\(%esi\),%al
+[      ]+[0-9a-f]+:    ac[     ]+lods   (%ds:)?\(%esi\),%al
+[      ]+[0-9a-f]+:    2e a4[  ]+movsb  %cs:\(%esi\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    a4[     ]+movsb  (%ds:)?\(%esi\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    a4[     ]+movsb  (%ds:)?\(%esi\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    67 a4[  ]+(addr16 )?movsb (%ds:)?\(%si\),(%es:)?\(%di\)
+[      ]+[0-9a-f]+:    a4[     ]+movsb  (%ds:)?\(%esi\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    a4[     ]+movsb  (%ds:)?\(%esi\),(%es:)?\(%edi\)
+[      ]+[0-9a-f]+:    2e 6e[  ]+outsb  %cs:\(%esi\),\(%dx\)
+[      ]+[0-9a-f]+:    6e[     ]+outsb  (%ds:)?\(%esi\),\(%dx\)
+[      ]+[0-9a-f]+:    ae[     ]+scas   (%es:)?\(%edi\),%al
+[      ]+[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]+ <.*intel16>:
+[      ]+[0-9a-f]+:    a6[     ]+cmpsb  (%es:)?\(%edi\),(%ds:)?\(%esi\)
+[      ]+[0-9a-f]+:    67 a4[  ]+(addr16 )?movsb (%ds:)?\(%si\),(%es:)?\(%di\)
+
+[0-9a-f]+ <.*intel64>:
+[      ]+[0-9a-f]+:    a6[     ]+cmpsb  (%es:)?\(%edi\),(%ds:)?\(%esi\)
+[      ]+[0-9a-f]+:    67 a4[  ]+(addr16 )?movsb (%ds:)?\(%si\),(%es:)?\(%di\)
+#pass