From: Julian Seward Date: Tue, 21 Oct 2008 23:10:18 +0000 (+0000) Subject: Handle ppc32/64 VRSAVE accesses. X-Git-Tag: svn/VALGRIND_3_4_0~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c6bd828acee4de8382afff16147cf8cef7b409d;p=thirdparty%2Fvalgrind.git Handle ppc32/64 VRSAVE accesses. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8688 --- diff --git a/exp-ptrcheck/h_main.c b/exp-ptrcheck/h_main.c index db25fc7498..de81392976 100644 --- a/exp-ptrcheck/h_main.c +++ b/exp-ptrcheck/h_main.c @@ -1641,6 +1641,9 @@ static void get_IntRegInfo ( /*OUT*/IntRegInfo* iii, Int offset, Int szB ) 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 @@ static void get_IntRegInfo ( /*OUT*/IntRegInfo* iii, Int offset, Int szB ) 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