On 11/25/2016 08:13 AM, Nikunj A Dadhania wrote:
I think I can use "Int128 u128" in that union and that should do the
trick ! I will try that out.
Yes, that's what I meant.
r~
Richard Henderson writes:
> On 11/24/2016 12:32 PM, Nikunj A Dadhania wrote:
>> +#if defined(HOST_WORDS_BIGENDIAN)
>> +# if defined(CONFIG_INT128)
>> +# define VEXTULX_DO(name, size) \
>> +target_ulong glue(helper_, name)(target_ulong a, ppc_avr_t *b) \
>>
On 11/24/2016 12:32 PM, Nikunj A Dadhania wrote:
+#if defined(HOST_WORDS_BIGENDIAN)
+# if defined(CONFIG_INT128)
+# define VEXTULX_DO(name, size) \
+target_ulong glue(helper_, name)(target_ulong a, ppc_avr_t *b) \
+{
From: Avinesh Kumar
vextublx: Vector Extract Unsigned Byte Left
vextuhlx: Vector Extract Unsigned Halfword Left
vextuwlx: Vector Extract Unsigned Word Left
Signed-off-by: Avinesh Kumar
[ implement using int128_rshift ]
Signed-off-by: Nikunj A Dadhania
---
target-ppc/helper.h