summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelEngine.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-11-21 22:39:15 +0100
committerJosJuice <josjuice@gmail.com>2022-11-21 23:24:06 +0100
commitd64c3dc267b37e37055defc96a8de6982f104ea0 (patch)
tree31c79ec0bc62ec1889f62b32a5043f1dfaadc530 /Source/Core/VideoCommon/PixelEngine.cpp
parent22bcf134bfccd48440d4c0ec4a649b141d7852a9 (diff)
Arm64Emitter: Add MOVPage2R utility function
This new function is like MOVP2R, except it masks out the lower 12 bits, returning them instead of writing them to the register. These lower 12 bits can then be used as an offset for LDR/STR. This lets us turn ADRP+ADD+LDR sequences with a zero offset into ADRP+LDR sequences with a non-zero offset, saving one instruction.
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
0 files changed, 0 insertions, 0 deletions