Skip to content
  1. 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
  2. May 17, 2012
    • Akira Hatanaka's avatar
      This patch adds the register class for MIPS16 as well as the ability for · 0faaebf2
      Akira Hatanaka authored
      llc to recognize MIPS16 as a MIPS ASE extension. -mips16 will mean the
      mips16 ASE for mips32 by default.
      
      As part of fixing of adding this we discovered some small changes that
      need to be made to MipsInstrInfo::storeRegToStackSLot and
      MipsInstrInfo::loadRegFromStackSlot. We were using some "==" equality tests
      where in fact we should have been using Mips::<regclas>.hasSubClassEQ instead,
      per suggestion of Jakob Stoklund Olesen.
      
      Patch by Reed Kotler.
      
      llvm-svn: 156958
      0faaebf2
  3. Mar 28, 2012
  4. Feb 28, 2012
  5. Dec 20, 2011
  6. Sep 21, 2011
  7. Sep 20, 2011
  8. Sep 14, 2011
  9. Sep 10, 2011
  10. Sep 09, 2011
  11. Jul 07, 2011
  12. Jul 02, 2011
  13. Jul 01, 2011
  14. Jun 30, 2011
  15. Jun 29, 2011
  16. Apr 15, 2011
  17. Mar 04, 2011
  18. Nov 12, 2010
  19. Nov 08, 2010
  20. Dec 19, 2009
  21. Aug 13, 2009
  22. Aug 03, 2009
    • Eli Friedman's avatar
      Remove -disable-mips-abicall and -enable-mips-absolute-call command-line · 57c11da8
      Eli Friedman authored
      options, which don't appear to be useful.  -enable-mips-absolute-call is
      completely unused (and unless I'm mistaken, is supposed to have the 
      same effect that -relocation-model=dynamic-no-pic should have), 
      and -disable-mips-abicall appears to be effectively a 
      synonym for -relocation-model=static. Adjust the few users of hasABICall
      to checks which seem more appropriate.  Update MipsSubtarget, 
      MipsTargetMachine, and MipselTargetMachine to synchronize with recent 
      changes.
      
      llvm-svn: 77938
      57c11da8
    • Daniel Dunbar's avatar
      Normalize Subtarget constructors to take a target triple string instead of · 31b44e8f
      Daniel Dunbar authored
      Module*.
      
      Also, dropped uses of TargetMachine where unnecessary. The only target which
      still takes a TargetMachine& is Mips, I would appreciate it if someone would
      normalize this to match other targets.
      
      llvm-svn: 77918
      31b44e8f
  23. Jul 24, 2009
  24. May 27, 2009
  25. May 23, 2009
  26. Jul 30, 2008
  27. Jul 21, 2008
  28. Jul 14, 2008
    • Bruno Cardoso Lopes's avatar
      Added Subtarget support into RegisterInfo · 80ab8f96
      Bruno Cardoso Lopes authored
      Added HasABICall and HasAbsoluteCall (equivalent to gcc -mabicall and 
      -mno-shared). HasAbsoluteCall is not implemented but HasABICall is the 
      default for o32 ABI. Now, both should help into a more accurate 
      relocation types implementation. 
      Added IsLinux is needed to choose between asm directives.
      Instruction name strings cleanup.
      AsmPrinter improved.
      
      llvm-svn: 53551
      80ab8f96
  29. Jul 09, 2008
  30. Jul 05, 2008
    • Bruno Cardoso Lopes's avatar
      Several changes to Mips backend, experimental fp support being the most · c9c3f499
      Bruno Cardoso Lopes authored
      important.
      - Cleanup in the Subtarget info with addition of new features, not all support
        yet, but they allow the future inclusion of features easier. Among new features,
        we have : Arch family info (mips1, mips2, ...), ABI info (o32, eabi), 64-bit
        integer
        and float registers, allegrex vector FPU (VFPU), single float only support.
      - TargetMachine now detects allegrex core.
      - Added allegrex (Mips32r2) sext_inreg instructions.
      - *Added Float Point Instructions*, handling single float only, and
        aliased accesses for 32-bit FPUs.
      - Some cleanup in FP instruction formats and FP register classes.
      - Calling conventions improved to support mips 32-bit EABI.
      - Added Asm Printer support for fp cond codes.
      - Added support for sret copy to a return register.
      - EABI support added into LowerCALL and FORMAL_ARGS.
      - MipsFunctionInfo now keeps a virtual register per function to track the
        sret on function entry until function ret.
      - MipsInstrInfo FP support into methods (isMoveInstr, isLoadFromStackSlot, ...),
        FP cond codes mapping and initial FP Branch Analysis.
      - Two new Mips SDNode to handle fp branch and compare instructions : FPBrcond,
        FPCmp
      - MipsTargetLowering : handling different FP classes, Allegrex support, sret
        return copy, no homing location within EABI, non 32-bit stack objects
        arguments, and asm constraint for float.
      
      llvm-svn: 53146
      c9c3f499
  31. Jun 04, 2008
  32. Dec 29, 2007
Loading