Changes between Version 6 and Version 7 of SIMDPlan


Ignore:
Timestamp:
Oct 10, 2011 7:15:02 PM (3 years ago)
Author:
pmonday
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SIMDPlan

    v6 v7  
    7070 
    7171== 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: 
     72It 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 
     74The primary files that are involved in adding Cmm instructions are: 
    7375 1. Modify CmmExpr.hs 
    7476 
    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. 
     77Some 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. 
    7678 
    7779== Modify LLVM Code Generator ==