From: Nicholas Nethercote Date: Tue, 19 Oct 2004 17:30:25 +0000 (+0000) Subject: Whoops, forgot this file. X-Git-Tag: svn/VALGRIND_3_0_0~1490 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eaa7a649e8a50d62dd8bf73a2ee3b0b5506193b3;p=thirdparty%2Fvalgrind.git Whoops, forgot this file. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2805 --- diff --git a/cachegrind/tests/x86/fpu-28-108.S b/cachegrind/tests/x86/fpu-28-108.S new file mode 100644 index 0000000000..f655c00f79 --- /dev/null +++ b/cachegrind/tests/x86/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 +