IR: Implements support for subtract with shifted register

Will be used soon.
This commit is contained in:
Ryan Houdek committed 2023-10-23 09:27:41 -07:00
1 parent e018917f76
commit 99465faf63
5 files changed
+48 -1

No files matched your search

+7
View File
@@ -564,6 +564,13 @@ enum class FloatCompareOp : uint8_t {
ORD,
};
enum class ShiftType : uint8_t {
LSL = 0,
LSR,
ASR,
ROR,
};
// Converts a size stored as an integer in to an OpSize enum.
// This is a nop operation and will be eliminated by the compiler.
static inline OpSize SizeToOpSize(uint8_t Size) {