|
From: <sv...@va...> - 2008-10-21 23:10:29
|
Author: sewardj
Date: 2008-10-22 00:10:18 +0100 (Wed, 22 Oct 2008)
New Revision: 8688
Log:
Handle ppc32/64 VRSAVE accesses.
Modified:
trunk/exp-ptrcheck/h_main.c
Modified: trunk/exp-ptrcheck/h_main.c
===================================================================
--- trunk/exp-ptrcheck/h_main.c 2008-10-21 23:09:25 UTC (rev 8687)
+++ trunk/exp-ptrcheck/h_main.c 2008-10-21 23:10:18 UTC (rev 8688)
@@ -1641,6 +1641,9 @@
if (o == GOF(VR30) && sz == 16) goto none;
if (o == GOF(VR31) && sz == 16) goto none;
+ /* Altivec admin related */
+ if (o == GOF(VRSAVE) && is4) goto none;
+
VG_(printf)("get_IntRegInfo(ppc32):failing on (%d,%d)\n", o, sz);
tl_assert(0);
# undef GOF
@@ -1802,6 +1805,9 @@
if (o == GOF(VR30) && sz == 16) goto none;
if (o == GOF(VR31) && sz == 16) goto none;
+ /* Altivec admin related */
+ if (o == GOF(VRSAVE) && is4) goto none;
+
VG_(printf)("get_IntRegInfo(ppc64):failing on (%d,%d)\n", o, sz);
tl_assert(0);
# undef GOF
|