From: Luis Pires<luis.pires@eldorado.org.br>
Implement the following PowerISA v3.1 instruction:
cnttzdm: Count Trailing Zeros Doubleword Under Bit Mask
Suggested-by: Richard Henderson<richard.henderson@linaro.org>
Signed-off-by: Luis Pires<luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst<matheus.ferst@eldorado.org.br>
---
v2:
- Inline implementation of cnttzdm
---
target/ppc/insn32.decode | 1 +
target/ppc/translate/fixedpoint-impl.c.inc | 28 ++++++++++++++++++----
2 files changed, 25 insertions(+), 4 deletions(-)