File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1725,13 +1725,15 @@ class LinearScan : public LinearScanInterface
1725
1725
#endif
1726
1726
PhasedVar<SingleTypeRegSet>* availableRegs[TYP_COUNT];
1727
1727
1728
- #if defined(TARGET_XARCH)
1729
- #define allAvailableRegs regMaskTP (availableIntRegs | availableFloatRegs | availableMaskRegs)
1730
- #elif defined(TARGET_ARM64)
1728
+ #if defined(TARGET_XARCH) || defined(TARGET_ARM64)
1729
+ #ifdef HAS_MORE_THAN_64_REGISTERS
1731
1730
#define allAvailableRegs regMaskTP (availableIntRegs | availableFloatRegs, availableMaskRegs)
1732
1731
#else
1732
+ #define allAvailableRegs regMaskTP (availableIntRegs | availableFloatRegs | availableMaskRegs)
1733
+ #endif // HAS_MORE_THAN_64_REGISTERS
1734
+ #else
1733
1735
#define allAvailableRegs regMaskTP (availableIntRegs | availableFloatRegs)
1734
- #endif
1736
+ #endif // defined(TARGET_XARCH) || defined(TARGET_ARM64)
1735
1737
1736
1738
// Register mask of argument registers currently occupied because we saw a
1737
1739
// PUTARG_REG node. Tracked between the PUTARG_REG and its corresponding
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ typedef uint64_t regMaskSmall;
230
230
#endif
231
231
232
232
#ifdef TARGET_ARM64
233
- #define HAS_MORE_THAN_64_REGISTERS 1
233
+ // #define HAS_MORE_THAN_64_REGISTERS 1
234
234
#endif // TARGET_ARM64
235
235
236
236
#ifdef HAS_MORE_THAN_64_REGISTERS
You can’t perform that action at this time.
0 commit comments