[commit: packages/primitive] ghc-head: C optimisation flags (05b871e)
git at git.haskell.org
git at git.haskell.org
Thu Sep 26 11:44:54 CEST 2013
Repository : ssh://git@git.haskell.org/primitive
On branch : ghc-head
Link : http://git.haskell.org/packages/primitive.git/commitdiff/05b871eaf7c09af32873b0257b709bc9087062e7
>---------------------------------------------------------------
commit 05b871eaf7c09af32873b0257b709bc9087062e7
Author: Roman Leshchinskiy <rl at cse.unsw.edu.au>
Date: Thu Jan 26 15:35:40 2012 -0700
C optimisation flags
>---------------------------------------------------------------
05b871eaf7c09af32873b0257b709bc9087062e7
primitive.cabal | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/primitive.cabal b/primitive.cabal
index 344d362..bbf55de 100644
--- a/primitive.cabal
+++ b/primitive.cabal
@@ -64,4 +64,8 @@ Library
Install-Includes: primitive-memops.h
includes: primitive-memops.h
c-sources: cbits/primitive-memops.c
+ cc-options: -O3 -ftree-vectorize -fomit-frame-pointer
+ if arch(i386) || arch(x86_64) {
+ cc-options: -msse2
+ }
More information about the ghc-commits
mailing list