Richard Henderson writes:
> On 12/05/2016 03:25 AM, Nikunj A Dadhania wrote:
>> +#if defined(CONFIG_INT128)
>> +FUNC_MASK(mask_u128, Int128, 128, Int128, ~((__uint128_t)0));
>> +#else
>> +static inline Int128 mask_u128(int start, int end)
>> +{
>> +Int128 r = {0};
>> +if (start > 63) {
>>
On 12/05/2016 03:25 AM, Nikunj A Dadhania wrote:
> +#if defined(CONFIG_INT128)
> +FUNC_MASK(mask_u128, Int128, 128, Int128, ~((__uint128_t)0));
> +#else
> +static inline Int128 mask_u128(int start, int end)
> +{
> +Int128 r = {0};
> +if (start > 63) {
> +r.hi = 0;
> +r.lo =
Adjust FUNC_MASK define and add function to generate mask_u128
Signed-off-by: Nikunj A Dadhania
---
target-ppc/internal.h | 38 +-
1 file changed, 29 insertions(+), 9 deletions(-)
diff --git a/target-ppc/internal.h b/target-ppc/internal.h
index 66cde46..27d95