of the instruction cache.
git-svn-id: svn://svn.valgrind.org/vex/trunk@2735
UChar rB_addr = ifieldRegB(theInstr);
UInt opc2 = ifieldOPClo10(theInstr);
UChar b0 = ifieldBIT0(theInstr);
- UInt lineszB = guest_archinfo->ppc_cache_line_szB;
+ UInt lineszB = guest_archinfo->ppc_icache_line_szB;
Bool is_dcbzl = False;
IRType ty = mode64 ? Ity_I64 : Ity_I32;
/* Write default settings info *vai. */
void LibVEX_default_VexArchInfo ( /*OUT*/VexArchInfo* vai )
{
- vai->hwcaps = 0;
- vai->ppc_cache_line_szB = 0;
- vai->ppc_dcbz_szB = 0;
- vai->ppc_dcbzl_szB = 0;
+ vai->hwcaps = 0;
+ vai->ppc_icache_line_szB = 0;
+ vai->ppc_dcbz_szB = 0;
+ vai->ppc_dcbzl_szB = 0;
vai->hwcache_info.num_levels = 0;
vai->hwcache_info.num_caches = 0;
/* The following two fields are mandatory. */
UInt hwcaps;
VexCacheInfo hwcache_info;
- /* PPC32/PPC64 only: size of cache line */
- Int ppc_cache_line_szB;
+ /* PPC32/PPC64 only: size of instruction cache line */
+ Int ppc_icache_line_szB;
/* PPC32/PPC64 only: sizes zeroed by the dcbz/dcbzl instructions
* (bug#135264) */
UInt ppc_dcbz_szB;
LibVEX_default_VexArchInfo(&vex_archinfo);
vex_archinfo.subarch = VexSubArch;
- vex_archinfo.ppc_cache_line_szB = CacheLineSize;
+ vex_archinfo.ppc_icache_line_szB = CacheLineSize;
/* */
vta.arch_guest = VexArch;
LibVEX_default_VexArchInfo(&vai_ppc32);
vai_ppc32.hwcaps = 0;
- vai_ppc32.ppc_cache_line_szB = 128;
+ vai_ppc32.ppc_icache_line_szB = 128;
LibVEX_default_VexArchInfo(&vai_arm);
vai_arm.hwcaps = VEX_HWCAPS_ARM_VFP3 | VEX_HWCAPS_ARM_NEON | 7;