diff --git a/FEXCore/Source/Interface/Core/OpcodeDispatcher.h b/FEXCore/Source/Interface/Core/OpcodeDispatcher.h index b21037a68..a11307a5e 100644 --- a/FEXCore/Source/Interface/Core/OpcodeDispatcher.h +++ b/FEXCore/Source/Interface/Core/OpcodeDispatcher.h @@ -1576,6 +1576,14 @@ private: StoreResult(GPRClass, Op, Result, -1); } + std::pair ExtractPair(OpSize Size, OrderedNode* Pair) { + // Extract high first. This is a hack to improve coalescing. + OrderedNode* Hi = _ExtractElementPair(Size, Pair, 1); + OrderedNode* Lo = _ExtractElementPair(Size, Pair, 0); + + return std::make_pair(Lo, Hi); + } + // Helper to derive Dest by a given builder-using Expression with the opcode // replaced with NewOp. Useful for generic building code. Not safe in general. // but does the right handling of ImplicitFlagClobber at least and must be