summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-08-24 10:28:34 +0200
committerJosJuice <josjuice@gmail.com>2025-08-24 10:48:21 +0200
commit9716148203da8fc4ab9e9e27ad5a4f4849a4dac8 (patch)
tree3ed9aa332f712f855c2674ad14e51a0c5819644d /Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
parent0c7fe651bb3b60886f9d335b11a2f3c672572d0d (diff)
Arm64Emitter: Replace shifting size by 4 with IntLog2 minus 3
The instruction implementations that were shifting the size by 4 would emit an incorrect instruction when given a size of 64. The correct implementation is to count the number of leading or trailing zeroes in the size parameter, which is what IntLog2 does. No callers are affected by this, as they all use sizes other than 64. Actually, some of these instructions are even invalid with a size of 64, but I'm changing them anyway for consistency with the others.
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h')
0 files changed, 0 insertions, 0 deletions