From 6c6bd828acee4de8382afff16147cf8cef7b409d Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Tue, 21 Oct 2008 23:10:18 +0000 Subject: [PATCH] Handle ppc32/64 VRSAVE accesses. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8688 --- exp-ptrcheck/h_main.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.2