summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-04-21 22:05:59 -0500
committerAustin Seipp <austin@well-typed.com>2014-04-28 04:17:48 -0500
commite2cc1c5135c77736bfc8a188e7b4cc29fa50d39a (patch)
treeb1aaac05872712f2bfad153d9b16bc0cee6d9ce6 /compiler/utils
parent41ddcd7d7909224ac891c7b1ced8f2c59cb07dfc (diff)
downloadhaskell-wip/ermsb.tar.gz
When using Ivy Bridge, emit 'rep movsb' for copieswip/ermsb
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/Platform.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/Platform.hs b/compiler/utils/Platform.hs
index 14ce7bdbb1..24891abf0f 100644
--- a/compiler/utils/Platform.hs
+++ b/compiler/utils/Platform.hs
@@ -212,6 +212,7 @@ data IntelFeature
| AVX1
| ERMSB -- "Extended rep-movsb"
| AVX2
+ deriving Eq
descToCPU :: String -> Maybe CPUDesc
descToCPU "generic" = Just Generic