OpcodeDispatcher: use rmif masking for bt

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
Alyssa Rosenzweig committed 2023-11-29 13:20:22 -04:00
1 parent 6716077cb6
commit 14ba64a22d
1 file changed
+1 -1
@@ -2790,7 +2790,7 @@ void OpDispatchBuilder::BTOp(OpcodeArgs) {
}
// OF/SF/ZF/AF/PF undefined.
SetRFLAG<FEXCore::X86State::RFLAG_CF_RAW_LOC>(_Bfe(IR::SizeToOpSize(GetOpSize(Result)), 1, 0, Result));
SetRFLAG<FEXCore::X86State::RFLAG_CF_RAW_LOC>(Result, 0, true);
}
template<uint32_t SrcIndex>