Changes between Version 6 and Version 7 of SIMDPlan
- Timestamp:
- 10/10/11 12:15:02 (20 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SIMDPlan
v6 v7 70 70 71 71 == Add new MachOps to Cmm code == 72 It may make more sense to add the MachOps to Cmm prior to implementing the PrimOps (or at least before adding the code to the CgPrimOp.hs file). The primary files that are involved in adding Cmm instructions are: 72 It may make more sense to add the MachOps to Cmm prior to implementing the PrimOps (or at least before adding the code to the CgPrimOp.hs file). There is a useful [http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/CmmType#AdditionsinCmm Cmm Wiki Page] available to aid in the definition of the new Cmm operations. 73 74 The primary files that are involved in adding Cmm instructions are: 73 75 1. Modify CmmExpr.hs 74 76 75 Some existing Cmm instructions may be able to be reused, but there will have to be additional instructions added to account for vectorization primitives. 77 Some existing Cmm instructions may be able to be reused, but there will have to be additional instructions added to account for vectorization primitives. I'm still a little curious why these new instructions should not be built as out-of-line PrimOps. It should be noted that the reference for adding primops appears to be wildly out of data for adding out-of-line primops. 76 78 77 79 == Modify LLVM Code Generator ==
