drd/tests/Makefile.am: Use -faligned-new for C++ code if supported
[valgrind.git] / VEX / test / fpgames.s
blob222f33b1d6df2417d3f555737207b35cf71cb24b
1 .file "fpgames.c"
2 .version "01.01"
3 gcc2_compiled.:
4 .section .rodata.str1.1,"aMS",@progbits,1
5 .LC0:
6 .string "%02x "
7 .LC1:
8 .string "\n"
9 .text
10 .align 4
11 .globl show
12 .type show,@function
13 show:
14 pushl %ebp
15 movl %esp, %ebp
16 pushl %ebx
17 subl $4, %esp
18 movl $0, %ebx
19 .p2align 2
20 .L21:
21 subl $8, %esp
22 movzbl st(%ebx), %eax
23 pushl %eax
24 pushl $.LC0
25 call printf
26 addl $16, %esp
27 testl %ebx, %ebx
28 jle .L20
29 movl %ebx, %eax
30 andl $3, %eax
31 cmpl $3, %eax
32 jne .L20
33 subl $12, %esp
34 pushl $.LC1
35 call printf
36 addl $16, %esp
37 .L20:
38 incl %ebx
39 cmpl $27, %ebx
40 jle .L21
41 movl $0, %ebx
42 .p2align 2
43 .L27:
44 subl $8, %esp
45 movzbl st+28(%ebx), %eax
46 pushl %eax
47 pushl $.LC0
48 call printf
49 addl $16, %esp
50 testl %ebx, %ebx
51 jle .L26
52 movl $10, %edx
53 movl %ebx, %eax
54 movl %edx, %ecx
55 cltd
56 idivl %ecx
57 cmpl $9, %edx
58 jne .L26
59 subl $12, %esp
60 pushl $.LC1
61 call printf
62 addl $16, %esp
63 .L26:
64 incl %ebx
65 cmpl $79, %ebx
66 jle .L27
67 subl $12, %esp
68 pushl $.LC1
69 call printf
70 movl -4(%ebp), %ebx
71 leave
72 ret
73 .Lfe1:
74 .size show,.Lfe1-show
75 .section .rodata.str1.1,"aMS",@progbits,1
76 .LC2:
77 .string "\n\n"
78 .text
79 .align 4
80 .globl main
81 .type main,@function
82 main:
83 pushl %ebp
84 movl %esp, %ebp
85 subl $8, %esp
86 #APP
87 finit ; fnsave st
88 #NO_APP
89 call show
90 subl $12, %esp
91 pushl $.LC2
92 call printf
93 #APP
94 fld1 ; fnsave st
95 #NO_APP
96 call show
97 movl $0, %eax
98 leave
99 ret
100 .Lfe2:
101 .size main,.Lfe2-main
102 .comm st,108,32
103 .ident "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.3 2.96-110)"