Skip to content
  1. May 16, 2013
    • Akira Hatanaka's avatar
      [mips] Fix instruction selection pattern for sint_to_fp node to avoid emitting an · 39d40f7b
      Akira Hatanaka authored
      invalid instruction sequence.
      
      Rather than emitting an int-to-FP move instruction and an int-to-FP conversion
      instruction during instruction selection, we emit a pseudo instruction which gets
      expanded post-RA. Without this change, register allocation can possibly insert a
      floating point register move instruction between the two instructions, which is not
      valid according to the ISA manual.
      
      mtc1 $f4, $4         # int-to-fp move instruction.
      mov.s $f2, $f4       # move contents of $f4 to $f2.
      cvt.s.w $f0, $f2     # int-to-fp conversion.
      
      llvm-svn: 182042
      39d40f7b
    • Akira Hatanaka's avatar
      [mips] Fix indentation. · 21bab5ba
      Akira Hatanaka authored
      llvm-svn: 182036
      21bab5ba
  2. May 13, 2013
    • Akira Hatanaka's avatar
      [mips] Add option -mno-ldc1-sdc1. · 9edae02d
      Akira Hatanaka authored
      This option is used when the user wants to avoid emitting double precision FP
      loads and stores. Double precision FP loads and stores are expanded to single
      precision instructions after register allocation.
      
      llvm-svn: 181718
      9edae02d
  3. Mar 30, 2013
  4. Feb 15, 2013
  5. Jan 25, 2013
  6. Jan 12, 2013
    • Jack Carter's avatar
      This patch tackles the problem of parsing Mips · 873c724b
      Jack Carter authored
      register names in the standalone assembler llvm-mc.
      
      Registers such as $A1 can represent either a 32 or
      64 bit register based on the instruction using it.
      In addition, based on the abi, $T0 can represent different
      32 bit registers.
      
      
      The problem is resolved by the Mips specific AsmParser 
      td definitions changing to work together. Many cases of
      RegisterClass parameters are now RegisterOperand.
      
      
      Contributer: Vladimir Medic
      llvm-svn: 172284
      873c724b
  7. Dec 20, 2012
  8. Dec 13, 2012
  9. Dec 07, 2012
  10. Nov 15, 2012
  11. Nov 03, 2012
  12. Sep 15, 2012
  13. Aug 17, 2012
  14. Jul 31, 2012
  15. Jun 14, 2012
  16. May 22, 2012
    • Akira Hatanaka's avatar
      This patch adds a predicate to existing mips32 and mips64 so that those · cdf4fd82
      Akira Hatanaka authored
      instruction encodings can be excluded during mips16 processing.
      
      This revision fixes the issue raised by Jim Grosbach.
      
      bool hasStandardEncoding() const { return !inMips16Mode(); }
      
      When micromips is added it will be
      
      bool StandardEncoding() const { return !inMips16Mode()&&  !inMicroMipsMode(); }
      
      No additional testing is needed other than to assure that there is no regression
      from this patch.
      
      Patch by Reed Kotler.
      
      llvm-svn: 157234
      cdf4fd82
  17. Apr 17, 2012
  18. Apr 12, 2012
  19. Apr 03, 2012
  20. Mar 01, 2012
  21. Feb 28, 2012
  22. Feb 27, 2012
Loading