summaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelPattern.cpp
Commit message (Collapse)AuthorAge
...
* Remove trailing whitespaceMisha Brukman2005-04-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21424 91177308-0d34-0410-b5e6-96231b3b80d8
* fix callsAndrew Lenharth2005-04-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21303 91177308-0d34-0410-b5e6-96231b3b80d8
* a 21264 fix, and fix the operator precidence on an and -> zap check (should ↵Andrew Lenharth2005-04-14
| | | | | | fix hundreds of test cases git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21302 91177308-0d34-0410-b5e6-96231b3b80d8
* WOW, function calls still seem to work after this.Andrew Lenharth2005-04-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21286 91177308-0d34-0410-b5e6-96231b3b80d8
* add matches for SxADDL and company, as well as simplify the SxADDQ codeAndrew Lenharth2005-04-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21281 91177308-0d34-0410-b5e6-96231b3b80d8
* added all flavors of zap for andingAndrew Lenharth2005-04-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21276 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove support for ZERO_EXTEND_INREG. This pessimizes code, genering stuffChris Lattner2005-04-13
| | | | | | | | | | | | | | | | | | like this: ldah $1,1($31) lda $1,-1($1) and $0,$1,$24 instead of this: zap $0,252,$24 To get this back, the selector should recognize the ISD::AND case where this happens and emit the appropriate ZAP instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21270 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of idefs for arguments (oops)Andrew Lenharth2005-04-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21251 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of idefs for argumentsAndrew Lenharth2005-04-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21250 91177308-0d34-0410-b5e6-96231b3b80d8
* This target does not support/want ISD::BRCONDTWOWAYChris Lattner2005-04-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21164 91177308-0d34-0410-b5e6-96231b3b80d8
* collect a few statistics, factor constants (constant loading and mult), fix ↵Andrew Lenharth2005-04-08
| | | | | | logic operation pattern matchs, supress FP div when int dividing by a constant git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21156 91177308-0d34-0410-b5e6-96231b3b80d8
* Alpha zero extends setcc resultsAndrew Lenharth2005-04-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21149 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a small optimization opertunity and make gcc happyAndrew Lenharth2005-04-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21143 91177308-0d34-0410-b5e6-96231b3b80d8
* fixup magic constant making code. tested by thousands of random ↵Andrew Lenharth2005-04-07
| | | | | | divisions.... by 10000. ok, so random divisors would be good too, but this at least fixes some things git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21140 91177308-0d34-0410-b5e6-96231b3b80d8
* It wasn't happy about this eitherAndrew Lenharth2005-04-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21133 91177308-0d34-0410-b5e6-96231b3b80d8
* Yea, it wasn't happyAndrew Lenharth2005-04-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21132 91177308-0d34-0410-b5e6-96231b3b80d8
* Make these 64 bit constants so that this compiles on x86-32 as well.Alkis Evlogimenos2005-04-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21125 91177308-0d34-0410-b5e6-96231b3b80d8
* added sdiv by 2^k and works for neg divisors alsoAndrew Lenharth2005-04-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21124 91177308-0d34-0410-b5e6-96231b3b80d8
* fix copy/paste errors, and add imm support to SxADDQ and SxSUBQAndrew Lenharth2005-04-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21121 91177308-0d34-0410-b5e6-96231b3b80d8
* Added Nate's div by constant stuff, also scaled operations!Andrew Lenharth2005-04-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21116 91177308-0d34-0410-b5e6-96231b3b80d8
* added lowerargs support for varargsAndrew Lenharth2005-04-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21101 91177308-0d34-0410-b5e6-96231b3b80d8
* is this simpler? I think it is simpler.Andrew Lenharth2005-04-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21064 91177308-0d34-0410-b5e6-96231b3b80d8
* fix 101 regressionsAndrew Lenharth2005-04-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21063 91177308-0d34-0410-b5e6-96231b3b80d8
* Select optimizationAndrew Lenharth2005-04-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21051 91177308-0d34-0410-b5e6-96231b3b80d8
* Try several things. 1) drop /i from FP ops 2) factor out FP to Int moves ↵Andrew Lenharth2005-04-02
| | | | | | and provide 21264 support for those 3) match not 4) match ornot andnot xornot git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21046 91177308-0d34-0410-b5e6-96231b3b80d8
* FNEG/FABS/UNDEFAndrew Lenharth2005-04-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21029 91177308-0d34-0410-b5e6-96231b3b80d8
* FNEG/FABSAndrew Lenharth2005-04-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21028 91177308-0d34-0410-b5e6-96231b3b80d8
* This target doesn't support fabs/fneg yet.Chris Lattner2005-04-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21010 91177308-0d34-0410-b5e6-96231b3b80d8
* make fp div trick dependend on flagAndrew Lenharth2005-03-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20967 91177308-0d34-0410-b5e6-96231b3b80d8
* PCMarker support for DAG and AlphaAndrew Lenharth2005-03-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20965 91177308-0d34-0410-b5e6-96231b3b80d8
* yea, fine DuraidAndrew Lenharth2005-03-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20942 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix up some types and constantsAndrew Lenharth2005-03-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20928 91177308-0d34-0410-b5e6-96231b3b80d8
* Change interface to LowerCallTo to take a boolean isVarArg argument.Nate Begeman2005-03-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20842 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove comments that are now meaningless from the pattern ISels, at Chris'sNate Begeman2005-03-24
| | | | | | | request. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20804 91177308-0d34-0410-b5e6-96231b3b80d8
* don't lie to the register allocatorAndrew Lenharth2005-03-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20784 91177308-0d34-0410-b5e6-96231b3b80d8
* two things: 1)evilness reduction patch, reduces the number of instructions ↵Andrew Lenharth2005-03-22
| | | | | | hiding in the small jump CC moving code. 2)implement div of small data types by FP DIV (also reduces evilness and should speed things up) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20756 91177308-0d34-0410-b5e6-96231b3b80d8
* sure, I can set a flag, but if I never check it, why bother setting it? ↵Andrew Lenharth2005-03-15
| | | | | | Should fix 20 programs :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20623 91177308-0d34-0410-b5e6-96231b3b80d8
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-15
| | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20597 91177308-0d34-0410-b5e6-96231b3b80d8
* FP 0.0 setcc optimization, and generate short branch sequence for setcc(FP) ↵Andrew Lenharth2005-03-14
| | | | | | rather than stack usage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20589 91177308-0d34-0410-b5e6-96231b3b80d8
* remove a pseudo instruction and improve inline constant generationAndrew Lenharth2005-03-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20563 91177308-0d34-0410-b5e6-96231b3b80d8
* fix FCMOVxx typo, set rem and div to hardcode target reg to be the same as ↵Andrew Lenharth2005-03-04
| | | | | | the one the assembler uese, update ISel to put values in regs used by assembler for rem and div git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20434 91177308-0d34-0410-b5e6-96231b3b80d8
* beter Select on FPAndrew Lenharth2005-03-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20424 91177308-0d34-0410-b5e6-96231b3b80d8
* remove 32 sign extend after 32 sextload and handle small negative constantAndrew Lenharth2005-03-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20408 91177308-0d34-0410-b5e6-96231b3b80d8
* make BB labels be exported for debuging, add fp negation optimization, ↵Andrew Lenharth2005-02-25
| | | | | | further pecimise the FP instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20332 91177308-0d34-0410-b5e6-96231b3b80d8
* Ah the problems you have to fix when you stray from the One True Way (TM)Andrew Lenharth2005-02-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20290 91177308-0d34-0410-b5e6-96231b3b80d8
* oopsAndrew Lenharth2005-02-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20278 91177308-0d34-0410-b5e6-96231b3b80d8
* dynamic stack allocasAndrew Lenharth2005-02-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20273 91177308-0d34-0410-b5e6-96231b3b80d8
* fix setcc on floats, fixes singlesource:pi, perhaps othersAndrew Lenharth2005-02-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20172 91177308-0d34-0410-b5e6-96231b3b80d8
* try to do better match for i32 addsAndrew Lenharth2005-02-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20143 91177308-0d34-0410-b5e6-96231b3b80d8
* oops, I was sure this had already gond though the nightly testerAndrew Lenharth2005-02-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20141 91177308-0d34-0410-b5e6-96231b3b80d8