Richard Henderson <r...@twiddle.net> 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->element[i] = -b->element[i]; Should be fine as well. Regards, Nikunj