2003-03-21 H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run nops-3.

	* gas/i386/nops-3.d: New file.
	* gas/i386/nops-3.s: Likewise.
This commit is contained in:
H.J. Lu 2007-03-21 19:33:06 +00:00
parent af1c101013
commit c0f91ba6d9
4 changed files with 57 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run nops-3.
* gas/i386/nops-3.d: New file.
* gas/i386/nops-3.s: Likewise.
2007-03-20 Mark Shinwell <shinwell@codesourcery.com>
* gas/arm/mul-overlap.s: Don't use %type.

View File

@ -83,6 +83,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
run_dump_test "nops-2"
run_dump_test "nops-2-i386"
run_dump_test "nops-2-merom"
run_dump_test "nops-3"
run_dump_test "addr16"
run_dump_test "addr32"

View File

@ -0,0 +1,43 @@
#source: nops-3.s
#objdump: -drw
#name: i386 nops 3
.*: +file format .*
Disassembly of section .text:
0+ <nop>:
[ ]*0:[ ]+90[ ]+nop[ ]*
[ ]*1:[ ]+90[ ]+nop[ ]*
[ ]*2:[ ]+90[ ]+nop[ ]*
[ ]*3:[ ]+90[ ]+nop[ ]*
[ ]*4:[ ]+90[ ]+nop[ ]*
[ ]*5:[ ]+90[ ]+nop[ ]*
[ ]*6:[ ]+90[ ]+nop[ ]*
[ ]*7:[ ]+90[ ]+nop[ ]*
[ ]*8:[ ]+90[ ]+nop[ ]*
[ ]*9:[ ]+90[ ]+nop[ ]*
[ ]*a:[ ]+90[ ]+nop[ ]*
[ ]*b:[ ]+90[ ]+nop[ ]*
[ ]*c:[ ]+90[ ]+nop[ ]*
[ ]*d:[ ]+90[ ]+nop[ ]*
[ ]*e:[ ]+90[ ]+nop[ ]*
[ ]*f:[ ]+90[ ]+nop[ ]*
[ ]*10:[ ]+90[ ]+nop[ ]*
[ ]*11:[ ]+90[ ]+nop[ ]*
[ ]*12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