- Feb 15, 2013
-
-
Reed Kotler authored
of the old jit and which we don't intend to support in mips16 or micromips. This dependency is for the testing of whether an instruction is a pseudo. llvm-svn: 175297
-
Reed Kotler authored
not matter but makes it more gcc compatible which avoids possible subtle problems. Also, turned back on a disabled check in helloworld.ll. llvm-svn: 175237
-
Akira Hatanaka authored
Unfortunately, I wasn't able to create a test case that demonstrates the problem I was trying to fix with this patch. llvm-svn: 175226
-
Akira Hatanaka authored
defined and used registers. Also add a few helper functions to simplify the code. llvm-svn: 175224
-
Akira Hatanaka authored
llvm-svn: 175222
-
Akira Hatanaka authored
1. Define and use function terminateSearch. 2. Use MachineBasicBlock::iterator instead of MachineBasicBlock::instr_iterator. 3. Delete the line which checks whether an instruction is a pseudo. llvm-svn: 175219
-
- Feb 14, 2013
-
-
Reed Kotler authored
up so that we can apply the direct object emitter patch. This patch should be a nop right now and it's test is to not break what is already there. llvm-svn: 175126
-
- Feb 13, 2013
-
-
Reed Kotler authored
if the offset fits in 11 bits. This makes use of the fact that the abi requires sp to be 8 byte aligned so the actual offset can fit in 8 bits. It will be shifted left and sign extended before being actually used. The assembler or direct object emitter will shift right the 11 bit signed field by 3 bits. We don't need to deal with that here. llvm-svn: 175073
-
Reed Kotler authored
llvm-svn: 175044
-
- Feb 11, 2013
-
-
Akira Hatanaka authored
MipsCodeEmitter.cpp. JALR and NOP are expanded by function emitPseudoExpansionLowering, which is not called when the old JIT is used. This fixes the following tests which have been failing on llvm-mips-linux builder: LLVM :: ExecutionEngine__2003-01-04-LoopTest.ll LLVM :: ExecutionEngine__2003-05-06-LivenessClobber.ll LLVM :: ExecutionEngine__2003-06-04-bzip2-bug.ll LLVM :: ExecutionEngine__2005-12-02-TailCallBug.ll LLVM :: ExecutionEngine__2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll LLVM :: ExecutionEngine__hello2.ll LLVM :: ExecutionEngine__stubs.ll LLVM :: ExecutionEngine__test-branch.ll LLVM :: ExecutionEngine__test-call.ll LLVM :: ExecutionEngine__test-common-symbols.ll LLVM :: ExecutionEngine__test-loadstore.ll LLVM :: ExecutionEngine__test-loop.ll llvm-svn: 174912
-
Akira Hatanaka authored
llvm-svn: 174907
-
- Feb 08, 2013
-
-
Reed Kotler authored
same so we put in the comment field an indicator when we think we are emitting the 16 bit version. For the direct object emitter, the difference is important as well as for other passes which need an accurate count of program size. There will be other similar putbacks to this for various instructions. llvm-svn: 174747
-
Reed Kotler authored
allowed size for the instruction. This code uses RegScavenger to fix this. We sometimes need 2 registers for Mips16 so we must handle things differently than how register scavenger is normally used. llvm-svn: 174696
-
- Feb 07, 2013
-
-
Akira Hatanaka authored
llvm-svn: 174666
-
Akira Hatanaka authored
original JALR instruction with one register operand to be a pseudo-instruction. llvm-svn: 174657
-
Reed Kotler authored
For example, when we are doing mips16 hard float or soft float. llvm-svn: 174583
-
Reed Kotler authored
llvm-svn: 174580
-
- Feb 06, 2013
-
-
Akira Hatanaka authored
llvm-svn: 174546
-
- Feb 05, 2013
-
-
Akira Hatanaka authored
is a vararg function. The original code was examining flag OutputArg::IsFixed to determine whether CC_MipsN_VarArg or CC_MipsN should be called. This is not correct, since this flag is often set to false when the function being analyzed is a non-variadic function. llvm-svn: 174442
-
Jakob Stoklund Olesen authored
llvm-svn: 174410
-
Jack Carter authored
MicroMips architectures. Contributer: Zoran Jovanovic llvm-svn: 174360
-
Jack Carter authored
and enables the instruction printer to print aliased instructions. Due to usage of RegisterOperands a change in common code (utils/TableGen/AsmWriterEmitter.cpp) is required to get the correct register value if it is a RegisterOperand. Contributer: Vladimir Medic llvm-svn: 174358
-
Jack Carter authored
for MipsELFStreamer objects. Contributer: Jack Carter llvm-svn: 174354
-
- Feb 02, 2013
-
-
Reed Kotler authored
This checkin makes hello world work. llvm-svn: 174264
-
- Jan 31, 2013
-
-
Chad Rosier authored
Each target implementation was needlessly recomputing the index. Part of rdar://13076458 llvm-svn: 174083
-
- Jan 30, 2013
-
-
David Blaikie authored
llvm-svn: 173888
-
David Blaikie authored
llvm-svn: 173887
-
Jack Carter authored
llvm-svn: 173886
-
Jack Carter authored
setting of ELF header e_flags. Contributer: Jack Carter llvm-svn: 173884
-
Jack Carter authored
and update ELF header e_flags. Currently gathering information such as symbol, section and data is done by collecting it in an MCAssembler object. From MCAssembler and MCAsmLayout objects ELFObjectWriter::WriteObject() forms and streams out the ELF object file. This patch just adds a few members to the MCAssember class to store and access the e_flag settings. It allows for runtime additions to the e_flag by assembler directives. The standalone assembler can get to MCAssembler from getParser().getStreamer().getAssembler(). This patch is the generic infrastructure and will be followed by patches for ARM and Mips for their target specific use. Contributer: Jack Carter llvm-svn: 173882
-
Akira Hatanaka authored
Patch by Sasa Stankovic. llvm-svn: 173862
-
- Jan 29, 2013
-
-
Evan Cheng authored
conditions are met: 1. They share the same operand and are in the same BB. 2. Both outputs are used. 3. The target has a native instruction that maps to ISD::FSINCOS node or the target provides a sincos library call. Implemented the generic optimization in sdisel and enabled it for Mac OSX. Also added an additional optimization for x86_64 Mac OSX by using an alternative entry point __sincos_stret which returns the two results in xmm0 / xmm1. rdar://13087969 PR13204 llvm-svn: 173755
-
- Jan 28, 2013
-
-
Craig Topper authored
llvm-svn: 173664
-
Reed Kotler authored
llvm-svn: 173649
-
- Jan 26, 2013
-
-
Reed Kotler authored
llvm-svn: 173563
-
- Jan 25, 2013
-
-
Jack Carter authored
directive for the Mips assembler. Contributer: Vladimir Medic llvm-svn: 173407
-
Akira Hatanaka authored
llvm-svn: 173401
-
- Jan 24, 2013
-
-
NAKAMURA Takumi authored
FIXME: Could they, unreachable(s), be removed? FIXME: I could prefer the coding standards... llvm-svn: 173325
-
NAKAMURA Takumi authored
...and fix a typo, s/#ifdef/#ifndef/ llvm-svn: 173324
-
NAKAMURA Takumi authored
llvm-svn: 173323
-