Changes between Version 5 and Version 6 of SIMDPlan


Ignore:
Timestamp:
Oct 10, 2011 4:10:22 PM (4 years ago)
Author:
pmonday
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SIMDPlan

    v5 v6  
    2727These clearly won't be all of the questions I have, there is a substantial amount of work that goes through the entire GHC compiler stack before reaching the LLVM instructions. 
    2828 
    29  * How does one create one of the new Vector Types in a Haskell program (direct PrimOp, for testing ... let x = ????), See the Example Section Below 
    30  * One discussion point was that the "Vector Lengths" should be "Set to 1" for non LLVM code generation, where does this happen?  On my first survey of the code, it seems that the code generators are partitioned from the main body of code, implying that each of the code generators will have to be modified to account for the new Cmm MachOps and properly translate them to non-vectorized instructions. 
    31  * Can we re-use any of the existing MachOps when adding to Cmm? 
    3229 
    3330== Add new PrimOps == 
     
    7572It 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: 
    7673 1. Modify CmmExpr.hs 
     74 
     75Some existing Cmm instructions may be able to be reused, but there will have to be additional instructions added to account for vectorization primitives. 
    7776 
    7877== Modify LLVM Code Generator ==