X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fstring-ok.d;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fstring-ok.d;h=80e0b67b7a40b2d444736d43d7622ad419a4f71e;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/string-ok.d b/gas/testsuite/gas/i386/string-ok.d new file mode 100644 index 0000000..80e0b67 --- /dev/null +++ b/gas/testsuite/gas/i386/string-ok.d @@ -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