summaryrefslogtreecommitdiff
path: root/vg_memory.c
diff options
context:
space:
mode:
authorsewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2002-07-13 12:27:12 +0000
committersewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2002-07-13 12:27:12 +0000
commit2a8141af3da355143be267368d5c59655ac15ce1 (patch)
treeb01701961d7401d4c6fb70b69c4f0073e37c54d8 /vg_memory.c
parentc26b448d96f620f2b640d529306f6b00f5d8286a (diff)
Implement fnstenv (store FPU environment, but not regs AIUI)
(Jeff Epler) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@492 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'vg_memory.c')
-rw-r--r--vg_memory.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vg_memory.c b/vg_memory.c
index 4b4fe0cf..eca0dc21 100644
--- a/vg_memory.c
+++ b/vg_memory.c
@@ -1223,6 +1223,12 @@ void VGM_(fpu_write_check) ( Addr addr, Int size )
return;
}
+ if (size == 28) {
+ PROF_EVENT(89); /* XXX assign correct event number */
+ fpu_write_check_SLOWLY ( addr, 28 );
+ return;
+ }
+
VG_(printf)("size is %d\n", size);
VG_(panic)("vgm_fpu_write_check: unhandled size");
# endif