blob: 02ef2e1f35312dcdf33ec63acd7a15a2a15e4906 [file] [log] [blame]
Victor van den Elzena5869fb2009-02-23 05:16:35 +01001;Testname=O0; Arguments=-O0 -fbin -oconvergence.bin; Files=stdout stderr convergence.bin
2;Testname=O1; Arguments=-O1 -fbin -oconvergence.bin; Files=stdout stderr convergence.bin
3;Testname=Ox; Arguments=-Ox -fbin -oconvergence.bin; Files=stdout stderr convergence.bin
4
5BITS 32
6
7jmp foo
8times 124 nop
9foo:
10
11jmp bar
12times 125 nop
13bar:
14
15db 0
16
17jmp baz
18times 126 nop
19baz:
20
21jmp car
22times 127 nop
23car:
24
25add eax, quux2 - quux1
26quux1:
27times 127 nop
28quux2:
29
30; currently fails - short add possible but converges to long form
31corge1:
32add eax, corge2 - corge1
33times 124 nop
34corge2:
H. Peter Anvin130360f2009-02-23 17:47:25 -080035
36; this needs to actually *work*...
37jmp 12345