diff options
| author | Merry <git@mary.rs> | 2022-07-03 15:26:50 +0100 |
|---|---|---|
| committer | Merry <git@mary.rs> | 2022-07-07 22:53:36 +0100 |
| commit | 3092f40e9f38b6fb862f292dd85fc38c955d1013 (patch) | |
| tree | d75d730d7669494a4e6a572cc5feb3496cba2d4b /Source/Core/VideoCommon/ShaderCache.cpp | |
| parent | eccf527bf6f9dace6db78e4564a07a192de3edac (diff) | |
Arm64Emitter: Simplify LogicalImm logic
Heavily simplify logical immediate encoding.
This is based on the observation that if a valid repeating element
exists, it repeats through `value`. Thus it does not matter which
one you analyse. Thus we skip over the least significent element
if LSB = 1 by masking it out with `inverse_mask_from_trailing_ones`,
to avoid the degenerate case of a stretch of 1 bits going 'round
the end' of the word.
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions
