On 08/17/2015 03:03 PM, Richard Henderson wrote:
> +uint64_t c = (a - 0x0101010101010101ULL) & ~a & 0x8080808080808080ULL;
Ho hum. I was mislead. This formulation is good for noticing *some* zero in a
word, but not which particular bytes contain zeros. This difference is hard to
spot in how
Knowing the comparator is zero leads to a simpler operation.
Signed-off-by: Richard Henderson
---
target-alpha/helper.h | 1 +
target-alpha/int_helper.c | 13 +
target-alpha/translate.c | 7 ++-
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/target-alpha/he