summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2023-08-19 13:51:03 +0200
committerJosJuice <josjuice@gmail.com>2023-11-29 19:13:09 +0100
commit9e970bcb30d1281c1e48b5ebec5f734ad7c1a022 (patch)
treea6552e400bb0e377eada80500487d6b957ec6d08 /Source/Core/Common/FileUtil.cpp
parentc9347a2a194e10af0719cad2d2286b16fdaddf75 (diff)
JitArm64: Optiming shifting and masking PC in slow dispatcher
Instead of shifting left by 1, we can first shift right by 2 and then left by 3. This is both faster and smaller, because we get the right shift for free with the masking and the left shift for free with the address calculation. It also happens to match the pseudocode more closely, which is always nice for readability.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions