Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Punctuation. | Michael J. Spencer | 2010-10-05 | 1 | -1/+1 |
| | | | | llvm-svn: 115657 | ||||
* | MC-COFF: Fix (PR8278) temporary symbol relocations. | Michael J. Spencer | 2010-10-05 | 1 | -1/+2 |
| | | | | llvm-svn: 115656 | ||||
* | Add support for a fill value in the .zero directive. | Rafael Espindola | 2010-10-05 | 1 | -1/+8 |
| | | | | llvm-svn: 115655 | ||||
* | Tweak VNInfo printing. | Jakob Stoklund Olesen | 2010-10-05 | 1 | -0/+2 |
| | | | | llvm-svn: 115650 | ||||
* | Add assert for valid slot indexes. | Jakob Stoklund Olesen | 2010-10-05 | 1 | -0/+1 |
| | | | | llvm-svn: 115649 | ||||
* | Increase the number of bits used internally by the ARM target to represent the | Jim Grosbach | 2010-10-05 | 2 | -16/+16 |
| | | | | | | addressing mode from four to five. llvm-svn: 115645 | ||||
* | Implement a simple alias case and refactor the code a bit so that the | Rafael Espindola | 2010-10-05 | 1 | -17/+35 |
| | | | | | | isInSymtab and isLocal logic in the two loops don't get easily out of sync. llvm-svn: 115643 | ||||
* | Use a more efficient lowering of uint64_t --> float that can take advantage ↵ | Owen Anderson | 2010-10-05 | 1 | -6/+28 |
| | | | | | | | | | of hardware signed integer conversion without having to do a double cast (uint64_t --> double --> float). This is based on the algorithm from compiler_rt's __floatundisf for X86-64. llvm-svn: 115634 | ||||
* | move 64-bit add and adc to InstrArithmetic. | Chris Lattner | 2010-10-05 | 2 | -113/+83 |
| | | | | llvm-svn: 115632 | ||||
* | rewrote two addr constraints so that they are only set, not set and then ↵ | Chris Lattner | 2010-10-05 | 1 | -321/+343 |
| | | | | | | nestedly cleared. llvm-svn: 115631 | ||||
* | split the 32-bit integer arithmetic instructions out to their own file. | Chris Lattner | 2010-10-05 | 2 | -1226/+1246 |
| | | | | llvm-svn: 115627 | ||||
* | Produce a undefined reference to _GLOBAL_OFFSET_TABLE_ when needed. | Rafael Espindola | 2010-10-05 | 1 | -1/+25 |
| | | | | llvm-svn: 115623 | ||||
* | After printing "Running 'Graphviz' program... " and running the | Dan Gohman | 2010-10-05 | 1 | -6/+10 |
| | | | | | | | Graphviz program, print something with a newline, to avoid leaving the line unfinished. llvm-svn: 115620 | ||||
* | On ELF we need to know which symbols are used in relocations to decide if | Rafael Espindola | 2010-10-05 | 4 | -77/+47 |
| | | | | | | | they should be in the symbol table or not. Instead of "guessing", just compute the symbol table after the relocations are known. llvm-svn: 115619 | ||||
* | integrate the 64-bit shifts into X86InstrShiftRotate.td. Enough for tonight. | Chris Lattner | 2010-10-05 | 2 | -302/+249 |
| | | | | llvm-svn: 115608 | ||||
* | move 32-bit shift and rotates out to their own file. | Chris Lattner | 2010-10-05 | 2 | -555/+579 |
| | | | | llvm-svn: 115607 | ||||
* | add new file | Chris Lattner | 2010-10-05 | 1 | -0/+162 |
| | | | | llvm-svn: 115606 | ||||
* | move sign and zero extensions out to their own file. | Chris Lattner | 2010-10-05 | 2 | -158/+7 |
| | | | | llvm-svn: 115605 | ||||
* | move some instructions from Instr64Bit -> InstrInfo. | Chris Lattner | 2010-10-05 | 3 | -98/+87 |
| | | | | | | bswap32 doesn't read eflags. llvm-svn: 115604 | ||||
* | move CMOV_FR32 and friends to InstrCompiler, since they are | Chris Lattner | 2010-10-05 | 4 | -57/+63 |
| | | | | | | | | pseudo instructions. Move POPCNT to InstrSSE since they are SSE4 instructions. llvm-svn: 115603 | ||||
* | move various pattern matching support goop out of X86Instr64Bit, to live | Chris Lattner | 2010-10-05 | 3 | -87/+70 |
| | | | | | | with the 32-bit stuff. llvm-svn: 115602 | ||||
* | split conditional moves and setcc's out to their own file. | Chris Lattner | 2010-10-05 | 4 | -814/+838 |
| | | | | llvm-svn: 115601 | ||||
* | move string pseudo instructions to InstrCompiler consolidate 64-bit and ↵ | Chris Lattner | 2010-10-05 | 3 | -35/+36 |
| | | | | | | 32-bit together. llvm-svn: 115600 | ||||
* | move the atomic pseudo instructions out to X86InstrCompiler.td | Chris Lattner | 2010-10-05 | 4 | -393/+388 |
| | | | | llvm-svn: 115599 | ||||
* | move more pseudo instructions out to X86InstrCompiler.td | Chris Lattner | 2010-10-05 | 3 | -156/+153 |
| | | | | llvm-svn: 115598 | ||||
* | move VMX instructions out to their own file. | Chris Lattner | 2010-10-05 | 2 | -40/+56 |
| | | | | llvm-svn: 115597 | ||||
* | continue moving stuff out to X86InstrSystem.td. Move | Chris Lattner | 2010-10-05 | 5 | -1363/+1369 |
| | | | | | | | | control flow stuff out to X86InstrControl.td. Move some compiler pseudo instructions and Pat<> patterns out to X86InstrCompiler.td llvm-svn: 115596 | ||||
* | fix MSVC 2010 build. | Michael J. Spencer | 2010-10-05 | 1 | -1/+2 |
| | | | | llvm-svn: 115594 | ||||
* | Cleanup Whitespace. | Michael J. Spencer | 2010-10-05 | 1 | -11/+11 |
| | | | | llvm-svn: 115593 | ||||
* | refactor .td files a bit, moving system instructions out to X86InstrSystem.td | Chris Lattner | 2010-10-05 | 4 | -315/+316 |
| | | | | llvm-svn: 115591 | ||||
* | Re-apply r115363 and r115366 now that r115525 has removed the un-needed header | Jim Grosbach | 2010-10-05 | 9 | -4/+4 |
| | | | | | | | | | that caused the circular dependencies on Linux. Built OK for me on OSX and Linux (Ubuntu) with configure/make and CMake. Will keep an eye on the bots.... llvm-svn: 115582 | ||||
* | This DAG combine BRCOND transformation can look pass truncate of the operand: | Evan Cheng | 2010-10-04 | 1 | -13/+18 |
| | | | | | | | | | | | | | | | | | | | | // %a = ... // %b = and i32 %a, 2 // %c = srl i32 %b, 1 // brcond i32 %c ... // // into // // %a = ... // %b = and i32 %a, 2 // %c = setcc eq %b, 0 // brcond %c ... Make sure it restores local variable N1, which corresponds to the condition operand if it fails to match. This apparently breaks TCE but since that backend isn't in the tree I don't have a test for it. llvm-svn: 115571 | ||||
* | The pshufw instruction came about in MMX2 when SSE was introduced. Don't place | Bill Wendling | 2010-10-04 | 2 | -10/+40 |
| | | | | | | | | | it in with the SSSE3 instructions. Steward! Could you place this chair by the aft sun deck? I'm trying to get away from the Astors. They are such boors! llvm-svn: 115552 | ||||
* | Incorporate suggestions by Daniel Dunbar after his review. Thanks Daniel! | Kevin Enderby | 2010-10-04 | 3 | -9/+5 |
| | | | | | | | | | | | | | | | | 1) Changed ValidateDwarfFileNumber() to isValidDwarfFileNumber() to be better named. Since it is just a predicate and isn't actually changing any state. 2) Added a missing return in the comments for setCurrentDwarfLoc() in include/llvm/MC/MCContext.h for fix formatting. 3) Changed clearDwarfLocSeen() to ClearDwarfLocSeen() since it does change state. 4) Simplified the last test in isValidDwarfFileNumber() to just a one line boolean test of MCDwarfFiles[FileNumber] != 0 for the final return statement. llvm-svn: 115551 | ||||
* | Implement ELF::R_X86_64_GOTPCREL. | Rafael Espindola | 2010-10-04 | 1 | -0/+3 |
| | | | | llvm-svn: 115547 | ||||
* | Move isFixupKindX86PCRel. | Rafael Espindola | 2010-10-04 | 1 | -12/+12 |
| | | | | llvm-svn: 115545 | ||||
* | Produce a R_X86_64_PLT32 when needed. | Rafael Espindola | 2010-10-04 | 1 | -1/+10 |
| | | | | llvm-svn: 115541 | ||||
* | Produce a R_X86_64_GOT32 when needed. | Rafael Espindola | 2010-10-04 | 1 | -1/+12 |
| | | | | llvm-svn: 115537 | ||||
* | Remove unneeded header | Jim Grosbach | 2010-10-04 | 1 | -1/+0 |
| | | | | llvm-svn: 115525 | ||||
* | Add hook in MCSection to decide when to use "optimized nops", for each | Jan Wen Voung | 2010-10-04 | 6 | -7/+19 |
| | | | | | | | section kind. Previously, optimized nops were only used for MachO. Also added tests for ELF and COFF. llvm-svn: 115523 | ||||
* | Don't add the operand count to SCEV uniquing data; FoldingSetNodeID | Dan Gohman | 2010-10-04 | 1 | -5/+0 |
| | | | | | | already knows its own length, so this is redundant. llvm-svn: 115521 | ||||
* | Include the section address in the computation of the relocation. | Rafael Espindola | 2010-10-04 | 1 | -1/+8 |
| | | | | llvm-svn: 115509 | ||||
* | Correctly compute the relocation when it is not in the first fragment. | Rafael Espindola | 2010-10-04 | 1 | -1/+1 |
| | | | | llvm-svn: 115506 | ||||
* | Removed the older style (in-allocator) problem construction system from the ↵ | Lang Hames | 2010-10-04 | 1 | -628/+9 |
| | | | | | | PBQP allocator. Problem construction is now done exclusively with the new builders. llvm-svn: 115502 | ||||
* | va_args support for Win64. | Anton Korobeynikov | 2010-10-03 | 2 | -22/+26 |
| | | | | | | Patch by Cameron! llvm-svn: 115480 | ||||
* | Properly emit stack probe on win64 (for non-mingw targets). | Anton Korobeynikov | 2010-10-03 | 2 | -35/+51 |
| | | | | | | Based on the patch by Cameron Esfahani! llvm-svn: 115479 | ||||
* | Add 3DNowA instructions. | Eli Friedman | 2010-10-03 | 1 | -2/+6 |
| | | | | llvm-svn: 115477 | ||||
* | the immediate field of pshufw is actually an 8-bit field, not a 8-bit field ↵ | Chris Lattner | 2010-10-03 | 1 | -2/+2 |
| | | | | | | that is sign extended. This fixes PR8288 llvm-svn: 115473 | ||||
* | Jim Asked us to move DataLayout on ARM back to the most specialized classes. Do | Rafael Espindola | 2010-10-03 | 10 | -75/+97 |
| | | | | | | | | so and also change X86 for consistency. Investigating if this can be improved a bit. llvm-svn: 115469 | ||||
* | add support for the prefetch/prefetchw instructions, move femms into | Chris Lattner | 2010-10-03 | 2 | -13/+22 |
| | | | | | | | the right file. The assembler supports all the 3dnow instructions now, but not the "3dnowa" ones. llvm-svn: 115468 |