summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
* Do not create calls via PLT in compilation callback - this is higly platformAnton Korobeynikov2009-09-061-11/+12
| | | | | | dependent. Hopefully, this will fix PR3801. llvm-svn: 81132
* Remove a left over bit of code with no effect.Duncan Sands2009-09-061-3/+1
| | | | llvm-svn: 81128
* Remove unreachable code.Duncan Sands2009-09-061-3/+0
| | | | llvm-svn: 81126
* Avoid an unused variable warning when assertions areDuncan Sands2009-09-061-0/+1
| | | | | | disabled. llvm-svn: 81122
* Mark more constants unsigned, as warned about by icc (#68).Duncan Sands2009-09-061-1/+1
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 81116
* Remove some not-really-used variables, as warnedDuncan Sands2009-09-065-16/+8
| | | | | | about by icc (#593, partial). Patch by Erick Tryzelaar. llvm-svn: 81115
* Remove strange 'const' qualifiers, as warned about by iccDuncan Sands2009-09-061-2/+2
| | | | | | (#411). Patch by Erick Tryzelaar. llvm-svn: 81113
* Remove some unused variables and methods warned about byDuncan Sands2009-09-064-5/+1
| | | | | | icc (#177, partial). Patch by Erick Tryzelaar. llvm-svn: 81106
* Whitespace cleanupJim Grosbach2009-09-041-23/+23
| | | | llvm-svn: 80978
* If we've pushed registers onto the stack, but aren't adjusting the stack pointerBill Wendling2009-09-031-2/+2
| | | | | | | (i.e., there are no local variables and stuff), we still need to output FDE information for the pushed registers. llvm-svn: 80960
* Calls clobber FPSCR.David Goodwin2009-09-032-4/+4
| | | | llvm-svn: 80956
* Recognize more opportunities to use SSE min and max instructions,Dan Gohman2009-09-031-3/+23
| | | | | | swapping the operands if necessary. llvm-svn: 80940
* Fixed a few problems with vector shiftsMon P Wang2009-09-031-6/+39
| | | | | | | | | - when transforming a vector shift of a non-immediate scalar shift amount, zero extend the i32 shift amount to i64 since the vector shift reads 64 bits - when transforming i16 vectors to use a vector shift, zero extend i16 shift amount - improve the code quality in some cases when transforming vectors to use a vector shift llvm-svn: 80935
* Add a -disable-16bit flag and associated support for experimenting withDan Gohman2009-09-033-9/+55
| | | | | | | | | disabling the use of 16-bit operations on x86. This doesn't yet work for inline asms with 16-bit constraints, vectors with 16-bit elements, trampoline code, and perhaps other obscurities, but it's enough to try some experiments. llvm-svn: 80930
* Removed the non-target independent AsmToken::Register enum constantKevin Enderby2009-09-031-8/+11
| | | | | | | | | | from MCAsmLexer.h in preparation of supporting other targets. Changed the X86AsmParser code to reflect this by removing AsmLexer::LexPercent and looking for AsmToken::Percent when parsing in places that used AsmToken::Register. Then changed X86ATTAsmParser::ParseRegister to parse out registers as an AsmToken::Percent followed by an AsmToken::Identifier. llvm-svn: 80929
* CppBackend: avoid printing unnecessary whitespace.Benjamin Kramer2009-09-031-2/+2
| | | | llvm-svn: 80917
* don't call getOffset() on jump tables, this fixes three failing olden benchmarksChris Lattner2009-09-031-1/+1
| | | | | | with the new asmprinter. llvm-svn: 80906
* Implement support for X86II::MO_GOT_ABSOLUTE_ADDRESS. We get veryChris Lattner2009-09-031-15/+26
| | | | | | | | | | | | | | | | | | different formatting from the old asmprinter, but it should be semantically the same. We used to get: popl %eax addl $_GLOBAL_OFFSET_TABLE_ + [.-.Lllvm$6.$piclabel], %eax ... Now we get: popl %eax .Lpicbaseref6: addl $(_GLOBAL_OFFSET_TABLE_ + (.Lpicbaseref6 - .Lllvm$6.$piclabel)), %eax ... llvm-svn: 80905
* Reference to hidden symbols do not have to go through non-lazy pointer in ↵Evan Cheng2009-09-038-32/+53
| | | | | | non-pic mode. rdar://7187172. llvm-svn: 80904
* remove extraneous hack.Chris Lattner2009-09-031-2/+0
| | | | llvm-svn: 80893
* Make these functions static and local.Daniel Dunbar2009-09-032-13/+4
| | | | llvm-svn: 80892
* Thread an MCAsmInfo pointer through the various MC printing APIs, Chris Lattner2009-09-031-3/+3
| | | | | | | and fix a few things using << on MCSymbols to use ->print(). No functionality change other than unbreaking my previous patch. llvm-svn: 80890
* just use dump()Chris Lattner2009-09-031-1/+1
| | | | llvm-svn: 80889
* merge globaladdress symbol processing stuff into other stuff. NowChris Lattner2009-09-032-76/+65
| | | | | | | all global variable operand flag processing stuff is shared between different operand types. llvm-svn: 80886
* Unbreak x86_64 build.Evan Cheng2009-09-031-2/+6
| | | | llvm-svn: 80885
* Split the "operand -> symbol" logic from the "get offset and other mungingChris Lattner2009-09-032-36/+34
| | | | | | from operand" logic. GlobalAddress still todo. llvm-svn: 80884
* implement lowering support for constant pool index operands, this gets a ↵Chris Lattner2009-09-032-13/+52
| | | | | | | | bunch more olden programs working. llvm-svn: 80881
* X86JITInfo::getLazyResolverFunction() should not read cpu id to determine ↵Evan Cheng2009-09-034-33/+25
| | | | | | | | whether sse is available. Just use consult subtarget. No functionality changes. llvm-svn: 80880
* simplify this by using SmallString::str(), much nicer!Chris Lattner2009-09-031-1/+1
| | | | llvm-svn: 80874
* Added opaque 32-, 48-, and 80-bit memory operand types to the X86Sean Callanan2009-09-034-0/+31
| | | | | | | | | instruction tables to support segmented addressing (and other objects of obscure type). Modified the X86 assembly printers to handle these new operand types. Added JMP and CALL instructions that use segmented addresses. llvm-svn: 80857
* More missed vdup patternsAnton Korobeynikov2009-09-021-0/+12
| | | | llvm-svn: 80838
* switch from std::string to SmallString + raw_svector_ostream.Chris Lattner2009-09-021-7/+5
| | | | llvm-svn: 80807
* split mcinst lowering stuff out to its own file.Chris Lattner2009-09-024-262/+293
| | | | llvm-svn: 80806
* Retype from unsigned to CallingConv::ID accordingly. Approved by Bob Wilson.Sandeep Patel2009-09-0231-142/+147
| | | | llvm-svn: 80773
* refactor select 'sched insertion' out to its own method.Chris Lattner2009-09-022-60/+73
| | | | llvm-svn: 80764
* Add support for modeling whether or not the processor has support forChris Lattner2009-09-023-10/+21
| | | | | | | conditional moves as a subtarget feature. This is the easy part of PR4841. llvm-svn: 80763
* Fixed the asmstrings for 8-bit, 16-bit, and 32-bit ADD %rAX, imm instructions.Sean Callanan2009-09-022-3/+28
| | | | | | | Added a 64-bit ADD %RAX, imm32 instruction. Added all 4 forms for AND %rAX, imm and CMP %rAX, imm. llvm-svn: 80746
* Simplify.Daniel Dunbar2009-09-011-18/+8
| | | | llvm-svn: 80729
* Fix what I believe is a copy-n-pasto introduced in r78129.Daniel Dunbar2009-09-011-3/+3
| | | | | | - Bruno, please check!! llvm-svn: 80728
* X86/Encoding: Support ExternalSymbol operands in emitDisplacementField (for ↵Daniel Dunbar2009-09-011-0/+7
| | | | | | consistency). llvm-svn: 80727
* Remove Offset from ExternalSybmol MachineOperands, this is unused (and at ↵Daniel Dunbar2009-09-011-1/+1
| | | | | | least partly unsupported, in X86 encoding at least). llvm-svn: 80726
* reduce size of SmallString to something more reasonableJim Grosbach2009-09-011-1/+1
| | | | llvm-svn: 80710
* Add support for generating code for vst{234}lane intrinsics.Bob Wilson2009-09-014-0/+124
| | | | llvm-svn: 80707
* Use raw_ostream instead of sstreamJim Grosbach2009-09-011-7/+5
| | | | llvm-svn: 80704
* RRX reads CPSR.David Goodwin2009-09-012-1/+4
| | | | llvm-svn: 80699
* Added TEST %rAX, $imm instructions to the Intel tables. These are required ↵Sean Callanan2009-09-012-0/+9
| | | | | | for the X86 disassembler. llvm-svn: 80696
* Reapply 80278Bruno Cardoso Lopes2009-09-014-45/+71
| | | | | | | | Add MO flags to simplify the printing of relocations. Remove the support for printing large code model relocs (which aren't supported anyway). llvm-svn: 80691
* Further refactoring of PIC16 Obj file code.Sanjiv Gupta2009-09-013-19/+26
| | | | llvm-svn: 80670
* Generate code for vld{234}_lane intrinsics.Bob Wilson2009-09-014-0/+130
| | | | llvm-svn: 80656
* Fix compiler warningsJim Grosbach2009-09-012-2/+2
| | | | llvm-svn: 80650
OpenPOWER on IntegriCloud