nethercote | dfdddce | 2004-10-19 17:30:25 +0000 | [diff] [blame] | 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 | .data |
| 8 | fooble: |
| 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 |
| 12 | bar: |
| 13 | |
| 14 | .text |
| 15 | .globl main |
| 16 | main: |
| 17 | fstsw fooble |
| 18 | fsave fooble |
| 19 | frstor fooble |
| 20 | fstenv fooble |
| 21 | fldenv fooble |
| 22 | movl $0, %eax |
| 23 | ret |
| 24 | |