summaryrefslogtreecommitdiff
path: root/compiler/CodeGen.Platform.h
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-10-17 13:54:22 -0400
committerBen Gamari <ben@smart-cactus.org>2022-10-18 13:32:30 -0400
commit4dc14be1c7ea79652f7d6dd5af95d31c87e01e45 (patch)
treef611c931693721f171ad321966e2689772bec5af /compiler/CodeGen.Platform.h
parentc1e5719aa500cb9e0f2549eb9b9e2255038ac35d (diff)
downloadhaskell-wip/drop-long-reg.tar.gz
cmm: Drop LongReg GlobalRegswip/drop-long-reg
This register is not mapped to a machine register on any platform that we currently support. Consequently, it doesn't really make sense to carry around the infrastructure for this register.
Diffstat (limited to 'compiler/CodeGen.Platform.h')
-rw-r--r--compiler/CodeGen.Platform.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/CodeGen.Platform.h b/compiler/CodeGen.Platform.h
index a216d266dd..2b2c7844c0 100644
--- a/compiler/CodeGen.Platform.h
+++ b/compiler/CodeGen.Platform.h
@@ -449,9 +449,6 @@ callerSaves (DoubleReg 5) = True
#if defined(CALLER_SAVES_D6)
callerSaves (DoubleReg 6) = True
#endif
-#if defined(CALLER_SAVES_L1)
-callerSaves (LongReg 1) = True
-#endif
#if defined(CALLER_SAVES_Sp)
callerSaves Sp = True
#endif
@@ -797,12 +794,6 @@ globalRegMaybe (ZmmReg 6) = Just (RealRegSingle REG_ZMM6)
# if defined(REG_Sp)
globalRegMaybe Sp = Just (RealRegSingle REG_Sp)
# endif
-# if defined(REG_Lng1)
-globalRegMaybe (LongReg 1) = Just (RealRegSingle REG_Lng1)
-# endif
-# if defined(REG_Lng2)
-globalRegMaybe (LongReg 2) = Just (RealRegSingle REG_Lng2)
-# endif
# if defined(REG_SpLim)
globalRegMaybe SpLim = Just (RealRegSingle REG_SpLim)
# endif