Skip to content

Commit

Permalink
Disable HAS_MORE_THAN_64_REGISTERS until we add complete support (dot…
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalspathak authored Jun 7, 2024
1 parent 8fac5af commit 7393b6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/coreclr/jit/lsra.h
Original file line number Diff line number Diff line change
Expand Up @@ -1725,13 +1725,15 @@ class LinearScan : public LinearScanInterface
#endif
PhasedVar<SingleTypeRegSet>* availableRegs[TYP_COUNT];

#if defined(TARGET_XARCH)
#define allAvailableRegs regMaskTP(availableIntRegs | availableFloatRegs | availableMaskRegs)
#elif defined(TARGET_ARM64)
#if defined(TARGET_XARCH) || defined(TARGET_ARM64)
#ifdef HAS_MORE_THAN_64_REGISTERS
#define allAvailableRegs regMaskTP(availableIntRegs | availableFloatRegs, availableMaskRegs)
#else
#define allAvailableRegs regMaskTP(availableIntRegs | availableFloatRegs | availableMaskRegs)
#endif // HAS_MORE_THAN_64_REGISTERS
#else
#define allAvailableRegs regMaskTP(availableIntRegs | availableFloatRegs)
#endif
#endif // defined(TARGET_XARCH) || defined(TARGET_ARM64)

// Register mask of argument registers currently occupied because we saw a
// PUTARG_REG node. Tracked between the PUTARG_REG and its corresponding
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/jit/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ typedef uint64_t regMaskSmall;
#endif

#ifdef TARGET_ARM64
#define HAS_MORE_THAN_64_REGISTERS 1
// #define HAS_MORE_THAN_64_REGISTERS 1
#endif // TARGET_ARM64

#ifdef HAS_MORE_THAN_64_REGISTERS
Expand Down

0 comments on commit 7393b6e

Please sign in to comment.