Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : simd
http://hackage.haskell.org/trac/ghc/changeset/75acb2b135bb2821ee8297df39a23dc5bf5432b2 >--------------------------------------------------------------- commit 75acb2b135bb2821ee8297df39a23dc5bf5432b2 Author: Geoffrey Mainland <[email protected]> Date: Fri Nov 11 10:10:52 2011 +0000 Casts can appear in vector expressions now, so tell the X86 code generator to ignore them. >--------------------------------------------------------------- compiler/nativeGen/X86/CodeGen.hs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/compiler/nativeGen/X86/CodeGen.hs b/compiler/nativeGen/X86/CodeGen.hs index ddb573b..6ba7935 100644 --- a/compiler/nativeGen/X86/CodeGen.hs +++ b/compiler/nativeGen/X86/CodeGen.hs @@ -188,6 +188,7 @@ stmtToInstrs stmt = do isVecExpr (CmmMachOp (MO_VN_UQuot {}) _) = True isVecExpr (CmmMachOp (MO_VN_URem {}) _) = True isVecExpr (CmmMachOp (MO_VN_Neg {}) _) = True + isVecExpr (CmmMachOp _ [e]) = isVecExpr e isVecExpr _ = False _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
