diff options
| author | JosJuice <josjuice@gmail.com> | 2021-08-21 18:00:51 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2021-08-26 15:04:51 +0200 |
| commit | eb8581c26dd000c496ef6b2181e42b5f17fe439a (patch) | |
| tree | 8fb0ffb73ec612e2b6e8c35727c1ed52a7a77c66 /Source/Core/VideoCommon/PixelEngine.cpp | |
| parent | f8e97f5a8af0de3f770abd7aab137933668fef76 (diff) | |
JitArm64: divwx - Optimize constant divisor
Optimize division by a constant into multiplication. This method is
also used by GCC and LLVM.
We also add optimized paths for divisors 0, 1, and -1, because they
don't work using this method. They don't occur very often, but are
necessary for correctness.
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
0 files changed, 0 insertions, 0 deletions
