From: Nicholas Nethercote Date: Tue, 24 Sep 2002 09:37:41 +0000 (+0000) Subject: Added fpu_28_108.S which was strangely missing. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dc0074678ea550ed34cec823e0a714d52ab7d3d;p=thirdparty%2Fvalgrind.git Added fpu_28_108.S which was strangely missing. git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@1106 --- 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 +