summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCInstrFormats.td
Commit message (Collapse)AuthorAgeFilesLines
...
* implement the vsldoi intrinsic.Chris Lattner2006-03-261-0/+18
| | | | llvm-svn: 27139
* Fix the JIT encoding of the VAForm_1 instructions, including vmaddfpChris Lattner2006-03-221-1/+1
| | | | llvm-svn: 26935
* Mark instructions that are cracked by the PPC970 decoder as such.Chris Lattner2006-03-131-5/+4
| | | | llvm-svn: 26720
* Several big changes:Chris Lattner2006-03-121-1/+21
| | | | | | | | | | | 1. Use flags on the instructions in the .td file to indicate the PPC970 unit type instead of a table in the .cpp file. Much cleaner. 2. Change the hazard recognizer to build d-groups according to the actual algorithm used, not my flawed understanding of it. 3. Model "must be in the first slot" and "must be the only instr in a group" accurately. llvm-svn: 26719
* PHI and INLINEASM are now built-in instructions provided by Target.tdChris Lattner2006-01-271-2/+1
| | | | llvm-svn: 25674
* Pattern-match return. Includes gross hack!Nate Begeman2005-12-201-3/+5
| | | | llvm-svn: 24874
* Add support for fmul node of type v4f32.Nate Begeman2005-12-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | void %foo(<4 x float> * %a) { entry: %tmp1 = load <4 x float> * %a; %tmp2 = mul <4 x float> %tmp1, %tmp1 store <4 x float> %tmp2, <4 x float> *%a ret void } Is selected to: _foo: li r2, 0 lvx v0, r2, r3 vxor v1, v1, v1 vmaddfp v0, v0, v0, v1 stvx v0, r2, r3 blr llvm-svn: 24701
* Add support patterns to many load and store instructions which willNate Begeman2005-12-091-29/+40
| | | | | | hopefully use patterns in the near future. llvm-svn: 24651
* Define BR in the .td file now that Evan made tblgen smarter.Chris Lattner2005-12-041-1/+2
| | | | llvm-svn: 24589
* Represent the encoding of the SPR instructions as they actually are, soNate Begeman2005-11-291-2/+10
| | | | | | | that we can use the correct SPR numbers in the InstrInfo.td file. This is necessary to support VRsave. llvm-svn: 24521
* Add the remainder of the AltiVec 4 x float instructions. FurtherNate Begeman2005-11-291-0/+14
| | | | | | | enhancements will be necessary to teach the code generator that since there is no fmul, it will have to do vmaddfp, adding +0.0. llvm-svn: 24516
* Small tweaks noticed while on the plane.Nate Begeman2005-11-261-0/+6
| | | | llvm-svn: 24492
* Some first bits of AltiVec stuff: Instruction Formats, Encodings, andNate Begeman2005-11-231-0/+45
| | | | | | | | | | Registers. Apologies to Jim if the scheduling info so far isn't accurate. There's a few more things like VRsave support that need to be finished up in my local tree before I can commit code that Does The Right Thing for turning 4 x float into the various altivec packed float instructions. llvm-svn: 24489
* Allow pseudos to have patterns, no functionality changeChris Lattner2005-10-251-2/+2
| | | | llvm-svn: 23988
* Added InstrSchedClass to each of the PowerPC Instructions.Jim Laskey2005-10-191-106/+141
| | | | | | | Note that when adding new instructions that you should refer to the table at the bottom of PPCSchedule.td. llvm-svn: 23830
* Write patterns for the various shl and srl patterns that don't involveNate Begeman2005-10-191-4/+10
| | | | | | doing something clever. llvm-svn: 23824
* Rename PowerPC*.td -> PPC*.tdChris Lattner2005-10-141-0/+518
llvm-svn: 23740
OpenPOWER on IntegriCloud