Richard Henderson writes:
> On 08/10/2016 02:51 PM, Nikunj A Dadhania wrote:
>> I can fix the BE case using following but not sure if that will be
>> correct !
>>
>> tcg_gen_qemu_ld_i64(xth, EA, ctx->mem_idx, MO_Q);
>> gen_helper_bswap32x2(xth, xth);
>> tcg_gen_addi_tl(EA,
Richard Henderson writes:
> On 08/10/2016 02:51 PM, Nikunj A Dadhania wrote:
>> I can fix the BE case using following but not sure if that will be
>> correct !
>>
>> tcg_gen_qemu_ld_i64(xth, EA, ctx->mem_idx, MO_Q);
>> gen_helper_bswap32x2(xth, xth);
>> tcg_gen_addi_tl(EA,
On 08/10/2016 02:51 PM, Nikunj A Dadhania wrote:
I can fix the BE case using following but not sure if that will be
correct !
tcg_gen_qemu_ld_i64(xth, EA, ctx->mem_idx, MO_Q);
gen_helper_bswap32x2(xth, xth);
tcg_gen_addi_tl(EA, EA, 8);
tcg_gen_qemu_ld_i64(xtl, EA,
Richard Henderson writes:
> On 08/08/2016 10:57 AM, Richard Henderson wrote:
>> On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
>>> +#define LXV(name, access, swap, type, elems) \
>>> +uint64_t helper_##name(CPUPPCState *env, \
>>> +
On 08/08/2016 10:57 AM, Richard Henderson wrote:
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+#define LXV(name, access, swap, type, elems) \
+uint64_t helper_##name(CPUPPCState *env, \
+ target_ulong addr)
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+#define LXV(name, access, swap, type, elems) \
+uint64_t helper_##name(CPUPPCState *env, \
+ target_ulong addr)\
+{
lxvb16x: Load VSX Vector Byte*16
lxvh8x: Load VSX Vector Halfword*8
Signed-off-by: Nikunj A Dadhania
---
target-ppc/helper.h | 2 ++
target-ppc/mem_helper.c | 33 +
target-ppc/translate/vsx-impl.inc.c | 20
target