mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 21:00:17 +02:00
IR: Removes non-opsize AtomicXor
This commit is contained in:
1 parent
4f8a63459c
commit
6dcfd6eb73
2 files changed
+1
-4
No files matched your search
@@ -3344,7 +3344,7 @@ void OpDispatchBuilder::NOTOp(OpcodeArgs) {
|
||||
HandledLock = true;
|
||||
OrderedNode *DestMem = LoadSource(GPRClass, Op, Op->Dest, Op->Flags, -1, false);
|
||||
DestMem = AppendSegmentOffset(DestMem, Op->Flags);
|
||||
_AtomicXor(Size, MaskConst, DestMem);
|
||||
_AtomicXor(IR::SizeToOpSize(Size), MaskConst, DestMem);
|
||||
}
|
||||
else {
|
||||
OrderedNode *Src = LoadSource(GPRClass, Op, Op->Dest, Op->Flags, -1);
|
||||
|
||||
@@ -127,9 +127,6 @@ friend class FEXCore::IR::PassManager;
|
||||
IRPair<IROp_AtomicOr> _AtomicOr(uint8_t Size, OrderedNode *_Value, OrderedNode *_Addr) {
|
||||
return _AtomicOr(static_cast<OpSize>(Size), _Value, _Addr);
|
||||
}
|
||||
IRPair<IROp_AtomicXor> _AtomicXor(uint8_t Size, OrderedNode *_Value, OrderedNode *_Addr) {
|
||||
return _AtomicXor(static_cast<OpSize>(Size), _Value, _Addr);
|
||||
}
|
||||
///< ALU
|
||||
IRPair<IROp_Add> _Add(OrderedNode *_Src1, OrderedNode *_Src2) {
|
||||
return _Add(static_cast<OpSize>(std::max<uint8_t>(4, std::max(GetOpSize(_Src1), GetOpSize(_Src2)))), _Src1, _Src2);
|
||||
|
||||
Reference in new issue
Block a user