Richard Henderson writes:
> On 10/07/2016 01:57 PM, Nikunj A Dadhania wrote:
>> +r->element[i] = (~(b->element[i]) + 1) & mask; \
>
> Any reason you're not writing this as a proper negate?
No particular reason, I was just trying to mimic the pseudo code in the
ISA.
r->eleme
On 10/07/2016 01:57 PM, Nikunj A Dadhania wrote:
+r->element[i] = (~(b->element[i]) + 1) & mask; \
Any reason you're not writing this as a proper negate?
r~
Vector Integer Negate Instructions:
vnegw: Vector Negate Word
vnegd: Vector Negate Doubleword
Signed-off-by: Nikunj A Dadhania
---
target-ppc/helper.h | 2 ++
target-ppc/int_helper.c | 12
target-ppc/translate/vmx-impl.inc.c | 2 ++
target-ppc/translat