]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Whoops, forgot this file.
authorNicholas Nethercote <n.nethercote@gmail.com>
Tue, 19 Oct 2004 17:30:25 +0000 (17:30 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Tue, 19 Oct 2004 17:30:25 +0000 (17:30 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2805

cachegrind/tests/x86/fpu-28-108.S [new file with mode: 0644]

diff --git a/cachegrind/tests/x86/fpu-28-108.S b/cachegrind/tests/x86/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
+