Changes between Version 24 and Version 25 of SIMDPlan


Ignore:
Timestamp:
Oct 14, 2011 5:52:55 PM (3 years ago)
Author:
pmonday
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SIMDPlan

    v24 v25  
    186186Once the LLVM Code Generator is modified to support Double instructions, tests can be run to ensure the “bottom half” of the stack works. 
    187187 
    188 == Modify Remaining Code Generators == 
    189  
    190 Until a compiler step is available that removes the new MachOps for other code generators, or a switch is a available that completely turns off other code generators, the native (and probably C) code generators will have to be modified to accept the new MachOps and convert them to equivalent supported MachOps.  Without the modifications, the compile will not complete successfully. 
     188== Modify Native Code Generator == 
     189 
     190Unfortunately, the native code generator will also have to be recompiled.  The GHC compilation depends on a 6.x version of GHC, before native LLVM code generation was built into the HEAD (so simply modifying the mk/build.mk file to go to -fllvm does not work). 
    191191 
    192192For x86 Native Code Generation, locate the ./compiler/nativeGen/X86/CodeGen.hs file and modify it appropriately.  For the example above, simply adding a conversion from MO_VF_Add to the equivalent non-vector add is sufficient.