blob: f655c00f79f336fbf090e1387680cfb3d50eb7bd [file] [log] [blame]
/* Test 28 and 108 byte loads and stores. (Just make sure program
runs without any assertion failures from V.) */
/* Useful listing:
gcc -o tests/fpu_28_108 tests/fpu_28_108.S -Wa,-a */
.data
fooble:
.long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
bar:
.text
.globl main
main:
fstsw fooble
fsave fooble
frstor fooble
fstenv fooble
fldenv fooble
movl $0, %eax
ret