vex_state->guest_ITSTATE = 0;
vex_state->padding1 = 0;
- vex_state->padding2 = 0;
- vex_state->padding3 = 0;
- vex_state->padding4 = 0;
- vex_state->padding5 = 0;
}
vex_state->guest_SC_CLASS = 0;
vex_state->guest_IP_AT_SYSCALL = 0;
- Int i;
- for (i = 0; i < sizeof(vex_state->padding)
- / sizeof(vex_state->padding[0]); i++) {
- vex_state->padding[i] = 0;
- }
+ vex_state->padding1 = 0;
}
not at each insn processed. */
Bool do_sanity_check;
- vassert(0 == (guest_sizeB % 32));
- vassert(0 == (LibVEX_N_SPILL_BYTES % 32));
- vassert(0 == (N_SPILL64S % 4));
+ vassert(0 == (guest_sizeB % 16));
+ vassert(0 == (LibVEX_N_SPILL_BYTES % 16));
+ vassert(0 == (N_SPILL64S % 2));
/* The live range numbers are signed shorts, and so limiting the
number of insns to 15000 comfortably guards against them
typedef
struct {
/* Total size of the guest state, in bytes. Must be
- 8-aligned. */
+ 16-aligned. */
Int total_sizeB;
/* Whereabouts is the stack pointer? */
Int offset_SP;
*/
UInt guest_ITSTATE;
- /* Padding to make it have an 32-aligned size */
+ /* Padding to make it have an 16-aligned size */
UInt padding1;
- UInt padding2;
- UInt padding3;
- UInt padding4;
- UInt padding5;
}
VexGuestARMState;
does get set when required. */
UInt guest_FPSR;
- /* Padding to make it have an 32-aligned size */
+ /* Padding to make it have an 16-aligned size */
UInt pad_end_0;
ULong pad_end_1;
}
ULong guest_ac2; /* 344 */
ULong guest_ac3; /* 352 */
- UInt padding[6];
+ UInt padding[2];
} VexGuestMIPS32State;
/*---------------------------------------------------------------*/
/*--- Utility functions for MIPS32 guest stuff. ---*/
ULong host_EvC_FAILADDR; /* 600 */
UInt host_EvC_COUNTER; /* 608 */
UInt guest_COND; /* 612 */
- UInt padding[6];
+ UInt padding[2];
} VexGuestMIPS64State;
/*---------------------------------------------------------------*/
/* 1368 */ ULong guest_TEXASR; // Transaction EXception And Summary Register
/* 1376 */ ULong guest_TFIAR; // Transaction Failure Instruction Address Register
- /* Padding to make it have an 8-aligned size */
+ /* Padding to make it have an 16-aligned size */
/* 1384 */ UInt padding2;
}
/* 424 */ ULong host_EvC_FAILADDR;
/*------------------------------------------------------------*/
-/*--- Force alignment to 32 bytes ---*/
+/*--- Force alignment to 16 bytes ---*/
/*------------------------------------------------------------*/
- /* 432 */ UChar padding[16];
+ /* 432 */ UChar padding[0];
- /* 448 */ /* This is the size of the guest state */
+ /* 432 */ /* This is the size of the guest state */
} VexGuestS390XState;
been interrupted by a signal. */
UInt guest_IP_AT_SYSCALL;
- /* Padding to make it have an 32-aligned size */
- UInt padding[5];
+ /* Padding to make it have an 16-aligned size */
+ UInt padding1;
}
VexGuestX86State;