blob: f655c00f79f336fbf090e1387680cfb3d50eb7bd [file] [log] [blame]
njn25e49d8e72002-09-23 09:36:25 +00001/* 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.data
8fooble:
9 .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
10 .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
11 .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
12bar:
13
14.text
15.globl main
16main:
17 fstsw fooble
18 fsave fooble
19 frstor fooble
20 fstenv fooble
21 fldenv fooble
22 movl $0, %eax
23 ret
24