Mon Jul 13 18:15:11 1998 Alan Modra <alan@spri.levels.unisa.edu.au>

* gas/i386/*: All new i386 testsuite.
This commit is contained in:
Ian Lance Taylor 1998-07-13 22:33:46 +00:00
parent d93487087f
commit 7faae6fb08
21 changed files with 5022 additions and 41 deletions

View File

@ -1,8 +1,6 @@
# Sanitize.in for devo.
# $Id$
#
# .Sanitize for devo/gas/testsuite/gas/i386
# Each directory to survive it's way into a release will need a file
# Each directory to survive its way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
# and must exist in the order specified by this file. Each directory
# in the tree will be processed, top down, in the following order.
@ -13,26 +11,45 @@
# The lines between the "Do-first:" line and the "Things-to-keep:"
# line are executed as a /bin/sh shell script before anything else is
# done in this
# done in this directory.
Do-first:
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# "Do-last:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
# called. Directories not listed will be removed in their entirety
# with rm -rf.
Things-to-keep:
all.exp
inout.s
pushw.l
pushw.s
float.l
float.s
general.l
general.s
i386.exp
inval.l
inval.s
modrm.l
modrm.s
opcode.d
opcode.s
prefix.d
prefix.s
reloc.d
reloc.s
white.l
white.s
Things-to-lose:
# The lines between the "Do-last:" line and the end of the file
# are executed as a /bin/sh shell script after everything else is
# done.
Do-last:
# End of file.
# eof

View File

@ -1,12 +0,0 @@
if [istarget i386-*] then {
gas_test "inout.s" "" $stdoptlist "various in/out syntaxes"
if [gas_test_old "pushw.s" "-al > pushw.list" "pushw (assembly)"] then {
set testname "pushw (correctness)"
if { [regexp_diff "pushw.list" "$srcdir/$subdir/pushw.l"] == 0 } {
pass $testname
} else {
fail $testname
}
}
}

View File

@ -0,0 +1,81 @@
.*: Assembler messages:
.*:3: Warning:.*faddp.*
.*:14: Warning:.*fsubp.*
.*:25: Warning:.*fsubrp.*
.*:36: Warning:.*fmulp.*
.*:47: Warning:.*fdivp.*
.*:58: Warning:.*fdivrp.*
1 [ ]*.psize 0
2 [ ]*.text
3 0000 DEC1 [ ]*fadd
.*Warning:.*faddp.*
4 0002 D8C3 [ ]*fadd %st\(3\)
5 0004 D8C3 [ ]*fadd %st\(3\),%st
6 0006 DCC3 [ ]*fadd %st,%st\(3\)
7 0008 D803 [ ]*fadds \(%ebx\)
8 000a DC03 [ ]*faddl \(%ebx\)
9 000c DE03 [ ]*fiadds \(%ebx\)
10 000e DA03 [ ]*fiaddl \(%ebx\)
11 0010 DEC1 [ ]*faddp
12 0012 DEC3 [ ]*faddp %st\(3\)
13 0014 DEC3 [ ]*faddp %st,%st\(3\)
14 0016 DEE1 [ ]*fsub
.*Warning:.*fsubp.*
15 0018 D8E3 [ ]*fsub %st\(3\)
16 001a D8E3 [ ]*fsub %st\(3\),%st
17 001c DCE3 [ ]*fsub %st,%st\(3\)
18 001e D823 [ ]*fsubs \(%ebx\)
19 0020 DC23 [ ]*fsubl \(%ebx\)
20 0022 DE23 [ ]*fisubs \(%ebx\)
21 0024 DA23 [ ]*fisubl \(%ebx\)
22 0026 DEE1 [ ]*fsubp
23 0028 DEE3 [ ]*fsubp %st\(3\)
24 002a DEE3 [ ]*fsubp %st,%st\(3\)
25 002c DEE9 [ ]*fsubr
.*Warning:.*fsubrp.*
26 002e D8EB [ ]*fsubr %st\(3\)
27 0030 D8EB [ ]*fsubr %st\(3\),%st
28 0032 DCEB [ ]*fsubr %st,%st\(3\)
29 0034 D82B [ ]*fsubrs \(%ebx\)
30 0036 DC2B [ ]*fsubrl \(%ebx\)
31 0038 DE2B [ ]*fisubrs \(%ebx\)
32 003a DA2B [ ]*fisubrl \(%ebx\)
33 003c DEE9 [ ]*fsubrp
34 003e DEEB [ ]*fsubrp %st\(3\)
35 0040 DEEB [ ]*fsubrp %st,%st\(3\)
36 0042 DEC9 [ ]*fmul
.*Warning:.*fmulp.*
37 0044 D8CB [ ]*fmul %st\(3\)
38 0046 D8CB [ ]*fmul %st\(3\),%st
39 0048 DCCB [ ]*fmul %st,%st\(3\)
40 004a D80B [ ]*fmuls \(%ebx\)
41 004c DC0B [ ]*fmull \(%ebx\)
42 004e DE0B [ ]*fimuls \(%ebx\)
43 0050 DA0B [ ]*fimull \(%ebx\)
44 0052 DEC9 [ ]*fmulp
45 0054 DECB [ ]*fmulp %st\(3\)
46 0056 DECB [ ]*fmulp %st,%st\(3\)
47 0058 DEF1 [ ]*fdiv
.*Warning:.*fdivp.*
48 005a D8F3 [ ]*fdiv %st\(3\)
49 005c D8F3 [ ]*fdiv %st\(3\),%st
50 005e DCF3 [ ]*fdiv %st,%st\(3\)
51 0060 D833 [ ]*fdivs \(%ebx\)
52 0062 DC33 [ ]*fdivl \(%ebx\)
53 0064 DE33 [ ]*fidivs \(%ebx\)
54 0066 DA33 [ ]*fidivl \(%ebx\)
55 0068 DEF1 [ ]*fdivp
56 006a DEF3 [ ]*fdivp %st\(3\)
57 006c DEF3 [ ]*fdivp %st,%st\(3\)
58 006e DEF9 [ ]*fdivr
.*Warning:.*fdivrp.*
59 0070 D8FB [ ]*fdivr %st\(3\)
60 0072 D8FB [ ]*fdivr %st\(3\),%st
61 0074 DCFB [ ]*fdivr %st,%st\(3\)
62 0076 D83B [ ]*fdivrs \(%ebx\)
63 0078 DC3B [ ]*fdivrl \(%ebx\)
64 007a DE3B [ ]*fidivrs \(%ebx\)
65 007c DA3B [ ]*fidivrl \(%ebx\)
66 007e DEF9 [ ]*fdivrp
67 0080 DEFB [ ]*fdivrp %st\(3\)
68 0082 DEFB [ ]*fdivrp %st,%st\(3\)

View File

@ -0,0 +1,68 @@
.psize 0
.text
fadd
fadd %st(3)
fadd %st(3),%st
fadd %st,%st(3)
fadds (%ebx)
faddl (%ebx)
fiadds (%ebx)
fiaddl (%ebx)
faddp
faddp %st(3)
faddp %st,%st(3)
fsub
fsub %st(3)
fsub %st(3),%st
fsub %st,%st(3)
fsubs (%ebx)
fsubl (%ebx)
fisubs (%ebx)
fisubl (%ebx)
fsubp
fsubp %st(3)
fsubp %st,%st(3)
fsubr
fsubr %st(3)
fsubr %st(3),%st
fsubr %st,%st(3)
fsubrs (%ebx)
fsubrl (%ebx)
fisubrs (%ebx)
fisubrl (%ebx)
fsubrp
fsubrp %st(3)
fsubrp %st,%st(3)
fmul
fmul %st(3)
fmul %st(3),%st
fmul %st,%st(3)
fmuls (%ebx)
fmull (%ebx)
fimuls (%ebx)
fimull (%ebx)
fmulp
fmulp %st(3)
fmulp %st,%st(3)
fdiv
fdiv %st(3)
fdiv %st(3),%st
fdiv %st,%st(3)
fdivs (%ebx)
fdivl (%ebx)
fidivs (%ebx)
fidivl (%ebx)
fdivp
fdivp %st(3)
fdivp %st,%st(3)
fdivr
fdivr %st(3)
fdivr %st(3),%st
fdivr %st,%st(3)
fdivrs (%ebx)
fdivrl (%ebx)
fidivrs (%ebx)
fidivrl (%ebx)
fdivrp
fdivrp %st(3)
fdivrp %st,%st(3)

View File

@ -0,0 +1,203 @@
.*: Assembler messages:
.*:10: Warning:.*
.*:12: Warning:.*
.*:19: Warning:.*
.*:22: Warning:.*
.*:81: Warning:.*
.*:82: Warning:.*
.*:83: Warning:.*
.*:84: Warning:.*
.*:85: Warning:.*
.*:86: Warning:.*
.*:87: Warning:.*
.*:88: Warning:.*
.*:89: Warning:.*
.*:90: Warning:.*
.*:91: Warning:.*
.*:92: Warning:.*
.*:93: Warning:.*
.*:94: Warning:.*
.*:95: Warning:.*
.*:96: Warning:.*
.*:97: Warning:.*
.*:98: Warning:.*
.*:99: Warning:.*
.*:100: Warning:.*
.*:101: Warning:.*
.*:135: Warning:.*
1 .psize 0
2 .text
3 # test various segment reg insns
4 0000 1E push %ds
5 0001 1E pushl %ds
6 0002 1F pop %ds
7 0003 1F popl %ds
8 0004 8CD8 mov %ds,%eax
9 0006 8CD8 movl %ds,%eax
10 0008 8CD8 movl %ds,%ax
.*Warning:.*
11 000a 8ED8 mov %eax,%ds
12 000c 8ED8 movl %ax,%ds
.*Warning:.*
13 000e 8ED8 movl %eax,%ds
14
15 0010 661E pushw %ds
16 0012 661F popw %ds
17 0014 668CD8 mov %ds,%ax
18 0017 668CD8 movw %ds,%ax
19 001a 668CD8 movw %ds,%eax
.*Warning:.*
20 001d 8ED8 mov %ax,%ds
21 001f 8ED8 movw %ax,%ds
22 0021 8ED8 movw %eax,%ds
.*Warning:.*
23
24 # test various pushes
25 0023 6A0A pushl \$10
26 0025 666A0A pushw \$10
27 0028 6A0A push \$10
28 002a 68E80300 00 pushl \$1000
29 002f 6668E803 pushw \$1000
30 0033 68E80300 00 push \$1000
31 0038 FF355700 0000 pushl 1f
32 003e 66FF3557 000000 pushw 1f
33 0045 FF355700 0000 push 1f
34 004b FFB30C00 0000 push \(1f-.\)\(%ebx\)
35 0051 FF350600 0000 push 1f-.
36 # these, and others like them should have no operand size prefix
37 0057 0F00D1 1: lldt %cx
38 005a 0F01F0 lmsw %ax
39
40 # Just to make sure these don't become illegal due to over-enthusiastic
41 # register checking
42 005d 660FBEF8 movsbw %al,%di
43 0061 0FBEC8 movsbl %al,%ecx
44 0064 0FBFC8 movswl %ax,%ecx
45 0067 660FB6F8 movzbw %al,%di
46 006b 0FB6C8 movzbl %al,%ecx
47 006e 0FB7C8 movzwl %ax,%ecx
48
49 0071 EC in %dx,%al
50 0072 66ED in %dx,%ax
51 0074 ED in %dx,%eax
52 0075 EC in \(%dx\),%al
53 0076 66ED in \(%dx\),%ax
54 0078 ED in \(%dx\),%eax
55 0079 EC inb %dx,%al
56 007a 66ED inw %dx,%ax
57 007c ED inl %dx,%eax
58 007d EC inb %dx
59 007e 66ED inw %dx
60 0080 ED inl %dx
61 0081 E4FF inb \$255
62 0083 66E502 inw \$2
63 0086 E504 inl \$4
64 0088 EF outl %eax,%dx
65 0089 E62A out %al, \$42
66 008b 66E50D in \$13, %ax
67 # These are used in AIX.
68 008e 66ED inw \(%dx\)
69 0090 66EF outw \(%dx\)
70
71 0092 A4 movsb
72 0093 66A7 cmpsw
73 0095 AF scasl
74 0096 D7 xlatb
75 0097 2EA5 movsl %cs:\(%esi\),%es:\(%edi\)
76 0099 0F9303 setae \(%ebx\)
77 009c 0F9303 setaeb \(%ebx\)
78 009f 0F93C0 setae %al
79
80 #these should give warnings
81 00a2 0C01 orb \$1,%ax
.*Warning:.*
82 00a4 0C01 orb \$1,%eax
.*Warning:.*
83 00a6 80CB01 orb \$1,%bx
.*Warning:.*
84 00a9 80CB01 orb \$1,%ebx
.*Warning:.*
85 00ac D9C1 fldl %st\(1\)
.*Warning:.*
86 00ae DDD2 fstl %st\(2\)
.*Warning:.*
87 00b0 DDDB fstpl %st\(3\)
.*Warning:.*
88 00b2 D8D4 fcoml %st\(4\)
.*Warning:.*
89 00b4 D8DD fcompl %st\(5\)
.*Warning:.*
90 00b6 DEC1 faddp %st\(1\),%st
.*Warning:.*
91 00b8 DECA fmulp %st\(2\),%st
.*Warning:.*
92 00ba DEE3 fsubp %st\(3\),%st
.*Warning:.*
93 00bc DEEC fsubrp %st\(4\),%st
.*Warning:.*
94 00be DEF5 fdivp %st\(5\),%st
.*Warning:.*
95 00c0 DEFE fdivrp %st\(6\),%st
.*Warning:.*
96 00c2 DEC1 fadd
.*Warning:.*
97 00c4 DEE1 fsub
.*Warning:.*
98 00c6 DEC9 fmul
.*Warning:.*
99 00c8 DEF1 fdiv
.*Warning:.*
100 00ca DEE9 fsubr
.*Warning:.*
101 00cc DEF9 fdivr
.*Warning:.*
102 #these should all be legal
103 00ce 0FA31556 341200 btl %edx, 0x123456
104 00d5 0FA3D0 btl %edx, %eax
105 00d8 0C01 orb \$1,%al
106 00da 80CB01 orb \$1,%bl
107 00dd A1110000 00 movl 17,%eax
108 00e2 A1110000 00 mov 17,%eax
109 00e7 66ED inw %dx,%ax
110 00e9 ED inl %dx,%eax
111 00ea 66ED inw \(%dx\),%ax
112 00ec ED inl \(%dx\),%eax
113 00ed EC in \(%dx\),%al
114 00ee 66ED in \(%dx\),%ax
115 00f0 ED in \(%dx\),%eax
116 00f1 0FB61437 movzbl \(%edi,%esi\),%edx
117 00f5 0FB6451C movzbl 28\(%ebp\),%eax
118 00f9 0FB6C0 movzbl %al,%eax
119 00fc 0FB6F1 movzbl %cl,%esi
120 00ff 26D7 xlat %es:\(%ebx\)
121 0101 D7 xlat
122 0102 D7 xlatb
123 0103 DDD8 1: fstp %st\(0\)
124 0105 E2FC loop 1b
125 0107 F6F1 divb %cl
126 0109 66F7F1 divw %cx
127 010c F7F1 divl %ecx
128 010e F6F1 div %cl
129 0110 66F7F1 div %cx
130 0113 F7F1 div %ecx
131 0115 F6F1 div %cl,%al
132 0117 66F7F1 div %cx,%ax
133 011a F7F1 div %ecx,%eax
134 011c 8EDE mov %si,%ds
135 011e 8EDE movl %si,%ds # warning here
.*Warning:.*
136 0120 1E pushl %ds
137 0121 1E push %ds
138 0122 A0000000 00 mov 0,%al
139 0127 66A10000 0100 mov 0x10000,%ax
140 012d 89C3 mov %eax,%ebx
141 012f 9C pushf
142 0130 9C pushfl
143 0131 669C pushfw
144 0133 9D popf
145 0134 9D popfl
146 0135 669D popfw
147 0137 89341D00 000000 mov %esi,\(,%ebx,1\)
148
149 # Force a good alignment.
150 013e 0000 .word 0

View File

@ -0,0 +1,150 @@
.psize 0
.text
# test various segment reg insns
push %ds
pushl %ds
pop %ds
popl %ds
mov %ds,%eax
movl %ds,%eax
movl %ds,%ax
mov %eax,%ds
movl %ax,%ds
movl %eax,%ds
pushw %ds
popw %ds
mov %ds,%ax
movw %ds,%ax
movw %ds,%eax
mov %ax,%ds
movw %ax,%ds
movw %eax,%ds
# test various pushes
pushl $10
pushw $10
push $10
pushl $1000
pushw $1000
push $1000
pushl 1f
pushw 1f
push 1f
push (1f-.)(%ebx)
push 1f-.
# these, and others like them should have no operand size prefix
1: lldt %cx
lmsw %ax
# Just to make sure these don't become illegal due to over-enthusiastic
# register checking
movsbw %al,%di
movsbl %al,%ecx
movswl %ax,%ecx
movzbw %al,%di
movzbl %al,%ecx
movzwl %ax,%ecx
in %dx,%al
in %dx,%ax
in %dx,%eax
in (%dx),%al
in (%dx),%ax
in (%dx),%eax
inb %dx,%al
inw %dx,%ax
inl %dx,%eax
inb %dx
inw %dx
inl %dx
inb $255
inw $2
inl $4
outl %eax,%dx
out %al, $42
in $13, %ax
# These are used in AIX.
inw (%dx)
outw (%dx)
movsb
cmpsw
scasl
xlatb
movsl %cs:(%esi),%es:(%edi)
setae (%ebx)
setaeb (%ebx)
setae %al
#these should give warnings
orb $1,%ax
orb $1,%eax
orb $1,%bx
orb $1,%ebx
fldl %st(1)
fstl %st(2)
fstpl %st(3)
fcoml %st(4)
fcompl %st(5)
faddp %st(1),%st
fmulp %st(2),%st
fsubp %st(3),%st
fsubrp %st(4),%st
fdivp %st(5),%st
fdivrp %st(6),%st
fadd
fsub
fmul
fdiv
fsubr
fdivr
#these should all be legal
btl %edx, 0x123456
btl %edx, %eax
orb $1,%al
orb $1,%bl
movl 17,%eax
mov 17,%eax
inw %dx,%ax
inl %dx,%eax
inw (%dx),%ax
inl (%dx),%eax
in (%dx),%al
in (%dx),%ax
in (%dx),%eax
movzbl (%edi,%esi),%edx
movzbl 28(%ebp),%eax
movzbl %al,%eax
movzbl %cl,%esi
xlat %es:(%ebx)
xlat
xlatb
1: fstp %st(0)
loop 1b
divb %cl
divw %cx
divl %ecx
div %cl
div %cx
div %ecx
div %cl,%al
div %cx,%ax
div %ecx,%eax
mov %si,%ds
movl %si,%ds # warning here
pushl %ds
push %ds
mov 0,%al
mov 0x10000,%ax
mov %eax,%ebx
pushf
pushfl
pushfw
popf
popfl
popfw
mov %esi,(,%ebx,1)
# Force a good alignment.
.word 0

View File

@ -0,0 +1,33 @@
#
# i386 tests
#
proc run_list_test { name opts } {
global srcdir subdir
set testname "i386 $name"
set file $srcdir/$subdir/$name
gas_run ${name}.s $opts ">&dump.out"
if { [regexp_diff "dump.out" "${file}.l"] } then {
fail $testname
verbose "output is [file_contents "dump.out"]" 2
return
}
pass $testname
}
if [istarget "i*86-*-*"] then {
run_list_test "float" "-al"
run_list_test "general" "-al --listing-lhs-width=2"
run_list_test "inval" "-al"
run_list_test "modrm" "-al --listing-lhs-width=2"
run_dump_test "opcode"
run_dump_test "prefix"
# The reloc and white tests require support for 8 and 16 bit
# relocs, so we only run them for ELF targets.
if {[istarget "*-*-elf*"] || [istarget "*-*-linux*"]} then {
run_dump_test "reloc"
run_list_test "white" "-al --listing-lhs-width=3"
}
}

View File

@ -1,11 +0,0 @@
# Various syntaxes
inb %dx
outl %eax,%dx
# For these two, fix up the test case to check what modes are used -- they
# should be using outb and inw. Currently the assembler is getting them
# both wrong.
out %al, $42
in $13, %ax
# These are used in AIX.
inw (%dx)
outw (%dx)

View File

@ -0,0 +1,98 @@
.*: Assembler messages:
.*:3: Error: .*
.*:4: Error: .*
.*:5: Error: .*
.*:6: Error: .*
.*:7: Error: .*
.*:8: Error: .*
.*:9: Error: .*
.*:10: Error: .*
.*:11: Error: .*
.*:12: Error: .*
.*:13: Error: .*
.*:14: Error: .*
.*:15: Error: .*
.*:16: Error: .*
.*:17: Error: .*
.*:18: Error: .*
.*:19: Error: .*
.*:20: Error: .*
.*:21: Error: .*
.*:22: Error: .*
.*:23: Error: .*
.*:24: Error: .*
.*:25: Error: .*
.*:26: Error: .*
.*:27: Error: .*
.*:28: Error: .*
.*:29: Error: .*
.*:30: Error: .*
.*:31: Error: .*
.*:32: Error: .*
.*:33: Error: .*
.*:34: Error: .*
.*:35: Error: .*
.*:36: Error: .*
.*:37: Error: .*
.*:38: Error: .*
.*:39: Error: .*
.*:40: Error: .*
.*:41: Error: .*
.*:42: Error: .*
.*:43: Error: .*
.*:44: Error: .*
.*:45: Error: .*
.*:46: Error: .*
.*:47: Error: .*
.*:48: Error: .*
GAS LISTING .*
1 [ ]* .text
2 [ ]*# All the following should be illegal
3 [ ]* mov \(%dx\),%al
4 [ ]* mov \(%eax,%esp,2\),%al
5 [ ]* setae %eax
6 [ ]* pushb %ds
7 [ ]* popb %ds
8 [ ]* pushb %al
9 [ ]* popb %al
10 [ ]* pushb %ah
11 [ ]* popb %ah
12 [ ]* pushb %ax
13 [ ]* popb %ax
14 [ ]* pushb %eax
15 [ ]* popb %eax
16 [ ]* movb %ds,%ax
17 [ ]* movb %ds,%eax
18 [ ]* movb %ax,%ds
19 [ ]* movb %eax,%ds
20 [ ]* movdb %eax,%mm0
21 [ ]* movqb 0,%mm0
22 [ ]* ldsb 0,%eax
23 [ ]* setnew 0
24 [ ]* movdw %eax,%mm0
25 [ ]* movqw 0,%mm0
26 [ ]* div %cx,%al
27 [ ]* div %cl,%ax
28 [ ]* div %ecx,%al
29 [ ]* imul 10,%bx,%ecx
30 [ ]* imul 10,%bx,%al
31 [ ]* popab
32 [ ]* stil
33 [ ]* aaab
34 [ ]* cwdel
35 [ ]* cwdw
36 [ ]* callww 0
37 [ ]*foo: jaw foo
38 [ ]* jcxzw foo
39 [ ]* jecxzl foo
40 [ ]* loopb foo
41 [ ]* xlatw %es:%bx
42 [ ]* xlatl %es:%bx
43 [ ]* intl 2
44 [ ]* int3b
45 [ ]* hltb
46 [ ]* fstb %st\(0\)
47 [ ]* fcompll 28\(%ebp\)
48 [ ]* fldlw \(%eax\)

View File

@ -0,0 +1,48 @@
.text
# All the following should be illegal
mov (%dx),%al
mov (%eax,%esp,2),%al
setae %eax
pushb %ds
popb %ds
pushb %al
popb %al
pushb %ah
popb %ah
pushb %ax
popb %ax
pushb %eax
popb %eax
movb %ds,%ax
movb %ds,%eax
movb %ax,%ds
movb %eax,%ds
movdb %eax,%mm0
movqb 0,%mm0
ldsb 0,%eax
setnew 0
movdw %eax,%mm0
movqw 0,%mm0
div %cx,%al
div %cl,%ax
div %ecx,%al
imul 10,%bx,%ecx
imul 10,%bx,%al
popab
stil
aaab
cwdel
cwdw
callww 0
foo: jaw foo
jcxzw foo
jecxzl foo
loopb foo
xlatw %es:%bx
xlatl %es:%bx
intl 2
int3b
hltb
fstb %st(0)
fcompll 28(%ebp)
fldlw (%eax)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,574 @@
#as: -J
#objdump: -dw
#name: i386 opcode
.*: +file format .*
Disassembly of section .text:
0+000 <foo>:
0: 00 90 90 90 90 90 [ ]*add %dl,0x90909090\(%eax\)
6: 01 90 90 90 90 90 [ ]*add %edx,0x90909090\(%eax\)
c: 02 90 90 90 90 90 [ ]*add 0x90909090\(%eax\),%dl
12: 03 90 90 90 90 90 [ ]*add 0x90909090\(%eax\),%edx
18: 04 90 [ ]*add \$0x90,%al
1a: 05 90 90 90 90 [ ]*add \$0x90909090,%eax
1f: 06 [ ]*push %es
20: 07 [ ]*pop %es
21: 08 90 90 90 90 90 [ ]*or %dl,0x90909090\(%eax\)
27: 09 90 90 90 90 90 [ ]*or %edx,0x90909090\(%eax\)
2d: 0a 90 90 90 90 90 [ ]*or 0x90909090\(%eax\),%dl
33: 0b 90 90 90 90 90 [ ]*or 0x90909090\(%eax\),%edx
39: 0c 90 [ ]*or \$0x90,%al
3b: 0d 90 90 90 90 [ ]*or \$0x90909090,%eax
40: 0e [ ]*push %cs
41: 10 90 90 90 90 90 [ ]*adc %dl,0x90909090\(%eax\)
47: 11 90 90 90 90 90 [ ]*adc %edx,0x90909090\(%eax\)
4d: 12 90 90 90 90 90 [ ]*adc 0x90909090\(%eax\),%dl
53: 13 90 90 90 90 90 [ ]*adc 0x90909090\(%eax\),%edx
59: 14 90 [ ]*adc \$0x90,%al
5b: 15 90 90 90 90 [ ]*adc \$0x90909090,%eax
60: 16 [ ]*push %ss
61: 17 [ ]*pop %ss
62: 18 90 90 90 90 90 [ ]*sbb %dl,0x90909090\(%eax\)
68: 19 90 90 90 90 90 [ ]*sbb %edx,0x90909090\(%eax\)
6e: 1a 90 90 90 90 90 [ ]*sbb 0x90909090\(%eax\),%dl
74: 1b 90 90 90 90 90 [ ]*sbb 0x90909090\(%eax\),%edx
7a: 1c 90 [ ]*sbb \$0x90,%al
7c: 1d 90 90 90 90 [ ]*sbb \$0x90909090,%eax
81: 1e [ ]*push %ds
82: 1f [ ]*pop %ds
83: 20 90 90 90 90 90 [ ]*and %dl,0x90909090\(%eax\)
89: 21 90 90 90 90 90 [ ]*and %edx,0x90909090\(%eax\)
8f: 22 90 90 90 90 90 [ ]*and 0x90909090\(%eax\),%dl
95: 23 90 90 90 90 90 [ ]*and 0x90909090\(%eax\),%edx
9b: 24 90 [ ]*and \$0x90,%al
9d: 25 90 90 90 90 [ ]*and \$0x90909090,%eax
a2: 27 [ ]*daa
a3: 28 90 90 90 90 90 [ ]*sub %dl,0x90909090\(%eax\)
a9: 29 90 90 90 90 90 [ ]*sub %edx,0x90909090\(%eax\)
af: 2a 90 90 90 90 90 [ ]*sub 0x90909090\(%eax\),%dl
b5: 2b 90 90 90 90 90 [ ]*sub 0x90909090\(%eax\),%edx
bb: 2c 90 [ ]*sub \$0x90,%al
bd: 2d 90 90 90 90 [ ]*sub \$0x90909090,%eax
c2: 2f [ ]*das
c3: 30 90 90 90 90 90 [ ]*xor %dl,0x90909090\(%eax\)
c9: 31 90 90 90 90 90 [ ]*xor %edx,0x90909090\(%eax\)
cf: 32 90 90 90 90 90 [ ]*xor 0x90909090\(%eax\),%dl
d5: 33 90 90 90 90 90 [ ]*xor 0x90909090\(%eax\),%edx
db: 34 90 [ ]*xor \$0x90,%al
dd: 35 90 90 90 90 [ ]*xor \$0x90909090,%eax
e2: 37 [ ]*aaa
e3: 38 90 90 90 90 90 [ ]*cmp %dl,0x90909090\(%eax\)
e9: 39 90 90 90 90 90 [ ]*cmp %edx,0x90909090\(%eax\)
ef: 3a 90 90 90 90 90 [ ]*cmp 0x90909090\(%eax\),%dl
f5: 3b 90 90 90 90 90 [ ]*cmp 0x90909090\(%eax\),%edx
fb: 3c 90 [ ]*cmp \$0x90,%al
fd: 3d 90 90 90 90 [ ]*cmp \$0x90909090,%eax
102: 3f [ ]*aas
103: 40 [ ]*inc %eax
104: 41 [ ]*inc %ecx
105: 42 [ ]*inc %edx
106: 43 [ ]*inc %ebx
107: 44 [ ]*inc %esp
108: 45 [ ]*inc %ebp
109: 46 [ ]*inc %esi
10a: 47 [ ]*inc %edi
10b: 48 [ ]*dec %eax
10c: 49 [ ]*dec %ecx
10d: 4a [ ]*dec %edx
10e: 4b [ ]*dec %ebx
10f: 4c [ ]*dec %esp
110: 4d [ ]*dec %ebp
111: 4e [ ]*dec %esi
112: 4f [ ]*dec %edi
113: 50 [ ]*push %eax
114: 51 [ ]*push %ecx
115: 52 [ ]*push %edx
116: 53 [ ]*push %ebx
117: 54 [ ]*push %esp
118: 55 [ ]*push %ebp
119: 56 [ ]*push %esi
11a: 57 [ ]*push %edi
11b: 58 [ ]*pop %eax
11c: 59 [ ]*pop %ecx
11d: 5a [ ]*pop %edx
11e: 5b [ ]*pop %ebx
11f: 5c [ ]*pop %esp
120: 5d [ ]*pop %ebp
121: 5e [ ]*pop %esi
122: 5f [ ]*pop %edi
123: 60 [ ]*pusha
124: 61 [ ]*popa
125: 62 90 90 90 90 90 [ ]*bound %edx,0x90909090\(%eax\)
12b: 63 90 90 90 90 90 [ ]*arpl %dx,0x90909090\(%eax\)
131: 68 90 90 90 90 [ ]*push \$0x90909090
136: 69 90 90 90 90 90 90 90 90 90 [ ]*imul \$0x90909090,0x90909090\(%eax\),%edx
140: 6a 90 [ ]*push \$0xffffff90
142: 6b 90 90 90 90 90 90 [ ]*imul \$0xffffff90,0x90909090\(%eax\),%edx
149: 6c [ ]*insb \(%dx\),%es:\(%edi\)
14a: 6d [ ]*insl \(%dx\),%es:\(%edi\)
14b: 6e [ ]*outsb %ds:\(%esi\),\(%dx\)
14c: 6f [ ]*outsl %ds:\(%esi\),\(%dx\)
14d: 70 90 [ ]*jo (0x)?df.*
14f: 71 90 [ ]*jno (0x)?e1.*
151: 72 90 [ ]*jb (0x)?e3.*
153: 73 90 [ ]*jae (0x)?e5.*
155: 74 90 [ ]*je (0x)?e7.*
157: 75 90 [ ]*jne (0x)?e9.*
159: 76 90 [ ]*jbe (0x)?eb.*
15b: 77 90 [ ]*ja (0x)?ed.*
15d: 78 90 [ ]*js (0x)?ef.*
15f: 79 90 [ ]*jns (0x)?f1.*
161: 7a 90 [ ]*jp (0x)?f3.*
163: 7b 90 [ ]*jnp (0x)?f5.*
165: 7c 90 [ ]*jl (0x)?f7.*
167: 7d 90 [ ]*jge (0x)?f9.*
169: 7e 90 [ ]*jle (0x)?fb.*
16b: 7f 90 [ ]*jg (0x)?fd.*
16d: 80 90 90 90 90 90 90 [ ]*adcb \$0x90,0x90909090\(%eax\)
174: 81 90 90 90 90 90 90 90 90 90 [ ]*adcl \$0x90909090,0x90909090\(%eax\)
17e: 83 90 90 90 90 90 90 [ ]*adcl \$0xffffff90,0x90909090\(%eax\)
185: 84 90 90 90 90 90 [ ]*test %dl,0x90909090\(%eax\)
18b: 85 90 90 90 90 90 [ ]*test %edx,0x90909090\(%eax\)
191: 86 90 90 90 90 90 [ ]*xchg %dl,0x90909090\(%eax\)
197: 87 90 90 90 90 90 [ ]*xchg %edx,0x90909090\(%eax\)
19d: 88 90 90 90 90 90 [ ]*mov %dl,0x90909090\(%eax\)
1a3: 89 90 90 90 90 90 [ ]*mov %edx,0x90909090\(%eax\)
1a9: 8a 90 90 90 90 90 [ ]*mov 0x90909090\(%eax\),%dl
1af: 8b 90 90 90 90 90 [ ]*mov 0x90909090\(%eax\),%edx
1b5: 8c 90 90 90 90 90 [ ]*movl %ss,0x90909090\(%eax\)
1bb: 8d 90 90 90 90 90 [ ]*lea 0x90909090\(%eax\),%edx
1c1: 8e 90 90 90 90 90 [ ]*movl 0x90909090\(%eax\),%ss
1c7: 8f 80 90 90 90 90 [ ]*popl 0x90909090\(%eax\)
1cd: 90 [ ]*nop
1ce: 91 [ ]*xchg %eax,%ecx
1cf: 92 [ ]*xchg %eax,%edx
1d0: 93 [ ]*xchg %eax,%ebx
1d1: 94 [ ]*xchg %eax,%esp
1d2: 95 [ ]*xchg %eax,%ebp
1d3: 96 [ ]*xchg %eax,%esi
1d4: 97 [ ]*xchg %eax,%edi
1d5: 98 [ ]*cwtl
1d6: 99 [ ]*cltd
1d7: 9a 90 90 90 90 90 90 [ ]*lcall \$0x9090,\$0x90909090
1de: 9b [ ]*fwait
1df: 9c [ ]*pushf
1e0: 9d [ ]*popf
1e1: 9e [ ]*sahf
1e2: 9f [ ]*lahf
1e3: a0 90 90 90 90 [ ]*mov 0x90909090,%al
1e8: a1 90 90 90 90 [ ]*mov 0x90909090,%eax
1ed: a2 90 90 90 90 [ ]*mov %al,0x90909090
1f2: a3 90 90 90 90 [ ]*mov %eax,0x90909090
1f7: a4 [ ]*movsb %ds:\(%esi\),%es:\(%edi\)
1f8: a5 [ ]*movsl %ds:\(%esi\),%es:\(%edi\)
1f9: a6 [ ]*cmpsb %es:\(%edi\),%ds:\(%esi\)
1fa: a7 [ ]*cmpsl %es:\(%edi\),%ds:\(%esi\)
1fb: a8 90 [ ]*test \$0x90,%al
1fd: a9 90 90 90 90 [ ]*test \$0x90909090,%eax
202: aa [ ]*stos %al,%es:\(%edi\)
203: ab [ ]*stos %eax,%es:\(%edi\)
204: ac [ ]*lods %ds:\(%esi\),%al
205: ad [ ]*lods %ds:\(%esi\),%eax
206: ae [ ]*scas %es:\(%edi\),%al
207: af [ ]*scas %es:\(%edi\),%eax
208: b0 90 [ ]*mov \$0x90,%al
20a: b1 90 [ ]*mov \$0x90,%cl
20c: b2 90 [ ]*mov \$0x90,%dl
20e: b3 90 [ ]*mov \$0x90,%bl
210: b4 90 [ ]*mov \$0x90,%ah
212: b5 90 [ ]*mov \$0x90,%ch
214: b6 90 [ ]*mov \$0x90,%dh
216: b7 90 [ ]*mov \$0x90,%bh
218: b8 90 90 90 90 [ ]*mov \$0x90909090,%eax
21d: b9 90 90 90 90 [ ]*mov \$0x90909090,%ecx
222: ba 90 90 90 90 [ ]*mov \$0x90909090,%edx
227: bb 90 90 90 90 [ ]*mov \$0x90909090,%ebx
22c: bc 90 90 90 90 [ ]*mov \$0x90909090,%esp
231: bd 90 90 90 90 [ ]*mov \$0x90909090,%ebp
236: be 90 90 90 90 [ ]*mov \$0x90909090,%esi
23b: bf 90 90 90 90 [ ]*mov \$0x90909090,%edi
240: c0 90 90 90 90 90 90 [ ]*rclb \$0x90,0x90909090\(%eax\)
247: c1 90 90 90 90 90 90 [ ]*rcll \$0x90,0x90909090\(%eax\)
24e: c2 90 90 [ ]*ret \$0x9090
251: c3 [ ]*ret
252: c4 90 90 90 90 90 [ ]*les 0x90909090\(%eax\),%edx
258: c5 90 90 90 90 90 [ ]*lds 0x90909090\(%eax\),%edx
25e: c6 80 90 90 90 90 90 [ ]*movb \$0x90,0x90909090\(%eax\)
265: c7 80 90 90 90 90 90 90 90 90 [ ]*movl \$0x90909090,0x90909090\(%eax\)
26f: c8 90 90 90 [ ]*enter \$0x9090,\$0x90
273: c9 [ ]*leave
274: ca 90 90 [ ]*lret \$0x9090
277: cb [ ]*lret
278: cc [ ]*int3
279: cd 90 [ ]*int \$0x90
27b: ce [ ]*into
27c: cf [ ]*iret
27d: d0 90 90 90 90 90 [ ]*rclb 0x90909090\(%eax\)
283: d1 90 90 90 90 90 [ ]*rcll 0x90909090\(%eax\)
289: d2 90 90 90 90 90 [ ]*rclb %cl,0x90909090\(%eax\)
28f: d3 90 90 90 90 90 [ ]*rcll %cl,0x90909090\(%eax\)
295: d4 90 [ ]*aam \$0xffffff90
297: d5 90 [ ]*aad \$0xffffff90
299: d7 [ ]*xlat %ds:\(%ebx\)
29a: d8 90 90 90 90 90 [ ]*fcoms 0x90909090\(%eax\)
2a0: d9 90 90 90 90 90 [ ]*fsts 0x90909090\(%eax\)
2a6: da 90 90 90 90 90 [ ]*ficoml 0x90909090\(%eax\)
2ac: db 90 90 90 90 90 [ ]*fistl 0x90909090\(%eax\)
2b2: dc 90 90 90 90 90 [ ]*fcoml 0x90909090\(%eax\)
2b8: dd 90 90 90 90 90 [ ]*fstl 0x90909090\(%eax\)
2be: de 90 90 90 90 90 [ ]*ficom 0x90909090\(%eax\)
2c4: df 90 90 90 90 90 [ ]*fist 0x90909090\(%eax\)
2ca: e0 90 [ ]*loopne (0x)?25c.*
2cc: e1 90 [ ]*loope (0x)?25e.*
2ce: e2 90 [ ]*loop (0x)?260.*
2d0: e3 90 [ ]*jecxz (0x)?262.*
2d2: e4 90 [ ]*in \$0x90,%al
2d4: e5 90 [ ]*in \$0x90,%eax
2d6: e6 90 [ ]*out %al,\$0x90
2d8: e7 90 [ ]*out %eax,\$0x90
2da: e8 90 90 90 90 [ ]*call (0x)?9090936f.*
2df: e9 90 90 90 90 [ ]*jmp (0x)?90909374.*
2e4: ea 90 90 90 90 90 90 [ ]*ljmp \$0x9090,\$0x90909090
2eb: eb 90 [ ]*jmp (0x)?27d.*
2ed: ec [ ]*in \(%dx\),%al
2ee: ed [ ]*in \(%dx\),%eax
2ef: ee [ ]*out %al,\(%dx\)
2f0: ef [ ]*out %eax,\(%dx\)
2f1: f4 [ ]*hlt
2f2: f5 [ ]*cmc
2f3: f6 90 90 90 90 90 [ ]*notb 0x90909090\(%eax\)
2f9: f7 90 90 90 90 90 [ ]*notl 0x90909090\(%eax\)
2ff: f8 [ ]*clc
300: f9 [ ]*stc
301: fa [ ]*cli
302: fb [ ]*sti
303: fc [ ]*cld
304: fd [ ]*std
305: ff 90 90 90 90 90 [ ]*call \*0x90909090\(%eax\)
30b: 0f 00 90 90 90 90 90 [ ]*lldt 0x90909090\(%eax\)
312: 0f 01 90 90 90 90 90 [ ]*lgdt 0x90909090\(%eax\)
319: 0f 02 90 90 90 90 90 [ ]*lar 0x90909090\(%eax\),%edx
320: 0f 03 90 90 90 90 90 [ ]*lsl 0x90909090\(%eax\),%edx
327: 0f 06 [ ]*clts
329: 0f 08 [ ]*invd
32b: 0f 09 [ ]*wbinvd
32d: 0f 0b [ ]*ud2a
32f: 0f 20 d0 [ ]*mov %cr2,%eax
332: 0f 21 d0 [ ]*mov %db2,%eax
335: 0f 22 d0 [ ]*mov %eax,%cr2
338: 0f 23 d0 [ ]*mov %eax,%db2
33b: 0f 24 d0 [ ]*mov %tr2,%eax
33e: 0f 26 d0 [ ]*mov %eax,%tr2
341: 0f 30 [ ]*wrmsr
343: 0f 31 [ ]*rdtsc
345: 0f 32 [ ]*rdmsr
347: 0f 33 [ ]*rdpmc
349: 0f 40 90 90 90 90 90 [ ]*cmovo 0x90909090\(%eax\),%edx
350: 0f 41 90 90 90 90 90 [ ]*cmovno 0x90909090\(%eax\),%edx
357: 0f 42 90 90 90 90 90 [ ]*cmovb 0x90909090\(%eax\),%edx
35e: 0f 43 90 90 90 90 90 [ ]*cmovae 0x90909090\(%eax\),%edx
365: 0f 44 90 90 90 90 90 [ ]*cmove 0x90909090\(%eax\),%edx
36c: 0f 45 90 90 90 90 90 [ ]*cmovne 0x90909090\(%eax\),%edx
373: 0f 46 90 90 90 90 90 [ ]*cmovbe 0x90909090\(%eax\),%edx
37a: 0f 47 90 90 90 90 90 [ ]*cmova 0x90909090\(%eax\),%edx
381: 0f 48 90 90 90 90 90 [ ]*cmovs 0x90909090\(%eax\),%edx
388: 0f 49 90 90 90 90 90 [ ]*cmovns 0x90909090\(%eax\),%edx
38f: 0f 4a 90 90 90 90 90 [ ]*cmovp 0x90909090\(%eax\),%edx
396: 0f 4b 90 90 90 90 90 [ ]*cmovnp 0x90909090\(%eax\),%edx
39d: 0f 4c 90 90 90 90 90 [ ]*cmovl 0x90909090\(%eax\),%edx
3a4: 0f 4d 90 90 90 90 90 [ ]*cmovge 0x90909090\(%eax\),%edx
3ab: 0f 4e 90 90 90 90 90 [ ]*cmovle 0x90909090\(%eax\),%edx
3b2: 0f 4f 90 90 90 90 90 [ ]*cmovg 0x90909090\(%eax\),%edx
3b9: 0f 60 90 90 90 90 90 [ ]*punpcklbw 0x90909090\(%eax\),%mm2
3c0: 0f 61 90 90 90 90 90 [ ]*punpcklwd 0x90909090\(%eax\),%mm2
3c7: 0f 62 90 90 90 90 90 [ ]*punpckldq 0x90909090\(%eax\),%mm2
3ce: 0f 63 90 90 90 90 90 [ ]*packsswb 0x90909090\(%eax\),%mm2
3d5: 0f 64 90 90 90 90 90 [ ]*pcmpgtb 0x90909090\(%eax\),%mm2
3dc: 0f 65 90 90 90 90 90 [ ]*pcmpgtw 0x90909090\(%eax\),%mm2
3e3: 0f 66 90 90 90 90 90 [ ]*pcmpgtd 0x90909090\(%eax\),%mm2
3ea: 0f 67 90 90 90 90 90 [ ]*packuswb 0x90909090\(%eax\),%mm2
3f1: 0f 68 90 90 90 90 90 [ ]*punpckhbw 0x90909090\(%eax\),%mm2
3f8: 0f 69 90 90 90 90 90 [ ]*punpckhwd 0x90909090\(%eax\),%mm2
3ff: 0f 6a 90 90 90 90 90 [ ]*punpckhdq 0x90909090\(%eax\),%mm2
406: 0f 6b 90 90 90 90 90 [ ]*packssdw 0x90909090\(%eax\),%mm2
40d: 0f 6e 90 90 90 90 90 [ ]*movd 0x90909090\(%eax\),%mm2
414: 0f 6f 90 90 90 90 90 [ ]*movq 0x90909090\(%eax\),%mm2
41b: 0f 71 d0 90 [ ]*psrlw \$0x90,%mm0
41f: 0f 72 d0 90 [ ]*psrld \$0x90,%mm0
423: 0f 73 d0 90 [ ]*psrlq \$0x90,%mm0
427: 0f 74 90 90 90 90 90 [ ]*pcmpeqb 0x90909090\(%eax\),%mm2
42e: 0f 75 90 90 90 90 90 [ ]*pcmpeqw 0x90909090\(%eax\),%mm2
435: 0f 76 90 90 90 90 90 [ ]*pcmpeqd 0x90909090\(%eax\),%mm2
43c: 0f 77 [ ]*emms
43e: 0f 7e 90 90 90 90 90 [ ]*movd %mm2,0x90909090\(%eax\)
445: 0f 7f 90 90 90 90 90 [ ]*movq %mm2,0x90909090\(%eax\)
44c: 0f 80 90 90 90 90 [ ]*jo (0x)?909094e2.*
452: 0f 81 90 90 90 90 [ ]*jno (0x)?909094e8.*
458: 0f 82 90 90 90 90 [ ]*jb (0x)?909094ee.*
45e: 0f 83 90 90 90 90 [ ]*jae (0x)?909094f4.*
464: 0f 84 90 90 90 90 [ ]*je (0x)?909094fa.*
46a: 0f 85 90 90 90 90 [ ]*jne (0x)?90909500.*
470: 0f 86 90 90 90 90 [ ]*jbe (0x)?90909506.*
476: 0f 87 90 90 90 90 [ ]*ja (0x)?9090950c.*
47c: 0f 88 90 90 90 90 [ ]*js (0x)?90909512.*
482: 0f 89 90 90 90 90 [ ]*jns (0x)?90909518.*
488: 0f 8a 90 90 90 90 [ ]*jp (0x)?9090951e.*
48e: 0f 8b 90 90 90 90 [ ]*jnp (0x)?90909524.*
494: 0f 8c 90 90 90 90 [ ]*jl (0x)?9090952a.*
49a: 0f 8d 90 90 90 90 [ ]*jge (0x)?90909530.*
4a0: 0f 8e 90 90 90 90 [ ]*jle (0x)?90909536.*
4a6: 0f 8f 90 90 90 90 [ ]*jg (0x)?9090953c.*
4ac: 0f 90 80 90 90 90 90 [ ]*seto 0x90909090\(%eax\)
4b3: 0f 91 80 90 90 90 90 [ ]*setno 0x90909090\(%eax\)
4ba: 0f 92 80 90 90 90 90 [ ]*setb 0x90909090\(%eax\)
4c1: 0f 93 80 90 90 90 90 [ ]*setae 0x90909090\(%eax\)
4c8: 0f 94 80 90 90 90 90 [ ]*sete 0x90909090\(%eax\)
4cf: 0f 95 80 90 90 90 90 [ ]*setne 0x90909090\(%eax\)
4d6: 0f 96 80 90 90 90 90 [ ]*setbe 0x90909090\(%eax\)
4dd: 0f 97 80 90 90 90 90 [ ]*seta 0x90909090\(%eax\)
4e4: 0f 98 80 90 90 90 90 [ ]*sets 0x90909090\(%eax\)
4eb: 0f 99 80 90 90 90 90 [ ]*setns 0x90909090\(%eax\)
4f2: 0f 9a 80 90 90 90 90 [ ]*setp 0x90909090\(%eax\)
4f9: 0f 9b 80 90 90 90 90 [ ]*setnp 0x90909090\(%eax\)
500: 0f 9c 80 90 90 90 90 [ ]*setl 0x90909090\(%eax\)
507: 0f 9d 80 90 90 90 90 [ ]*setge 0x90909090\(%eax\)
50e: 0f 9e 80 90 90 90 90 [ ]*setle 0x90909090\(%eax\)
515: 0f 9f 80 90 90 90 90 [ ]*setg 0x90909090\(%eax\)
51c: 0f a0 [ ]*push %fs
51e: 0f a1 [ ]*pop %fs
520: 0f a2 [ ]*cpuid
522: 0f a3 90 90 90 90 90 [ ]*bt %edx,0x90909090\(%eax\)
529: 0f a4 90 90 90 90 90 90 [ ]*shld \$0x90,%edx,0x90909090\(%eax\)
531: 0f a5 90 90 90 90 90 [ ]*shld %cl,%edx,0x90909090\(%eax\)
538: 0f a8 [ ]*push %gs
53a: 0f a9 [ ]*pop %gs
53c: 0f aa [ ]*rsm
53e: 0f ab 90 90 90 90 90 [ ]*bts %edx,0x90909090\(%eax\)
545: 0f ac 90 90 90 90 90 90 [ ]*shrd \$0x90,%edx,0x90909090\(%eax\)
54d: 0f ad 90 90 90 90 90 [ ]*shrd %cl,%edx,0x90909090\(%eax\)
554: 0f af 90 90 90 90 90 [ ]*imul 0x90909090\(%eax\),%edx
55b: 0f b0 90 90 90 90 90 [ ]*cmpxchg %dl,0x90909090\(%eax\)
562: 0f b1 90 90 90 90 90 [ ]*cmpxchg %edx,0x90909090\(%eax\)
569: 0f b2 90 90 90 90 90 [ ]*lss 0x90909090\(%eax\),%edx
570: 0f b3 90 90 90 90 90 [ ]*btr %edx,0x90909090\(%eax\)
577: 0f b4 90 90 90 90 90 [ ]*lfs 0x90909090\(%eax\),%edx
57e: 0f b5 90 90 90 90 90 [ ]*lgs 0x90909090\(%eax\),%edx
585: 0f b6 90 90 90 90 90 [ ]*movzbl 0x90909090\(%eax\),%edx
58c: 0f b7 90 90 90 90 90 [ ]*movzwl 0x90909090\(%eax\),%edx
593: 0f b9 [ ]*ud2b
595: 0f bb 90 90 90 90 90 [ ]*btc %edx,0x90909090\(%eax\)
59c: 0f bc 90 90 90 90 90 [ ]*bsf 0x90909090\(%eax\),%edx
5a3: 0f bd 90 90 90 90 90 [ ]*bsr 0x90909090\(%eax\),%edx
5aa: 0f be 90 90 90 90 90 [ ]*movsbl 0x90909090\(%eax\),%edx
5b1: 0f bf 90 90 90 90 90 [ ]*movswl 0x90909090\(%eax\),%edx
5b8: 0f c0 90 90 90 90 90 [ ]*xadd %dl,0x90909090\(%eax\)
5bf: 0f c1 90 90 90 90 90 [ ]*xadd %edx,0x90909090\(%eax\)
5c6: 0f c8 [ ]*bswap %eax
5c8: 0f c9 [ ]*bswap %ecx
5ca: 0f ca [ ]*bswap %edx
5cc: 0f cb [ ]*bswap %ebx
5ce: 0f cc [ ]*bswap %esp
5d0: 0f cd [ ]*bswap %ebp
5d2: 0f ce [ ]*bswap %esi
5d4: 0f cf [ ]*bswap %edi
5d6: 0f d1 90 90 90 90 90 [ ]*psrlw 0x90909090\(%eax\),%mm2
5dd: 0f d2 90 90 90 90 90 [ ]*psrld 0x90909090\(%eax\),%mm2
5e4: 0f d3 90 90 90 90 90 [ ]*psrlq 0x90909090\(%eax\),%mm2
5eb: 0f d5 90 90 90 90 90 [ ]*pmullw 0x90909090\(%eax\),%mm2
5f2: 0f d8 90 90 90 90 90 [ ]*psubusb 0x90909090\(%eax\),%mm2
5f9: 0f d9 90 90 90 90 90 [ ]*psubusw 0x90909090\(%eax\),%mm2
600: 0f db 90 90 90 90 90 [ ]*pand 0x90909090\(%eax\),%mm2
607: 0f dc 90 90 90 90 90 [ ]*paddusb 0x90909090\(%eax\),%mm2
60e: 0f dd 90 90 90 90 90 [ ]*paddusw 0x90909090\(%eax\),%mm2
615: 0f df 90 90 90 90 90 [ ]*pandn 0x90909090\(%eax\),%mm2
61c: 0f e1 90 90 90 90 90 [ ]*psraw 0x90909090\(%eax\),%mm2
623: 0f e2 90 90 90 90 90 [ ]*psrad 0x90909090\(%eax\),%mm2
62a: 0f e5 90 90 90 90 90 [ ]*pmulhw 0x90909090\(%eax\),%mm2
631: 0f e8 90 90 90 90 90 [ ]*psubsb 0x90909090\(%eax\),%mm2
638: 0f e9 90 90 90 90 90 [ ]*psubsw 0x90909090\(%eax\),%mm2
63f: 0f eb 90 90 90 90 90 [ ]*por 0x90909090\(%eax\),%mm2
646: 0f ec 90 90 90 90 90 [ ]*paddsb 0x90909090\(%eax\),%mm2
64d: 0f ed 90 90 90 90 90 [ ]*paddsw 0x90909090\(%eax\),%mm2
654: 0f ef 90 90 90 90 90 [ ]*pxor 0x90909090\(%eax\),%mm2
65b: 0f f1 90 90 90 90 90 [ ]*psllw 0x90909090\(%eax\),%mm2
662: 0f f2 90 90 90 90 90 [ ]*pslld 0x90909090\(%eax\),%mm2
669: 0f f3 90 90 90 90 90 [ ]*psllq 0x90909090\(%eax\),%mm2
670: 0f f5 90 90 90 90 90 [ ]*pmaddwd 0x90909090\(%eax\),%mm2
677: 0f f8 90 90 90 90 90 [ ]*psubb 0x90909090\(%eax\),%mm2
67e: 0f f9 90 90 90 90 90 [ ]*psubw 0x90909090\(%eax\),%mm2
685: 0f fa 90 90 90 90 90 [ ]*psubd 0x90909090\(%eax\),%mm2
68c: 0f fc 90 90 90 90 90 [ ]*paddb 0x90909090\(%eax\),%mm2
693: 0f fd 90 90 90 90 90 [ ]*paddw 0x90909090\(%eax\),%mm2
69a: 0f fe 90 90 90 90 90 [ ]*paddd 0x90909090\(%eax\),%mm2
6a1: 66 01 90 90 90 90 90 [ ]*add %dx,0x90909090\(%eax\)
6a8: 66 03 90 90 90 90 90 [ ]*add 0x90909090\(%eax\),%dx
6af: 66 05 90 90 [ ]*add \$0x9090,%ax
6b3: 66 06 [ ]*pushw %es
6b5: 66 07 [ ]*popw %es
6b7: 66 09 90 90 90 90 90 [ ]*or %dx,0x90909090\(%eax\)
6be: 66 0b 90 90 90 90 90 [ ]*or 0x90909090\(%eax\),%dx
6c5: 66 0d 90 90 [ ]*or \$0x9090,%ax
6c9: 66 0e [ ]*pushw %cs
6cb: 66 11 90 90 90 90 90 [ ]*adc %dx,0x90909090\(%eax\)
6d2: 66 13 90 90 90 90 90 [ ]*adc 0x90909090\(%eax\),%dx
6d9: 66 15 90 90 [ ]*adc \$0x9090,%ax
6dd: 66 16 [ ]*pushw %ss
6df: 66 17 [ ]*popw %ss
6e1: 66 19 90 90 90 90 90 [ ]*sbb %dx,0x90909090\(%eax\)
6e8: 66 1b 90 90 90 90 90 [ ]*sbb 0x90909090\(%eax\),%dx
6ef: 66 1d 90 90 [ ]*sbb \$0x9090,%ax
6f3: 66 1e [ ]*pushw %ds
6f5: 66 1f [ ]*popw %ds
6f7: 66 21 90 90 90 90 90 [ ]*and %dx,0x90909090\(%eax\)
6fe: 66 23 90 90 90 90 90 [ ]*and 0x90909090\(%eax\),%dx
705: 66 25 90 90 [ ]*and \$0x9090,%ax
709: 66 29 90 90 90 90 90 [ ]*sub %dx,0x90909090\(%eax\)
710: 66 2b 90 90 90 90 90 [ ]*sub 0x90909090\(%eax\),%dx
717: 66 2d 90 90 [ ]*sub \$0x9090,%ax
71b: 66 31 90 90 90 90 90 [ ]*xor %dx,0x90909090\(%eax\)
722: 66 33 90 90 90 90 90 [ ]*xor 0x90909090\(%eax\),%dx
729: 66 35 90 90 [ ]*xor \$0x9090,%ax
72d: 66 39 90 90 90 90 90 [ ]*cmp %dx,0x90909090\(%eax\)
734: 66 3b 90 90 90 90 90 [ ]*cmp 0x90909090\(%eax\),%dx
73b: 66 3d 90 90 [ ]*cmp \$0x9090,%ax
73f: 66 40 [ ]*inc %ax
741: 66 41 [ ]*inc %cx
743: 66 42 [ ]*inc %dx
745: 66 43 [ ]*inc %bx
747: 66 44 [ ]*inc %sp
749: 66 45 [ ]*inc %bp
74b: 66 46 [ ]*inc %si
74d: 66 47 [ ]*inc %di
74f: 66 48 [ ]*dec %ax
751: 66 49 [ ]*dec %cx
753: 66 4a [ ]*dec %dx
755: 66 4b [ ]*dec %bx
757: 66 4c [ ]*dec %sp
759: 66 4d [ ]*dec %bp
75b: 66 4e [ ]*dec %si
75d: 66 4f [ ]*dec %di
75f: 66 50 [ ]*push %ax
761: 66 51 [ ]*push %cx
763: 66 52 [ ]*push %dx
765: 66 53 [ ]*push %bx
767: 66 54 [ ]*push %sp
769: 66 55 [ ]*push %bp
76b: 66 56 [ ]*push %si
76d: 66 57 [ ]*push %di
76f: 66 58 [ ]*pop %ax
771: 66 59 [ ]*pop %cx
773: 66 5a [ ]*pop %dx
775: 66 5b [ ]*pop %bx
777: 66 5c [ ]*pop %sp
779: 66 5d [ ]*pop %bp
77b: 66 5e [ ]*pop %si
77d: 66 5f [ ]*pop %di
77f: 66 60 [ ]*pushaw
781: 66 61 [ ]*popaw
783: 66 62 90 90 90 90 90 [ ]*bound %dx,0x90909090\(%eax\)
78a: 66 68 90 90 [ ]*pushw \$0x9090
78e: 66 69 90 90 90 90 90 90 90 [ ]*imul \$0x9090,0x90909090\(%eax\),%dx
797: 66 6a 90 [ ]*pushw \$0xffffff90
79a: 66 6b 90 90 90 90 90 90 [ ]*imul \$0xffffff90,0x90909090\(%eax\),%dx
7a2: 66 6d [ ]*insw \(%dx\),%es:\(%edi\)
7a4: 66 6f [ ]*outsw %ds:\(%esi\),\(%dx\)
7a6: 66 81 90 90 90 90 90 90 90 [ ]*adcw \$0x9090,0x90909090\(%eax\)
7af: 66 83 90 90 90 90 90 90 [ ]*adcw \$0xffffff90,0x90909090\(%eax\)
7b7: 66 85 90 90 90 90 90 [ ]*test %dx,0x90909090\(%eax\)
7be: 66 87 90 90 90 90 90 [ ]*xchg %dx,0x90909090\(%eax\)
7c5: 66 89 90 90 90 90 90 [ ]*mov %dx,0x90909090\(%eax\)
7cc: 66 8b 90 90 90 90 90 [ ]*mov 0x90909090\(%eax\),%dx
7d3: 66 8c 90 90 90 90 90 [ ]*movw %ss,0x90909090\(%eax\)
7da: 66 8d 90 90 90 90 90 [ ]*lea 0x90909090\(%eax\),%dx
7e1: 66 8f 80 90 90 90 90 [ ]*popw 0x90909090\(%eax\)
7e8: 66 91 [ ]*xchg %ax,%cx
7ea: 66 92 [ ]*xchg %ax,%dx
7ec: 66 93 [ ]*xchg %ax,%bx
7ee: 66 94 [ ]*xchg %ax,%sp
7f0: 66 95 [ ]*xchg %ax,%bp
7f2: 66 96 [ ]*xchg %ax,%si
7f4: 66 97 [ ]*xchg %ax,%di
7f6: 66 98 [ ]*cbtw
7f8: 66 99 [ ]*cwtd
7fa: 66 9a 90 90 90 90 [ ]*lcallw \$0x9090,\$0x9090
800: 66 9c [ ]*pushfw
802: 66 9d [ ]*popfw
804: 66 a1 90 90 90 90 [ ]*mov 0x90909090,%ax
80a: 66 a3 90 90 90 90 [ ]*mov %ax,0x90909090
810: 66 a5 [ ]*movsw %ds:\(%esi\),%es:\(%edi\)
812: 66 a7 [ ]*cmpsw %es:\(%edi\),%ds:\(%esi\)
814: 66 a9 90 90 [ ]*test \$0x9090,%ax
818: 66 ab [ ]*stos %ax,%es:\(%edi\)
81a: 66 ad [ ]*lods %ds:\(%esi\),%ax
81c: 66 af [ ]*scas %es:\(%edi\),%ax
81e: 66 b8 90 90 [ ]*mov \$0x9090,%ax
822: 66 b9 90 90 [ ]*mov \$0x9090,%cx
826: 66 ba 90 90 [ ]*mov \$0x9090,%dx
82a: 66 bb 90 90 [ ]*mov \$0x9090,%bx
82e: 66 bc 90 90 [ ]*mov \$0x9090,%sp
832: 66 bd 90 90 [ ]*mov \$0x9090,%bp
836: 66 be 90 90 [ ]*mov \$0x9090,%si
83a: 66 bf 90 90 [ ]*mov \$0x9090,%di
83e: 66 c1 90 90 90 90 90 90 [ ]*rclw \$0x90,0x90909090\(%eax\)
846: 66 c2 90 90 [ ]*retw \$0x9090
84a: 66 c3 [ ]*retw
84c: 66 c4 90 90 90 90 90 [ ]*les 0x90909090\(%eax\),%dx
853: 66 c5 90 90 90 90 90 [ ]*lds 0x90909090\(%eax\),%dx
85a: 66 c7 80 90 90 90 90 90 90 [ ]*movw \$0x9090,0x90909090\(%eax\)
863: 66 c8 90 90 90 [ ]*enterw \$0x9090,\$0x90
868: 66 c9 [ ]*leavew
86a: 66 ca 90 90 [ ]*lretw \$0x9090
86e: 66 cb [ ]*lretw
870: 66 cf [ ]*iretw
872: 66 d1 90 90 90 90 90 [ ]*rclw 0x90909090\(%eax\)
879: 66 d3 90 90 90 90 90 [ ]*rclw %cl,0x90909090\(%eax\)
880: 66 e5 90 [ ]*in \$0x90,%ax
883: 66 e7 90 [ ]*out %ax,\$0x90
886: 66 e8 8f 90 [ ]*callw (0x)?ffff9919.*
88a: 66 ea 90 90 90 90 [ ]*ljmpw \$0x9090,\$0x9090
890: 66 ed [ ]*in \(%dx\),%ax
892: 66 ef [ ]*out %ax,\(%dx\)
894: 66 f7 90 90 90 90 90 [ ]*notw 0x90909090\(%eax\)
89b: 66 ff 90 90 90 90 90 [ ]*callw \*0x90909090\(%eax\)
8a2: 66 0f 02 90 90 90 90 90 [ ]*lar 0x90909090\(%eax\),%dx
8aa: 66 0f 03 90 90 90 90 90 [ ]*lsl 0x90909090\(%eax\),%dx
8b2: 66 0f 40 90 90 90 90 90 [ ]*cmovo 0x90909090\(%eax\),%dx
8ba: 66 0f 41 90 90 90 90 90 [ ]*cmovno 0x90909090\(%eax\),%dx
8c2: 66 0f 42 90 90 90 90 90 [ ]*cmovb 0x90909090\(%eax\),%dx
8ca: 66 0f 43 90 90 90 90 90 [ ]*cmovae 0x90909090\(%eax\),%dx
8d2: 66 0f 44 90 90 90 90 90 [ ]*cmove 0x90909090\(%eax\),%dx
8da: 66 0f 45 90 90 90 90 90 [ ]*cmovne 0x90909090\(%eax\),%dx
8e2: 66 0f 46 90 90 90 90 90 [ ]*cmovbe 0x90909090\(%eax\),%dx
8ea: 66 0f 47 90 90 90 90 90 [ ]*cmova 0x90909090\(%eax\),%dx
8f2: 66 0f 48 90 90 90 90 90 [ ]*cmovs 0x90909090\(%eax\),%dx
8fa: 66 0f 49 90 90 90 90 90 [ ]*cmovns 0x90909090\(%eax\),%dx
902: 66 0f 4a 90 90 90 90 90 [ ]*cmovp 0x90909090\(%eax\),%dx
90a: 66 0f 4b 90 90 90 90 90 [ ]*cmovnp 0x90909090\(%eax\),%dx
912: 66 0f 4c 90 90 90 90 90 [ ]*cmovl 0x90909090\(%eax\),%dx
91a: 66 0f 4d 90 90 90 90 90 [ ]*cmovge 0x90909090\(%eax\),%dx
922: 66 0f 4e 90 90 90 90 90 [ ]*cmovle 0x90909090\(%eax\),%dx
92a: 66 0f 4f 90 90 90 90 90 [ ]*cmovg 0x90909090\(%eax\),%dx
932: 66 0f a0 [ ]*pushw %fs
935: 66 0f a1 [ ]*popw %fs
938: 66 0f a3 90 90 90 90 90 [ ]*bt %dx,0x90909090\(%eax\)
940: 66 0f a4 90 90 90 90 90 90 [ ]*shld \$0x90,%dx,0x90909090\(%eax\)
949: 66 0f a5 90 90 90 90 90 [ ]*shld %cl,%dx,0x90909090\(%eax\)
951: 66 0f a8 [ ]*pushw %gs
954: 66 0f a9 [ ]*popw %gs
957: 66 0f ab 90 90 90 90 90 [ ]*bts %dx,0x90909090\(%eax\)
95f: 66 0f ac 90 90 90 90 90 90 [ ]*shrd \$0x90,%dx,0x90909090\(%eax\)
968: 66 0f ad 90 90 90 90 90 [ ]*shrd %cl,%dx,0x90909090\(%eax\)
970: 66 0f af 90 90 90 90 90 [ ]*imul 0x90909090\(%eax\),%dx
978: 66 0f b1 90 90 90 90 90 [ ]*cmpxchg %dx,0x90909090\(%eax\)
980: 66 0f b2 90 90 90 90 90 [ ]*lss 0x90909090\(%eax\),%dx
988: 66 0f b3 90 90 90 90 90 [ ]*btr %dx,0x90909090\(%eax\)
990: 66 0f b4 90 90 90 90 90 [ ]*lfs 0x90909090\(%eax\),%dx
998: 66 0f b5 90 90 90 90 90 [ ]*lgs 0x90909090\(%eax\),%dx
9a0: 66 0f b6 90 90 90 90 90 [ ]*movzbw 0x90909090\(%eax\),%dx
9a8: 66 0f bb 90 90 90 90 90 [ ]*btc %dx,0x90909090\(%eax\)
9b0: 66 0f bc 90 90 90 90 90 [ ]*bsf 0x90909090\(%eax\),%dx
9b8: 66 0f bd 90 90 90 90 90 [ ]*bsr 0x90909090\(%eax\),%dx
9c0: 66 0f be 90 90 90 90 90 [ ]*movsbw 0x90909090\(%eax\),%dx
9c8: 66 0f c1 90 90 90 90 90 [ ]*xadd %dx,0x90909090\(%eax\)

View File

@ -0,0 +1,15 @@
#objdump: -dw
#name: i386 prefix
.*: +file format .*
Disassembly of section .text:
0+000 <foo>:
0: 9b 67 26 d9 3c [ ]*addr16 fstcw %es:\(%si\)
5: 9b df e0 [ ]*fstsw %ax
8: 9b df e0 [ ]*fstsw %ax
b: 9b df e0 [ ]*fstsw %ax
e: 9b 67 df e0 [ ]*addr16 fstsw %ax
12: f3 67 66 36 a7 [ ]*repz addr16 cmpsw %es:\(%di\),%ss:\(%si\)
...

View File

@ -0,0 +1,11 @@
.text
foo:
addr16 fstcw %es:(%si)
fstsw
fstsw %ax
fstsw %eax
addr16 fstsw %ax
addr16 rep cmpsw %es:(%di),%ss:(%si)
# Get a good alignment.
.byte 0

View File

@ -1,5 +0,0 @@
GAS LISTING .*/pushw.s[ ]*page 1
1 0000 6668C800[ ]*2: pushw \$200
2 0004 04000000[ ]*1: \.long 1b-2b

