]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added fpu_28_108.S which was strangely missing.
authorNicholas Nethercote <njn25@cam.ac.uk>
Tue, 24 Sep 2002 09:37:41 +0000 (09:37 +0000)
committerNicholas Nethercote <njn25@cam.ac.uk>
Tue, 24 Sep 2002 09:37:41 +0000 (09:37 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@1106

tests/fpu_28_108.S [new file with mode: 0644]

diff --git a/tests/fpu_28_108.S b/tests/fpu_28_108.S
new file mode 100644 (file)
index 0000000..f655c00
--- /dev/null
@@ -0,0 +1,24 @@
+/* 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
+