mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-12-15 01:49:00 +00:00
OpcodeDispatcher: use _ShiftFlags for ASHR
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
c632543451
commit
098859caf7
@ -1772,9 +1772,7 @@ void OpDispatchBuilder::ASHROp(OpcodeArgs) {
|
||||
}
|
||||
|
||||
OrderedNode *Result = _Ashr(IR::SizeToOpSize(std::max<uint8_t>(4, GetSrcSize(Op))), Dest, Src);
|
||||
StoreResult(GPRClass, Op, Result, -1);
|
||||
|
||||
GenerateFlags_SignShiftRight(Op, Result, Dest, Src);
|
||||
HandleShift(Op, Result, Dest, ShiftType::ASR, Src);
|
||||
}
|
||||
|
||||
template<bool SHR1Bit>
|
||||
|
Loading…
Reference in New Issue
Block a user