History log of /llvm-project/llvm/lib/Target/Mips/MipsSubtarget.cpp (Results 151 – 175 of 176)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 54b68e34 01-Jul-2011 Evan Cheng <evan.cheng@apple.com>

- Added MCSubtargetInfo to capture subtarget features and scheduling
itineraries.
- Refactor TargetSubtarget to be based on MCSubtargetInfo.
- Change tablegen generated subtarget info to initialize

- Added MCSubtargetInfo to capture subtarget features and scheduling
itineraries.
- Refactor TargetSubtarget to be based on MCSubtargetInfo.
- Change tablegen generated subtarget info to initialize MCSubtargetInfo
and hide more details from targets.

llvm-svn: 134257

show more ...


# fe6e405e 30-Jun-2011 Evan Cheng <evan.cheng@apple.com>

Fix the ridiculous SubtargetFeatures API where it implicitly expects CPU name to
be the first encoded as the first feature. It then uses the CPU name to look up
features / scheduling itineray even th

Fix the ridiculous SubtargetFeatures API where it implicitly expects CPU name to
be the first encoded as the first feature. It then uses the CPU name to look up
features / scheduling itineray even though clients know full well the CPU name
being used to query these properties.

The fix is to just have the clients explictly pass the CPU name!

llvm-svn: 134127

show more ...


# e2489125 15-Apr-2011 Akira Hatanaka <ahatanak@gmail.com>

Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality.

llvm-svn: 129612


# aef55c88 15-Apr-2011 Akira Hatanaka <ahatanak@gmail.com>

Fix lines that have incorrect indentation or exceed 80 columns. There is no change in functionality.

llvm-svn: 129606


Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1
# ed874eff 04-Mar-2011 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Remove (hopefully) all trailing whitespaces from the mips backend. Patch by Hatanaka, Akira

llvm-svn: 127003


Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0, llvmorg-2.7.0, llvmorg-2.6.0
# 68535f76 13-Aug-2009 Chris Lattner <sabre@nondot.org>

reintroduce support for Mips "small" section handling. This is
implemented somewhat differently than before, but it should have
the same functionality and the previous testcase passes again.

llvm-

reintroduce support for Mips "small" section handling. This is
implemented somewhat differently than before, but it should have
the same functionality and the previous testcase passes again.

llvm-svn: 78900

show more ...


# 58e8be84 13-Aug-2009 Chris Lattner <sabre@nondot.org>

Restore some "small section" support code, reverting my patch from r76936.

llvm-svn: 78894


# 57c11da8 03-Aug-2009 Eli Friedman <eli.friedman@gmail.com>

Remove -disable-mips-abicall and -enable-mips-absolute-call command-line
options, which don't appear to be useful. -enable-mips-absolute-call is
completely unused (and unless I'm mistaken, is suppo

Remove -disable-mips-abicall and -enable-mips-absolute-call command-line
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

show more ...


# 31b44e8f 02-Aug-2009 Daniel Dunbar <daniel@zuster.org>

Normalize Subtarget constructors to take a target triple string instead of
Module*.

Also, dropped uses of TargetMachine where unnecessary. The only target which
still takes a TargetMachine& is Mips,

Normalize Subtarget constructors to take a target triple string instead of
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

show more ...


# bc63d8bf 24-Jul-2009 Chris Lattner <sabre@nondot.org>

remove more remnants of small section support.

llvm-svn: 76936


# a72a505a 27-May-2009 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Added support for fround, fextend and FP_TO_SINT

llvm-svn: 72483


Revision tags: llvmorg-2.5.0, llvmorg-2.4.0
# 233785da 15-Sep-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Fixed Bug 2751
http://llvm.org/bugs/show_bug.cgi?id=2751

Abicall was enabled even when static code model was provided
in the command line.
The correct behavior is to disable abicall when static is

Fixed Bug 2751
http://llvm.org/bugs/show_bug.cgi?id=2751

Abicall was enabled even when static code model was provided
in the command line.
The correct behavior is to disable abicall when static is
specified.

llvm-svn: 56228

show more ...


# 9f0d0639 22-Aug-2008 Anton Korobeynikov <asl@math.spbu.ru>

Make option variables static, so they won't cause nameclash

llvm-svn: 55203


# 92c64ae2 13-Aug-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Removed SELECT_CC custom lowering. This is not needed anymore, the SELECT node
is lowered properly and covers everything LowerSELECT_CC did.
Added method printUnsignedImm in AsmPrinter to print uimm1

Removed SELECT_CC custom lowering. This is not needed anymore, the SELECT node
is lowered properly and covers everything LowerSELECT_CC did.
Added method printUnsignedImm in AsmPrinter to print uimm16 operands. This
avoid the ugly instruction by instruction checking in printOperand.
Added a swap instruction present in the allegrex core.
Added two conditional instructions present in the allegrex core : MOVZ and MOVN.
They both allow a more efficient SELECT operation for integers.
Also added SELECT patterns to optimize MOVZ and MOVN usage.
The brcond and setcc patterns were cleaned: redundant and suboptimal patterns
were
removed. The suboptimals were replaced by more efficient ones.
Fixed some instructions that were using immZExt16 instead of immSExt16.

llvm-svn: 54724

show more ...


# 93da7e69 08-Aug-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Support added for ctlz intrinsic, test case added.

llvm-svn: 54516


# 70e41caf 08-Aug-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Match raw "psp" triple target, as done by the homebrew toolchain.

llvm-svn: 54514


# f714e25f 30-Jul-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Added new features to represent specific instructions groups

llvm-svn: 54213


# e5d1fcfe 21-Jul-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Added initial support for small sections on Mips.
Added gp_rel relocations to support addressing small section contents.
Added command line to specify small section threshold in bytes.

llvm-svn: 538

Added initial support for small sections on Mips.
Added gp_rel relocations to support addressing small section contents.
Added command line to specify small section threshold in bytes.

llvm-svn: 53869

show more ...


# 80ab8f96 14-Jul-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Added Subtarget support into RegisterInfo
Added HasABICall and HasAbsoluteCall (equivalent to gcc -mabicall and
-mno-shared). HasAbsoluteCall is not implemented but HasABICall is the
default for o3

Added Subtarget support into RegisterInfo
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

show more ...


# bcc2139b 09-Jul-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Fixed features usage.

llvm-svn: 53277


# c9c3f499 05-Jul-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Several changes to Mips backend, experimental fp support being the most
important.
- Cleanup in the Subtarget info with addition of new features, not all support
yet, but they allow the future incl

Several changes to Mips backend, experimental fp support being the most
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

show more ...


Revision tags: llvmorg-2.3.0
# 326a0373 04-Jun-2008 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Some Mips minor fixes
Added support for mips little endian arch => mipsel

llvm-svn: 51923


Revision tags: llvmorg-2.2.0
# f3ebc3f3 29-Dec-2007 Chris Lattner <sabre@nondot.org>

Remove attribution from file headers, per discussion on llvmdev.

llvm-svn: 45418


# 87bb032c 06-Nov-2007 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

Better processor definition

llvm-svn: 43749


Revision tags: llvmorg-2.1.0
# f3c55807 18-Aug-2007 Bruno Cardoso Lopes <bruno.cardoso@gmail.com>

support for Schedule included on Mips.td

llvm-svn: 41159


12345678