mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Mask shift constants on x86 backend (#1382)
* Mask shift constants on x86 backendd * Version bump
This commit is contained in:
1 parent
0195d0938d
commit
38b26cf424
2 files changed
+5
-1
No files matched your search
@@ -882,6 +882,10 @@ namespace ARMeilleure.CodeGen.X86
|
||||
|
||||
source = null;
|
||||
}
|
||||
else if (source.Kind == OperandKind.Constant)
|
||||
{
|
||||
source = source.With((uint)source.Value & (dest.Type == OperandType.I32 ? 0x1f : 0x3f));
|
||||
}
|
||||
|
||||
WriteInstruction(dest, source, type, inst);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user