From: Cerion Armour-Brown Date: Fri, 4 Feb 2005 16:13:58 +0000 (+0000) Subject: Represent floats in guest_ppc32 X-Git-Tag: svn/VALGRIND_3_0_1^2~498 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01e7da0fab30ba112ccdfb409506e13aa2484d61;p=thirdparty%2Fvalgrind.git Represent floats in guest_ppc32 git-svn-id: svn://svn.valgrind.org/vex/trunk@836 --- diff --git a/VEX/pub/libvex_guest_ppc32.h b/VEX/pub/libvex_guest_ppc32.h index f0aef28ff8..55607abfbd 100644 --- a/VEX/pub/libvex_guest_ppc32.h +++ b/VEX/pub/libvex_guest_ppc32.h @@ -80,8 +80,41 @@ typedef UInt guest_GPR30; UInt guest_GPR31; + // Floating Point Registers + ULong guest_FPR0; + ULong guest_FPR1; + ULong guest_FPR2; + ULong guest_FPR3; + ULong guest_FPR4; + ULong guest_FPR5; + ULong guest_FPR6; + ULong guest_FPR7; + ULong guest_FPR8; + ULong guest_FPR9; + ULong guest_FPR10; + ULong guest_FPR11; + ULong guest_FPR12; + ULong guest_FPR13; + ULong guest_FPR14; + ULong guest_FPR15; + ULong guest_FPR16; + ULong guest_FPR17; + ULong guest_FPR18; + ULong guest_FPR19; + ULong guest_FPR20; + ULong guest_FPR21; + ULong guest_FPR22; + ULong guest_FPR23; + ULong guest_FPR24; + ULong guest_FPR25; + ULong guest_FPR26; + ULong guest_FPR27; + ULong guest_FPR28; + ULong guest_FPR29; + ULong guest_FPR30; + ULong guest_FPR31; + UInt guest_CIA; // Current Instruction Address (no arch visible register) -// UInt guest_NIA; // Next Instruction Address (no arch visible register) UInt guest_LR; // Link Register UInt guest_CTR; // Count Register @@ -93,6 +126,8 @@ typedef // CR1:7: Used for 'compare' ops (bits 0:4 not used - thunk used for this) UInt guest_CR1to7; + UInt guest_FPSCR; // Floating Point Status and Control Register + /* XER */ UChar guest_XER_SO; // Summary Overflow UChar guest_XER_OV; // Overflow @@ -106,7 +141,7 @@ typedef // UChar padding_1b1; // UChar padding_1b2; // UChar padding_1b3; - UInt padding_4b; +// UInt padding_4b; } VexGuestPPC32State;