mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 06:00:41 +02:00
OpcodeDispatcher: don't mask bt source
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
1 parent
8892580c41
commit
6716077cb6
1 file changed
+2
-1
@@ -2742,7 +2742,8 @@ void OpDispatchBuilder::BTOp(OpcodeArgs) {
|
||||
InvalidateDeferredFlags();
|
||||
|
||||
if (Op->Src[SrcIndex].IsGPR()) {
|
||||
Src = LoadSource(GPRClass, Op, Op->Src[SrcIndex], Op->Flags);
|
||||
// Because we mask explicitly with an AND after, we can allow garbage here.
|
||||
Src = LoadSource(GPRClass, Op, Op->Src[SrcIndex], Op->Flags, {.AllowUpperGarbage = true});
|
||||
} else {
|
||||
// Can only be an immediate
|
||||
// Masked by operand size
|
||||
|
||||
Reference in new issue
Block a user