From 1dc0074678ea550ed34cec823e0a714d52ab7d3d Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 24 Sep 2002 09:37:41 +0000 Subject: [PATCH] Added fpu_28_108.S which was strangely missing. git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@1106 --- tests/fpu_28_108.S | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/fpu_28_108.S diff --git a/tests/fpu_28_108.S b/tests/fpu_28_108.S new file mode 100644 index 0000000000..f655c00f79 --- /dev/null +++ b/tests/fpu_28_108.S @@ -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 + -- 2.47.2