[Git][ghc/ghc][master] Delete constants that can be deduced

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Sat Oct 12 03:47:23 UTC 2024



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
c08b68bc by Sven Tennie at 2024-10-11T23:47:01-04:00
Delete constants that can be deduced

There are macros in MachRegs.h to figure those out.

- - - - -


3 changed files:

- rts/include/stg/MachRegs/loongarch64.h
- rts/include/stg/MachRegs/ppc.h
- rts/include/stg/MachRegs/riscv64.h


Changes:

=====================================
rts/include/stg/MachRegs/loongarch64.h
=====================================
@@ -46,6 +46,3 @@
 #define REG_D2          fs5
 #define REG_D3          fs6
 #define REG_D4          fs7
-
-#define MAX_REAL_FLOAT_REG   4
-#define MAX_REAL_DOUBLE_REG  4


=====================================
rts/include/stg/MachRegs/ppc.h
=====================================
@@ -60,6 +60,3 @@
 #define REG_SpLim       r25
 #define REG_Hp          r26
 #define REG_Base        r27
-
-#define MAX_REAL_FLOAT_REG   6
-#define MAX_REAL_DOUBLE_REG  6
\ No newline at end of file


=====================================
rts/include/stg/MachRegs/riscv64.h
=====================================
@@ -56,6 +56,3 @@
 #define REG_D4          fs9
 #define REG_D5          fs10
 #define REG_D6          fs11
-
-#define MAX_REAL_FLOAT_REG   6
-#define MAX_REAL_DOUBLE_REG  6
\ No newline at end of file



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c08b68bc7ab947843d20621eb483a0fc3c42703a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c08b68bc7ab947843d20621eb483a0fc3c42703a
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241011/7402fa85/attachment-0001.html>


More information about the ghc-commits mailing list