summaryrefslogtreecommitdiff
path: root/includes/stg
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/stg
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/stg')
-rw-r--r--includes/stg/MachRegs.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/includes/stg/MachRegs.h b/includes/stg/MachRegs.h
index 76bdb1fc21..a8f2215578 100644
--- a/includes/stg/MachRegs.h
+++ b/includes/stg/MachRegs.h
@@ -107,7 +107,7 @@
#define MAX_REAL_FLOAT_REG 0
#define MAX_REAL_DOUBLE_REG 0
#define MAX_REAL_LONG_REG 0
-#define MAX_REAL_SSE_REG 0
+#define MAX_REAL_XMM_REG 0
/* -----------------------------------------------------------------------------
The x86-64 register mapping
@@ -212,7 +212,7 @@
#define MAX_REAL_FLOAT_REG 6
#define MAX_REAL_DOUBLE_REG 6
#define MAX_REAL_LONG_REG 0
-#define MAX_REAL_SSE_REG 6
+#define MAX_REAL_XMM_REG 6
/* -----------------------------------------------------------------------------
The PowerPC register mapping
@@ -565,21 +565,21 @@
# endif
#endif
-#ifndef MAX_REAL_SSE_REG
-# if defined(REG_SSE6)
-# define MAX_REAL_SSE_REG 6
-# elif defined(REG_SSE5)
-# define MAX_REAL_SSE_REG 5
-# elif defined(REG_SSE4)
-# define MAX_REAL_SSE_REG 4
-# elif defined(REG_SSE3)
-# define MAX_REAL_SSE_REG 3
-# elif defined(REG_SSE2)
-# define MAX_REAL_SSE_REG 2
-# elif defined(REG_SSE1)
-# define MAX_REAL_SSE_REG 1
+#ifndef MAX_REAL_XMM_REG
+# if defined(REG_XMM6)
+# define MAX_REAL_XMM_REG 6
+# elif defined(REG_XMM5)
+# define MAX_REAL_XMM_REG 5
+# elif defined(REG_XMM4)
+# define MAX_REAL_XMM_REG 4
+# elif defined(REG_XMM3)
+# define MAX_REAL_XMM_REG 3
+# elif defined(REG_XMM2)
+# define MAX_REAL_XMM_REG 2
+# elif defined(REG_XMM1)
+# define MAX_REAL_XMM_REG 1
# else
-# define MAX_REAL_SSE_REG 0
+# define MAX_REAL_XMM_REG 0
# endif
#endif