mirror of
https://github.com/yuzu-mirror/dynarmic.git
synced 2026-02-07 15:54:15 +01:00
We can optimize these cases further for with the use of a fair bit of shuffling via pshufb and the use of masks, but given the uncommon use of this instruction, I wouldn't consider it to be beneficial in terms of amount of code to be worth it over a simple manageable naive solution like this. If we ever do hit a case where vectorized CLZ happens to be a bottleneck, then we can revisit this. At least with AVX-512CD, this can be done with a single instruction for the 32-bit word case. |
||
|---|---|---|
| .. | ||
| basic_block.cpp | ||
| basic_block.h | ||
| cond.h | ||
| ir_emitter.cpp | ||
| ir_emitter.h | ||
| location_descriptor.cpp | ||
| location_descriptor.h | ||
| microinstruction.cpp | ||
| microinstruction.h | ||
| opcodes.cpp | ||
| opcodes.h | ||
| opcodes.inc | ||
| terminal.h | ||
| type.cpp | ||
| type.h | ||
| value.cpp | ||
| value.h | ||