Changes between Version 9 and Version 10 of CompleteInteger


Ignore:
Timestamp:
May 21, 2014, 3:39:22 PM (5 years ago)
Author:
cameron
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompleteInteger

    v9 v10  
    6161=== Type Legalization ===
    6262
    63 ==== !X86/X86ISelLowering.cpp ====
    6463[http://llvm.org/docs/CodeGenerator.html#legalize-selectiondag-types Legalizing Types]
     64
     65==== X86/X86RegisterInfo.td ====
     66
     67The {{{VR128}}} class should be extended, it seems.
     68
     69From:
     70{{{
     71def VR128 : RegisterClass<"X86", [v16i8, v8i16, v4i32, v2i64, v4f32, v2f64],
     72                          128, (add FR32)>;
     73}}}
     74
     75To:
     76{{{
     77def VR128 : RegisterClass<"X86", [v128i1, v64i2, v32i4, v16i8, v8i16, v4i32, v2i64, v1i128, v4f32, v2f64],
     78                          128, (add FR32)>;
     79}}}
     80
     81Similar changes for {{{VR256}}} and {{{VR512}}} can be applied for the AVX and AVX-512 cases.
     82Perhaps {{{VR64}}} could also be extended if we want to support the use of MMX registers.
     83
     84==== X86/X86ISelLowering.cpp ====
     85
    6586
    6687New {{{addRegisterClass}}} statements required.