mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
IR: Removes implicit sized add
Saw a few locations in here that we operate things at 64-bit unconditionally around pointer calculation. Will be coming back for those when running in 32-bit mode. This is the last of the implicit sized ALU operations! After this I'll be going through the IR more individually to try and remove any stragglers. Then should be able to start cleaning up and actually optimizing GPR operations.
This commit is contained in:
1 parent
351c0eee42
commit
f741ebf970
6 files changed
+198
-188
No files matched your search
@@ -91,13 +91,6 @@ friend class FEXCore::IR::PassManager;
|
||||
return InvalidNode;
|
||||
}
|
||||
|
||||
// Temporary naughty implicit IR operation handlers
|
||||
///< 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);
|
||||
}
|
||||
// End of Temporary naughty implicit IR operation handlers
|
||||
|
||||
void AddPhiValue(IR::IROp_Phi *Phi, OrderedNode *Value) {
|
||||
// Got to do some bookkeeping first
|
||||
Value->AddUse();
|
||||
|
||||
Reference in new issue
Block a user