summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ShaderCache.cpp
diff options
context:
space:
mode:
authorMerry <git@mary.rs>2022-07-03 15:26:50 +0100
committerMerry <git@mary.rs>2022-07-07 22:53:36 +0100
commit3092f40e9f38b6fb862f292dd85fc38c955d1013 (patch)
treed75d730d7669494a4e6a572cc5feb3496cba2d4b /Source/Core/VideoCommon/ShaderCache.cpp
parenteccf527bf6f9dace6db78e4564a07a192de3edac (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