blob: f1409950b46629f3b5230b92deaa190ae2916779 [file] [log] [blame]
sewardjde4a1d02002-03-22 01:27:54 +00001 .file "twoparams.c"
2 .version "01.01"
3gcc2_compiled.:
4.text
5 .align 4
6.globl fooble
7 .type fooble,@function
8fooble:
9 pushl %ebp
10 movl %esp, %ebp
11 movl 8(%ebp), %eax
12
13 subl 12(%ebp), %eax
14 # flags are now undef if either operand is
15 # save possibly undef flags on stack
16 pushfl
17
18 movl $0, %eax
19 addl $0, %eax
20 # flags are now definitely defined
21
22 popfl
23 # resulting flag definedness depends on outcome of sub above
24 # should override that created by 0 + 0 above
25
26 # now use the condition codes to generate a value
27 # in a way which will cause undefinedness to get reported
28 jz labelz
29 movl $22, %eax
30 jmp theend
31labelz:
32 movl $33, %eax
33theend:
34 popl %ebp
35 ret
36.Lfe1:
37 .size fooble,.Lfe1-fooble
38 .ident "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"