mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12:00
Replace utils::cnttz{32,64} with std::countr_{zero,one}
Make #include <bit> mandatory.
This commit is contained in:
parent
adfc9d93c3
commit
d0c199d455
10 changed files with 15 additions and 37 deletions
|
@ -2144,7 +2144,7 @@ void ppu_acontext::MULLI(ppu_opcode_t op)
|
|||
}
|
||||
}
|
||||
|
||||
gpr[op.rd] = spec_gpr::range(min, max, gpr[op.ra].tz() + utils::cnttz64(op.simm16));
|
||||
gpr[op.rd] = spec_gpr::range(min, max, gpr[op.ra].tz() + std::countr_zero<u64>(op.simm16));
|
||||
}
|
||||
|
||||
void ppu_acontext::SUBFIC(ppu_opcode_t op)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue