summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Modernize testcaseChris Lattner2003-06-041-8/+8
| | | | llvm-svn: 6600
* Implement combination of boolean not with branchChris Lattner2003-06-041-0/+14
| | | | llvm-svn: 6599
* Add new test for inverting branchesChris Lattner2003-06-041-0/+10
| | | | llvm-svn: 6598
* Comment out opcodes currently unused in the Sparc backend.Misha Brukman2003-06-041-0/+3
| | | | llvm-svn: 6597
* No really, you _cannot use_ getelementptr on an unsized type: that makesChris Lattner2003-06-041-5/+1
| | | | | | no sense. llvm-svn: 6595
* Added instruction format class 3.15 and floating-point compare instructions.Misha Brukman2003-06-042-11/+22
| | | | llvm-svn: 6594
* Undo one of those last fixes -- it was incorrect.Vikram S. Adve2003-06-041-3/+5
| | | | llvm-svn: 6593
* Sparc's dlsym() requires the special operand RTLD_SELF to find a symbol in theMisha Brukman2003-06-041-0/+4
| | | | | | currently-running process. llvm-svn: 6592
* Avoid generating a getelementptr instruction of a functionChris Lattner2003-06-041-1/+1
| | | | llvm-svn: 6591
* Pass through the emitConstantPool() call to the real emitter.Misha Brukman2003-06-031-0/+4
| | | | llvm-svn: 6590
* Make the write*map methods more self-contained. Document some more.Brian Gaeke2003-06-031-42/+57
| | | | llvm-svn: 6589
* Improved how tracing can be used:Vikram S. Adve2003-06-031-4/+10
| | | | | | | -- added new targets %.trace-out-llc and %.trace-out-cbe -- either TRACE=yes or TRACEM=yes is still needed and chooses how to trace llvm-svn: 6585
* Minor cleanups:Chris Lattner2003-06-031-52/+29
| | | | | | | | * Document the MOTy namespace correctly for doxygen * Eliminate usage of the MachineOpCode typedef, which should eventually be eliminated entirely. llvm-svn: 6584
* Remove usage of typedefChris Lattner2003-06-031-4/+2
| | | | llvm-svn: 6583
* Remove use of enumChris Lattner2003-06-031-4/+4
| | | | llvm-svn: 6582
* Add namespace comments for doxygenChris Lattner2003-06-032-5/+6
| | | | llvm-svn: 6581
* There are now no uses of NonCopyableVChris Lattner2003-06-031-11/+0
| | | | llvm-svn: 6580
* Add doxygen comment for namespaceChris Lattner2003-06-031-1/+4
| | | | llvm-svn: 6579
* Add comment for doxygen for namespaceChris Lattner2003-06-031-0/+4
| | | | llvm-svn: 6578
* Minor cleanups:Chris Lattner2003-06-031-26/+36
| | | | | | | | * LLVM #include should use "", not <> * Fix line wrapping * Remove noncopyable base class to improve doxygen output llvm-svn: 6577
* Remove noncopyable base class as it was making the doxygen docs harder to readChris Lattner2003-06-031-2/+3
| | | | llvm-svn: 6576
* Remove noncopyableV base classes, as they were confusing the doxygen ↵Chris Lattner2003-06-034-10/+19
| | | | | | | | documentation, making it harder to read. llvm-svn: 6575
* I documented this file, in an attempt to understand it, with a view towardBrian Gaeke2003-06-031-56/+73
| | | | | | | | | | | rewriting it. I also vacuumed out all the commented-out code and inaccurate comments, etc. (We need to put the mapping information in a data structure so that we can pass it out to the JIT, instead of automagically converting it to .byte directives.) llvm-svn: 6574
* Spiff up options a bitChris Lattner2003-06-031-2/+3
| | | | llvm-svn: 6573
* Use the new -o tablegen optionChris Lattner2003-06-031-4/+1
| | | | llvm-svn: 6572
* Add -o support for TableGenChris Lattner2003-06-031-4/+25
| | | | | | | I figure that misha has done a lot of things on my todo list, the least I can do is reciprocate a bit. :) llvm-svn: 6571
* Make tablegen use more structured command line optionsChris Lattner2003-06-031-16/+33
| | | | llvm-svn: 6570
* Fix minor bugChris Lattner2003-06-031-2/+2
| | | | llvm-svn: 6569
* Constants are laid out in memory in PC-relative form.Misha Brukman2003-06-031-1/+1
| | | | llvm-svn: 6568
* Added opcode conversion for conditional move of integers.Misha Brukman2003-06-031-0/+50
| | | | llvm-svn: 6567
* * Convert load/store opcodes from register to immediate forms.Misha Brukman2003-06-031-9/+11
| | | | | | * Stop code from wrapping to the next line. llvm-svn: 6566
* Convert load/store opcodes from register to immediate forms, if necessary.Misha Brukman2003-06-031-4/+13
| | | | llvm-svn: 6565
* Store instructions are different from other Format 3.1/3.2 instructions in thatMisha Brukman2003-06-032-7/+43
| | | | | | | they prefer the destination register to be last. Thus, two new classes were made for them that accomodate for having this layout of operands (F3_1rd, F3_2rd). llvm-svn: 6564
* Moved code to modify the opcode from 'reg' to 'imm' form to a more logical ↵Misha Brukman2003-06-031-15/+6
| | | | | | place. llvm-svn: 6563
* * Added section A.34: Move FP register on int reg condition (FMOVr)Misha Brukman2003-06-031-13/+42
| | | | | | | * Labeled sections that are not currently used in the Sparc backend as not requiring completion at this time. llvm-svn: 6562
* * Removed unused classes (rd field is always mentioned last); fixed comments.Misha Brukman2003-06-031-38/+34
| | | | | | | * Added instruction classes which start building from rs1, then rs2, and rd. * Fixed order of operands in classes 4.1 and 4.2; added 4.6 . llvm-svn: 6561
* * Removed unused classes: the rd field is always mentioned as the last reg.Misha Brukman2003-06-031-57/+19
| | | | | | | | | * Added new classes which start building from rs1, adding rs2, and then rd. * Fixed order of operands in classes 3.11, 3.12, 3.16, and 3.17 . * Fixed comments to reflect Real Life (tm). * Removed "don't care" commented out assignments and dead classes (#if 0). llvm-svn: 6560
* The rd field goes after the immediate field in format 2.1 instructions.Misha Brukman2003-06-031-2/+1
| | | | llvm-svn: 6559
* Removing personal name from source code.Misha Brukman2003-06-031-1/+1
| | | | llvm-svn: 6558
* Added the `to' keyword as in `cast <type> <data> to <type>'.Misha Brukman2003-06-031-7/+4
| | | | | | Cleaned up the header of the file (comments/description/etc). llvm-svn: 6557
* * Added the `to' keyword, as in `cast <type> <data> to <type>'.Misha Brukman2003-06-031-8/+8
| | | | | | | * Gave the file a maintainer. * Cleaned up the layout somewhat. llvm-svn: 6556
* Stop ignoring the `cc' field, we actually use it now (e.g. conditional move)Misha Brukman2003-06-031-2/+1
| | | | llvm-svn: 6555
* Moved FInfo.cpp to lib/Target/Sparc as it is Sparc-specific.Misha Brukman2003-06-021-73/+0
| | | | llvm-svn: 6554
* Minor cleanups.Chris Lattner2003-06-021-6/+4
| | | | | | | This pass should be moved to lib/Target/Sparc since it's sparc specific It also needs a file comment. llvm-svn: 6553
* Remove usage of noncopyable classes to clean up doxygen output.Chris Lattner2003-06-022-22/+25
| | | | | | | In particular these classes are the last that link the noncopyable classes with the hash_map, vector, and list classes. llvm-svn: 6552
* Remove NonCopyable base class to clean up doxygen outputChris Lattner2003-06-021-3/+3
| | | | llvm-svn: 6551
* Add #includeChris Lattner2003-06-021-0/+1
| | | | llvm-svn: 6550
* Added MOVR (move int reg on register condition), aka comparison with zero.Misha Brukman2003-06-023-8/+48
| | | | | | | None of these instructions are actually used in the Sparc backend, so no changes were required in the instruction selector. llvm-svn: 6549
* SparcInstr.def: added 'r' and 'i' versions of MOV(F)cc instructionsMisha Brukman2003-06-024-85/+193
| | | | | | | | | | | | | | | SparcInstrSelection.cpp: * Fixed opcodes to return correct 'i' version since the two functions are each only used in one place. * Changed name of function to have an 'i' in the name to signify that they each return an immediate form of the opcode. * Added a warning if either of the functions is ever used in a context which requires a register-version opcode. SparcV9_F4.td: fixed class F4_3, added F4_4 and notes that F4_{1,2} need fixing SparcV9.td: added the MOV(F)cc instructions llvm-svn: 6548
* Removed a useless ofstream.Misha Brukman2003-06-021-8/+2
| | | | llvm-svn: 6547
OpenPOWER on IntegriCloud