Evan Cheng
|
7a77e3f80c
|
Work around some x86 Darwin assembler bugs
llvm-svn: 25638
|
2006-01-26 02:27:43 +00:00 |
|
Evan Cheng
|
bf29b90240
|
When trying to fold X86::SETCC into a Select, make a copy if it has more than
one use. This allows more CMOV instructions.
llvm-svn: 25634
|
2006-01-26 02:13:10 +00:00 |
|
Evan Cheng
|
224e14daa1
|
Remove the uses of STATUS flag register. Rely on node property SDNPInFlag,
SDNPOutFlag, and SDNPOptInFlag instead.
llvm-svn: 25629
|
2006-01-26 00:29:36 +00:00 |
|
Andrew Lenharth
|
084c16fe59
|
oops
llvm-svn: 25623
|
2006-01-25 23:33:32 +00:00 |
|
Andrew Lenharth
|
01e5b9e862
|
forgot one
llvm-svn: 25620
|
2006-01-25 22:28:07 +00:00 |
|
Andrew Lenharth
|
d932b627f7
|
make things compile again
llvm-svn: 25614
|
2006-01-25 21:54:38 +00:00 |
|
Chris Lattner
|
91a347233d
|
initialize an instance var, apparently I forgot to commit this long ago
llvm-svn: 25609
|
2006-01-25 18:57:15 +00:00 |
|
Evan Cheng
|
7da6daadc7
|
Set SchedulingForLatency to be the default scheduling preference for all.
llvm-svn: 25607
|
2006-01-25 18:52:42 +00:00 |
|
Nate Begeman
|
c29fac7fce
|
First part of bug 680:
Remove TLI.LowerVA* and replace it with SDNodes that are lowered the same
way as everything else.
llvm-svn: 25606
|
2006-01-25 18:21:52 +00:00 |
|
Evan Cheng
|
c368fb710f
|
Default scheduling preference is SchedulingForLatency.
llvm-svn: 25603
|
2006-01-25 09:15:54 +00:00 |
|
Evan Cheng
|
46f85ddd84
|
X86 prefer scheduling for reduced register pressure.
llvm-svn: 25602
|
2006-01-25 09:15:17 +00:00 |
|
Evan Cheng
|
b463e81b83
|
Fix a selectcc lowering bug. Make a copy of X86ISD::CMP when folding it.
llvm-svn: 25596
|
2006-01-25 09:05:09 +00:00 |
|
Chris Lattner
|
8ddb0c3df8
|
Loosen up these checks to allow direct uses of ESP
llvm-svn: 25595
|
2006-01-25 08:00:36 +00:00 |
|
Duraid Madina
|
7d51a9b8e3
|
add bundling! well not really, for now it's just stop-insertion.
llvm-svn: 25593
|
2006-01-25 02:23:38 +00:00 |
|
Andrew Lenharth
|
3b1babbf44
|
maintaining stackpointer alignment. Perhaps it doesn't matter
llvm-svn: 25592
|
2006-01-25 01:51:08 +00:00 |
|
Chris Lattner
|
f2a2d62f48
|
use ESP directly, not a copy of ESP into some other register for fastcc calls
llvm-svn: 25584
|
2006-01-24 06:14:44 +00:00 |
|
Chris Lattner
|
c078165ea6
|
Emit the copies out of call return registers *after* the ISD::CALLSEQ_END
node, fixing fastcc and the case where a function has a frame pointer due
to dynamic allocas.
llvm-svn: 25580
|
2006-01-24 05:17:12 +00:00 |
|
Chris Lattner
|
2873307819
|
Allow jit-beta to work
llvm-svn: 25578
|
2006-01-24 04:50:48 +00:00 |
|
Jim Laskey
|
18ba7ce7b3
|
Crude Dwarf global variable debugging.
llvm-svn: 25569
|
2006-01-24 00:49:18 +00:00 |
|
Andrew Lenharth
|
757829acec
|
bye bye Pattern ISEL
llvm-svn: 25553
|
2006-01-23 21:56:07 +00:00 |
|
Andrew Lenharth
|
f7d549848c
|
added stores to lsmark
llvm-svn: 25552
|
2006-01-23 21:51:33 +00:00 |
|
Andrew Lenharth
|
85b5ef30e5
|
fix up more lsmark stuff
llvm-svn: 25550
|
2006-01-23 21:23:26 +00:00 |
|
Andrew Lenharth
|
b7a4322232
|
yea, lowering this stuff will basically work
llvm-svn: 25549
|
2006-01-23 20:59:50 +00:00 |
|
Chris Lattner
|
39bdbf2ad2
|
remove the V8 simple isel
llvm-svn: 25534
|
2006-01-23 07:20:15 +00:00 |
|
Duraid Madina
|
fa9095ff95
|
die, die!! r15, you are not callee-saved
llvm-svn: 25527
|
2006-01-23 06:11:45 +00:00 |
|
Duraid Madina
|
43e8616515
|
fix register corruption! (my god.) r15 is a scratch reg, using that as
a frame pointer is a pretty doofus thing to do. use r5 instead, and
mark it callee-saved, coz that's what it is!
llvm-svn: 25526
|
2006-01-23 06:08:46 +00:00 |
|
Chris Lattner
|
aafc339b4e
|
Add explicit #includes of <iostream>
llvm-svn: 25515
|
2006-01-22 23:41:00 +00:00 |
|
Chris Lattner
|
adff158fbd
|
Add explicit #includes of <iostream>
llvm-svn: 25509
|
2006-01-22 22:53:01 +00:00 |
|
Duraid Madina
|
019bfb760c
|
insignificant, but next up is proper stack frame layout!
llvm-svn: 25497
|
2006-01-21 14:27:19 +00:00 |
|
Evan Cheng
|
2e4479d4a8
|
Rename fcmovae to fcmovnb and fcmova to fcmovnbe (following Intel manual).
Some assemblers can't recognize the aliases.
llvm-svn: 25494
|
2006-01-21 02:55:41 +00:00 |
|
Chris Lattner
|
1ecabc5a6f
|
trivial formatting improvement: don't insert extra blank lines between .comm
vars.
llvm-svn: 25492
|
2006-01-21 01:35:26 +00:00 |
|
Robert Bocchino
|
2fd552ac25
|
Make the C writer work with packed types. printContainedStructs is
still not quite right and will be fixed later.
llvm-svn: 25488
|
2006-01-20 20:43:57 +00:00 |
|
Duraid Madina
|
2715941e86
|
remove RET hack, add proper support for rets (watching out for ret voids)
llvm-svn: 25486
|
2006-01-20 20:24:31 +00:00 |
|
Chris Lattner
|
38de8a67d5
|
Simplify CWriter::printContainedStructs, also allowing it to work with
PackedTypes as a side-effect.
llvm-svn: 25485
|
2006-01-20 18:57:03 +00:00 |
|
Chris Lattner
|
eacfe56de8
|
LowerReturn now doesn't have to handle f32 returns.
llvm-svn: 25484
|
2006-01-20 18:41:25 +00:00 |
|
Duraid Madina
|
94bace229d
|
fix sext breakage: now we correctly deal with functions that return
int vs uint
llvm-svn: 25478
|
2006-01-20 16:10:05 +00:00 |
|
Duraid Madina
|
b18a42fd3a
|
fix storing bools! eek!
llvm-svn: 25476
|
2006-01-20 03:40:25 +00:00 |
|
Evan Cheng
|
ffbc93d829
|
Stop doing that accidental commit.
llvm-svn: 25474
|
2006-01-20 01:14:05 +00:00 |
|
Evan Cheng
|
2b24240110
|
A few more SH{L|R}D peepholes.
llvm-svn: 25473
|
2006-01-20 01:13:30 +00:00 |
|
Evan Cheng
|
d2c0ccedd3
|
Didn't mean to commit the last one.
llvm-svn: 25469
|
2006-01-19 23:27:08 +00:00 |
|
Evan Cheng
|
e0f6454c5e
|
Added i16 SH{L|R}D patterns.
llvm-svn: 25468
|
2006-01-19 23:26:24 +00:00 |
|
Andrew Lenharth
|
96520cb68d
|
typo
llvm-svn: 25464
|
2006-01-19 21:10:38 +00:00 |
|
Andrew Lenharth
|
9abecccdcb
|
nasty nasty patterns
llvm-svn: 25463
|
2006-01-19 20:49:37 +00:00 |
|
Duraid Madina
|
069b517767
|
fix boolean XOR (which fixes up comparisons..)
llvm-svn: 25462
|
2006-01-19 15:18:56 +00:00 |
|
Duraid Madina
|
4b75614c9c
|
BOOM!
llvm-svn: 25460
|
2006-01-19 14:14:11 +00:00 |
|
Duraid Madina
|
08771721f9
|
click click
llvm-svn: 25459
|
2006-01-19 14:13:11 +00:00 |
|
Evan Cheng
|
680a8e070b
|
Avoid generating a redundant setcc.
llvm-svn: 25457
|
2006-01-19 08:52:46 +00:00 |
|
Duraid Madina
|
1946b2ff30
|
fix calls that return f32
llvm-svn: 25455
|
2006-01-19 08:31:51 +00:00 |
|
Chris Lattner
|
b15de45374
|
implement support for f32 arguments past the first 6 words
llvm-svn: 25450
|
2006-01-19 07:22:29 +00:00 |
|
Evan Cheng
|
cfe9d47379
|
adc and sbb need an incoming flag to ensure it reads the carry flag
from add / sub.
llvm-svn: 25444
|
2006-01-19 06:53:20 +00:00 |
|