summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
* Adds extern "C" ints to the .cpp files that use RegisterTarget, asOscar Fuentes2008-11-1513-0/+91
| | | | | | | | | | | well as 2 files that use "Registrator"s. These are to be used by the MSVC builds, as the Win32 linker does not include libs that are otherwise unreferenced, even if global constructors in the lib have side-effects. Patch by Scott Graham! llvm-svn: 59378
* Fix fuitos encoding.Evan Cheng2008-11-151-8/+4
| | | | llvm-svn: 59344
* Fix MOVrx, MOVsrl_flag, and MOVsra_flag encodings.Evan Cheng2008-11-142-4/+52
| | | | llvm-svn: 59314
* Remove unneeded stuff from GRAD register class.Dale Johannesen2008-11-141-19/+1
| | | | llvm-svn: 59311
* [XCore] Remove whitespace in the description used whenRichard Osborne2008-11-141-1/+1
| | | | | | registering XCoreTargetMachine. llvm-svn: 59308
* [XCore] Fix expansion of 64 bit add/sub. Don't custom expandRichard Osborne2008-11-142-23/+13
| | | | | | | these operations if ladd/lsub are not available on the current subtarget. llvm-svn: 59305
* Add XCore intrinsics for getid (returns thread id) and bitrev (reversesRichard Osborne2008-11-142-5/+4
| | | | | | bits in a word). llvm-svn: 59296
* Handle the rest of pseudo instructions.Evan Cheng2008-11-133-54/+71
| | | | llvm-svn: 59275
* Lazy compilation callback save / restore VFP registers.Evan Cheng2008-11-131-0/+9
| | | | llvm-svn: 59274
* Extend InlineAsm::C_Register to allow multiple specific registersDale Johannesen2008-11-132-5/+27
| | | | | | | | (actually, code already all worked, only the comment changed). Use this to implement 'A' constraint on x86. Fixes PR 1779. llvm-svn: 59266
* Don't forget to emit stubs for function GV's emitted in CONSTPOOL_ENTRY's.Evan Cheng2008-11-131-3/+10
| | | | llvm-svn: 59258
* fsub{d|s} encoding bugs.Evan Cheng2008-11-131-2/+6
| | | | llvm-svn: 59234
* Missed a break statement.Evan Cheng2008-11-131-0/+1
| | | | llvm-svn: 59231
* Fix pre- and post-indexed load / store encoding bugs.Evan Cheng2008-11-134-70/+98
| | | | llvm-svn: 59230
* Move the code that inserts X87 FP_REG_KILL instructions from aDan Gohman2008-11-125-80/+148
| | | | | | | | special-purpose hook to a new pass. Also, add check to see if any x87 virtual registers are used, to avoid doing any work in the common case that no x87 code is needed. llvm-svn: 59190
* Remove the incorrect assertion. We don't have enough information before ↵Evan Cheng2008-11-121-2/+1
| | | | | | relocation to set U bit. llvm-svn: 59170
* Address mode immediate offset has already been divided by 4.Evan Cheng2008-11-121-2/+1
| | | | llvm-svn: 59117
* Fix a VFP binary arithmetic instruction encoding bug.Evan Cheng2008-11-121-1/+1
| | | | llvm-svn: 59116
* Fix address mode 3 immediate offset mode encoding.Evan Cheng2008-11-122-5/+7
| | | | llvm-svn: 59109
* Consolidate formats; fix FCMPED etc. encodings.Evan Cheng2008-11-125-168/+120
| | | | llvm-svn: 59107
* Fix VFP conversion instruction encodings.Evan Cheng2008-11-124-86/+123
| | | | llvm-svn: 59104
* Fix encoding of single-precision VFP registers.Evan Cheng2008-11-124-40/+174
| | | | llvm-svn: 59102
* VFP fld / fst immediate field is multiplied by 4.Evan Cheng2008-11-123-19/+37
| | | | llvm-svn: 59100
* This shouldn't be necessaryAndrew Lenharth2008-11-111-1/+2
| | | | llvm-svn: 59090
* Fix FMDRR encoding.Evan Cheng2008-11-114-26/+51
| | | | llvm-svn: 59088
* Handle floating point constpool_entry's.Evan Cheng2008-11-111-4/+25
| | | | llvm-svn: 59087
* Encode VFP load / store instructions.Evan Cheng2008-11-114-104/+220
| | | | llvm-svn: 59084
* Encode VFP conversion instructions.Evan Cheng2008-11-114-35/+126
| | | | llvm-svn: 59074
* Add a README entry.Evan Cheng2008-11-111-0/+17
| | | | llvm-svn: 59052
* CMake: corrected split of Alpha and Sparc AsmPrinters.Oscar Fuentes2008-11-112-4/+2
| | | | llvm-svn: 59050
* Separate sparc asmprinter. This should unbreak the native buildAnton Korobeynikov2008-11-114-1/+27
| | | | llvm-svn: 59047
* Separate alpha asmprinter. This should unbreak native build.Anton Korobeynikov2008-11-114-1/+27
| | | | llvm-svn: 59046
* The 32-bit displacement field in an x86 address is signed. Arrange for itDan Gohman2008-11-111-10/+13
| | | | | | | | | | | | to be sign-extended when it is promoted to 64 bits for intermediate offset calculations. The offset calculations are done as uint64_t so that overflow conditions are well defined. This fixes a problem which is currently hidden by the x86 AsmPrinter but which was exposed by r58917 (which is temporarily reverted). See PR3027 for details. llvm-svn: 59044
* fix another libgcc blockerAndrew Lenharth2008-11-111-0/+1
| | | | llvm-svn: 59026
* Unbreak the buildbot and back out (inadvertant) casting edits in CellSPUScott Michel2008-11-111-7/+7
| | | | | | backend. llvm-svn: 59018
* Encode VFP arithmetic instructions.Evan Cheng2008-11-114-108/+226
| | | | llvm-svn: 59016
* CellSPU: Fix bug 3606, as well as some ongoing work.Scott Michel2008-11-103-12/+58
| | | | llvm-svn: 59009
* Correct PIC function stub codegen.Evan Cheng2008-11-102-7/+52
| | | | llvm-svn: 59006
* Fix indentation.Dan Gohman2008-11-101-1/+1
| | | | llvm-svn: 59004
* Added CONVERT_RNDSAT (conversion with rounding and saturation) SDNode toMon P Wang2008-11-101-0/+54
| | | | | | | support targets that support these conversions. Users should avoid using this node as the current targets don't generating code for it. llvm-svn: 59001
* Rename isGVNonLazyPtr to isIndirectSym to reflect how it will be used.Evan Cheng2008-11-106-27/+27
| | | | llvm-svn: 58949
* Typo fixAnton Korobeynikov2008-11-091-1/+1
| | | | llvm-svn: 58928
* Temporary revert my last commit: it seems it's triggering some subtle bug in ↵Anton Korobeynikov2008-11-084-9/+31
| | | | | | | | backend and breaks llvm-gcc llvm-svn: 58926
* CMake: corrected library target name for dependency: LLVMCellSPU ->Oscar Fuentes2008-11-081-1/+1
| | | | | | LLVMCellSPUCodeGen. llvm-svn: 58925
* CMake: Reflected changes on the CellSPU target build. May require aOscar Fuentes2008-11-082-2/+13
| | | | | | clean start. llvm-svn: 58924
* Fixed a pasto.Oscar Fuentes2008-11-081-1/+2
| | | | llvm-svn: 58923
* CellSPU: Bring SPU's assembly printer more in-line with current LLVM codeScott Michel2008-11-085-647/+627
| | | | | | structure. Assembly printer now outputs the correct section for strings. llvm-svn: 58921
* Factor out offset printing code into generic AsmPrinter.Anton Korobeynikov2008-11-084-31/+9
| | | | | | | FIXME: it seems, that most of targets don't support offsets wrt CPI/GlobalAddress', was it intentional? llvm-svn: 58917
* The Index field of an AttributeWithIndex is of type unsigned, not uint16_t.Nicolas Geoffray2008-11-081-2/+2
| | | | llvm-svn: 58908
* StoreInst does not produce any result thus it's useless to create newAnton Korobeynikov2008-11-081-1/+1
| | | | | | | variable for it. This greatly reduces amount of unused variables in llvm2cpp-generated code llvm-svn: 58905
OpenPOWER on IntegriCloud