View File

@ -1,2 +0,0 @@
2: pushw $200
1: .long 1b-2b

View File

@ -0,0 +1,15 @@
#objdump: -drw
#name: i386 reloc
.*: +file format .*i386.*
Disassembly of section .text:
00000000 <foo>:
0: b3 00 [ ]*mov \$0x0,%bl 1: R_386_8 .text
2: 68 00 00 00 00 [ ]*push \$0x0 3: R_386_32 .text
7: 05 00 00 00 00 [ ]*add \$0x0,%eax 8: R_386_32 .text
c: 81 c3 00 00 00 00 [ ]*add \$0x0,%ebx e: R_386_32 .text
12: 69 d2 00 00 00 00 [ ]*imul \$0x0,%edx,%edx 14: R_386_32 .text
18: 9a 00 00 00 00 00 00 [ ]*lcall \$0x0,\$0x0 19: R_386_32 .text
1f: 66 68 00 00 [ ]*pushw \$0x0 21: R_386_16 .text

View File

@ -0,0 +1,8 @@
.text
foo: mov $foo, %bl
push $foo
add $foo, %eax
add $foo, %ebx
imul $foo, %edx
lcall $0, $foo
pushw $foo

View File

@ -0,0 +1,19 @@
GAS LISTING .*
1 .TeXt
2 0000 8803 mov % al , \( % ebx \)
3 0002 C705D711 00007B00 0000 mOvl \$ 123 , 4567
4 000c 678A787B ADDr16 mov 123 \( % bx , % si , 1 \) , % bh
5 0010 FFE0 jmp \* % eax
6 0012 6626FF23 foo: jmpw % es : \* \( % ebx \)
7
8 0016 A0500000 00 mov \( 0x8 \* 0Xa \) , % al
9 001b B020 mov \$ \( 8 \* 4 \) , % al
10 001d B712 mov \$ foo , % bH
11 001f B712 movb \$ foo , % BH
12
13 .CODE16
14 0021 66B81200 0000 Mov \$ foo , %eAx
15 .Code32
16 0027 66B81200 mov \$ foo , %ax

View File

@ -0,0 +1,16 @@
.TeXt
mov % al , ( % ebx )
mOvl $ 123 , 4567
ADDr16 mov 123 ( % bx , % si , 1 ) , % bh
jmp * % eax
foo: jmpw % es : * ( % ebx )
mov ( 0x8 * 0Xa ) , % al
mov $ ( 8 * 4 ) , % al
mov $ foo , % bH
movb $ foo , % BH
.CODE16
Mov $ foo , %eAx
.Code32
mov $ foo , %ax