On 22/10/2021 20:16, Richard Henderson wrote:
[E-MAIL EXTERNO] Não clique em links ou abra anexos, a menos que você
possa confirmar o remetente e saber que o conteúdo é seguro. Em caso de
e-mail suspeito entre imediatamente em contato com o DTI.
On 10/21/21 12:45 PM, matheus.fe...@eldorado.org
On 10/21/21 12:45 PM, matheus.fe...@eldorado.org.br wrote:
+uint64_t helper_CNTLZDM(uint64_t src, uint64_t mask)
+{
+uint64_t sel_bit, count = 0;
+
+while (mask != 0) {
+sel_bit = 0x8000ULL >> clz64(mask);
+
+if (src & sel_bit) {
+break;
+}
From: Luis Pires
Implement the following PowerISA v3.1 instruction:
cntlzdm: Count Leading Zeros Doubleword Under Bit Mask
Signed-off-by: Luis Pires
Signed-off-by: Matheus Ferst
---
target/ppc/helper.h| 1 +
target/ppc/insn32.decode | 1 +
target/pp