Skip to content
  1. Nov 24, 2013
  2. Nov 03, 2013
  3. Oct 08, 2013
  4. Oct 06, 2013
  5. Sep 22, 2013
  6. Sep 03, 2013
  7. Aug 25, 2013
  8. Aug 23, 2013
  9. Aug 20, 2013
  10. Jun 08, 2013
  11. Jun 07, 2013
  12. Jun 04, 2013
  13. Jun 03, 2013
  14. May 19, 2013
  15. Apr 21, 2013
  16. Apr 14, 2013
  17. Apr 04, 2013
  18. Apr 03, 2013
    • Jakob Stoklund Olesen's avatar
      Add 64-bit compare + branch for SPARC v9. · d9bbdfd3
      Jakob Stoklund Olesen authored
      The same compare instruction is used for 32-bit and 64-bit compares. It
      sets two different sets of flags: icc and xcc.
      
      This patch adds a conditional branch instruction using the xcc flags for
      64-bit compares.
      
      llvm-svn: 178621
      d9bbdfd3
  19. Apr 02, 2013
    • Jakob Stoklund Olesen's avatar
      Add 64-bit shift instructions. · c1d1a481
      Jakob Stoklund Olesen authored
      SPARC v9 defines new 64-bit shift instructions. The 32-bit shift right
      instructions are still usable as zero and sign extensions.
      
      This adds new F3_Sr and F3_Si instruction formats that probably should
      be used for the 32-bit shifts as well. They don't really encode an
      simm13 field.
      
      llvm-svn: 178525
      c1d1a481
    • Jakob Stoklund Olesen's avatar
      Add predicates for distinguishing 32-bit and 64-bit modes. · 739d722e
      Jakob Stoklund Olesen authored
      The 'sparc' architecture produces 32-bit code while 'sparcv9' produces
      64-bit code.
      
      It is also possible to run 32-bit code using SPARC v9 instructions with:
      
        llc -march=sparc -mattr=+v9
      
      llvm-svn: 178524
      739d722e
    • Jakob Stoklund Olesen's avatar
      Add an I64Regs register class for 64-bit registers. · 5ad3b353
      Jakob Stoklund Olesen authored
      We are going to use the same registers for 32-bit and 64-bit values, but
      in two different register classes. The I64Regs register class has a
      larger spill size and alignment.
      
      The addition of an i64 register class confuses TableGen's type
      inference, so it is necessary to clarify the type of some immediates and
      the G0 register.
      
      In 64-bit mode, pointers are i64 and should use the I64Regs register
      class. Implement getPointerRegClass() to dynamically provide the pointer
      register class depending on the subtarget. Use ptr_rc and iPTR for
      memory operands.
      
      Finally, add the i64 type to the IntRegs register class. This register
      class is not used to hold i64 values, I64Regs is for that. The type is
      required to appease TableGen's type checking in output patterns like this:
      
        def : Pat<(add i64:$a, i64:$b), (ADDrr $a, $b)>;
      
      SPARC v9 uses the same ADDrr instruction for i32 and i64 additions, and
      TableGen doesn't know to check the type of register sub-classes.
      
      llvm-svn: 178522
      5ad3b353
  20. Mar 24, 2013
  21. Mar 23, 2013
  22. Feb 05, 2013
  23. Aug 24, 2012
  24. Feb 18, 2012
  25. Feb 21, 2011
  26. Jan 22, 2011
  27. Jan 21, 2011
    • Venkatraman Govindaraju's avatar
      Sparc backend: · ef8cf45e
      Venkatraman Govindaraju authored
       Rename FLUSH to FLUSHW.
       Output "ta 3" instead of a "flushw" instruction if v8 instruction set is used.
      
      llvm-svn: 123997
      ef8cf45e
  28. Jan 20, 2011
  29. Jan 12, 2011
Loading