Home | History | Annotate | Download | only in x86
      1 /* Test 28 and 108 byte loads and stores.  (Just make sure program
      2    runs without any assertion failures from V.) */
      3 
      4 /* Useful listing:
      5 	gcc -o tests/fpu_28_108 tests/fpu_28_108.S -Wa,-a */
      6 
      7 #include "tests/asm.h"
      8 
      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
     26 
     27