Bug 497723 - forgot to restore callgrind output cleanup
[valgrind.git] / cachegrind / tests / x86 / fpu-28-108.S
blob54b2da6500c4d1c5116914ada8706c592dc1e46a
1 /* Test 28 and 108 byte loads and stores.  (Just make sure program
2    runs without any assertion failures from V.) */
4 /* Useful listing: 
5         gcc -o tests/fpu_28_108 tests/fpu_28_108.S -Wa,-a */
7 #include "tests/asm.h"
9 .data
10 fooble:
11         .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
12         .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
13         .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
14 bar:
15         
16 .text
17 .globl VG_SYM_ASM(main)
18 VG_SYM_ASM(main):
19         fstsw   fooble
20         fsave   fooble
21         frstor  fooble
22         fstenv  fooble
23         fldenv  fooble
24         movl    $0, %eax
25         ret