summaryrefslogtreecommitdiff
path: root/includes/CodeGen.Platform.hs
diff options
context:
space:
mode:
authorGeoffrey Mainland <mainland@apeiron.net>2013-08-02 17:55:55 +0100
committerGeoffrey Mainland <mainland@apeiron.net>2013-08-06 09:00:47 +0100
commit253a5b753f9592e63344eff6c71298f566928e4d (patch)
tree8df6907230aac69f08b26bcf890897f4d94da0a6 /includes/CodeGen.Platform.hs
parent0daee297e3c44c00f54d2be15f13eabdddc6b62f (diff)
downloadhaskell-253a5b753f9592e63344eff6c71298f566928e4d.tar.gz
Rename SSE -> XMM for consistency.
We were using SSE is some places and XMM in others. Better to keep a consistent naming scheme.
Diffstat (limited to 'includes/CodeGen.Platform.hs')
-rw-r--r--includes/CodeGen.Platform.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/CodeGen.Platform.hs b/includes/CodeGen.Platform.hs
index beff19601d..8007574b10 100644
--- a/includes/CodeGen.Platform.hs
+++ b/includes/CodeGen.Platform.hs
@@ -381,7 +381,7 @@ activeStgRegs = [
#ifdef REG_SpLim
,SpLim
#endif
-#if MAX_REAL_SSE_REG != 0
+#if MAX_REAL_XMM_REG != 0
#ifdef REG_F1
,FloatReg 1
#endif
@@ -436,7 +436,7 @@ activeStgRegs = [
#ifdef REG_XMM6
,XmmReg 6
#endif
-#else /* MAX_REAL_SSE_REG == 0 */
+#else /* MAX_REAL_XMM_REG == 0 */
#ifdef REG_F1
,FloatReg 1
#endif
@@ -473,7 +473,7 @@ activeStgRegs = [
#ifdef REG_D6
,DoubleReg 6
#endif
-#endif /* MAX_REAL_SSE_REG == 0 */
+#endif /* MAX_REAL_XMM_REG == 0 */
]
haveRegBase :: Bool
@@ -587,7 +587,7 @@ globalRegMaybe (DoubleReg 6) =
Just (RealRegSingle REG_D6)
# endif
# endif
-#if MAX_REAL_SSE_REG != 0
+#if MAX_REAL_XMM_REG != 0
globalRegMaybe (XmmReg 1) = Just (RealRegSingle REG_XMM1)
globalRegMaybe (XmmReg 2) = Just (RealRegSingle REG_XMM2)
globalRegMaybe (XmmReg 3) = Just (RealRegSingle REG_XMM3)