Chris Lattner
|
68e62a5184
|
Allow jit-beta to work
llvm-svn: 25578
|
2006-01-24 04:50:48 +00:00 |
Jim Laskey
|
3e65f28ffe
|
Crude Dwarf global variable debugging.
llvm-svn: 25569
|
2006-01-24 00:49:18 +00:00 |
Andrew Lenharth
|
c0bf377f98
|
bye bye Pattern ISEL
llvm-svn: 25553
|
2006-01-23 21:56:07 +00:00 |
Andrew Lenharth
|
fef7dec9cc
|
added stores to lsmark
llvm-svn: 25552
|
2006-01-23 21:51:33 +00:00 |
Andrew Lenharth
|
208bbe9ca9
|
fix up more lsmark stuff
llvm-svn: 25550
|
2006-01-23 21:23:26 +00:00 |
Andrew Lenharth
|
ba97ea52d4
|
yea, lowering this stuff will basically work
llvm-svn: 25549
|
2006-01-23 20:59:50 +00:00 |
Chris Lattner
|
8935e3eb7d
|
remove the V8 simple isel
llvm-svn: 25534
|
2006-01-23 07:20:15 +00:00 |
Duraid Madina
|
37c8ad14f4
|
die, die!! r15, you are not callee-saved
llvm-svn: 25527
|
2006-01-23 06:11:45 +00:00 |
Duraid Madina
|
cc87402925
|
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
|
de02d7727f
|
Add explicit #includes of <iostream>
llvm-svn: 25515
|
2006-01-22 23:41:00 +00:00 |
Chris Lattner
|
469640e506
|
Add explicit #includes of <iostream>
llvm-svn: 25509
|
2006-01-22 22:53:01 +00:00 |
Duraid Madina
|
4204e02fc6
|
insignificant, but next up is proper stack frame layout!
llvm-svn: 25497
|
2006-01-21 14:27:19 +00:00 |
Evan Cheng
|
468fecdc99
|
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
|
9436aa74a9
|
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
|
4b41c8e929
|
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
|
f54c9395e7
|
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
|
eca87342b4
|
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
|
335b46dd20
|
LowerReturn now doesn't have to handle f32 returns.
llvm-svn: 25484
|
2006-01-20 18:41:25 +00:00 |
Duraid Madina
|
4026e12e85
|
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
|
9a8fb20689
|
fix storing bools! eek!
llvm-svn: 25476
|
2006-01-20 03:40:25 +00:00 |
Evan Cheng
|
0c5de2864f
|
Stop doing that accidental commit.
llvm-svn: 25474
|
2006-01-20 01:14:05 +00:00 |
Evan Cheng
|
cce748d316
|
A few more SH{L|R}D peepholes.
llvm-svn: 25473
|
2006-01-20 01:13:30 +00:00 |
Evan Cheng
|
9c30bd5e25
|
Didn't mean to commit the last one.
llvm-svn: 25469
|
2006-01-19 23:27:08 +00:00 |
Evan Cheng
|
8591b9f254
|
Added i16 SH{L|R}D patterns.
llvm-svn: 25468
|
2006-01-19 23:26:24 +00:00 |
Andrew Lenharth
|
5df67bcd50
|
typo
llvm-svn: 25464
|
2006-01-19 21:10:38 +00:00 |
Andrew Lenharth
|
688ea707d8
|
nasty nasty patterns
llvm-svn: 25463
|
2006-01-19 20:49:37 +00:00 |
Duraid Madina
|
550d8ec1ad
|
fix boolean XOR (which fixes up comparisons..)
llvm-svn: 25462
|
2006-01-19 15:18:56 +00:00 |
Duraid Madina
|
4d69a01254
|
BOOM!
llvm-svn: 25460
|
2006-01-19 14:14:11 +00:00 |
Duraid Madina
|
bcbcfac6ea
|
click click
llvm-svn: 25459
|
2006-01-19 14:13:11 +00:00 |
Evan Cheng
|
3d2cc7e2e9
|
Avoid generating a redundant setcc.
llvm-svn: 25457
|
2006-01-19 08:52:46 +00:00 |
Duraid Madina
|
29b9d7cdff
|
fix calls that return f32
llvm-svn: 25455
|
2006-01-19 08:31:51 +00:00 |
Chris Lattner
|
2efef3d6f1
|
implement support for f32 arguments past the first 6 words
llvm-svn: 25450
|
2006-01-19 07:22:29 +00:00 |
Evan Cheng
|
91007126c2
|
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 |
Chris Lattner
|
c3c27032d0
|
add a note
llvm-svn: 25439
|
2006-01-19 02:09:38 +00:00 |
Evan Cheng
|
a7bfbe996e
|
Two peepholes:
(or (x >> c) | (y << (32 - c))) ==> (shrd x, y, c)
(or (x << c) | (y >> (32 - c))) ==> (shld x, y, c)
llvm-svn: 25438
|
2006-01-19 01:56:29 +00:00 |
Evan Cheng
|
6135a7a546
|
Didn't mean to check that in.
llvm-svn: 25436
|
2006-01-19 01:52:56 +00:00 |
Evan Cheng
|
267ba5965e
|
A obvious typo
llvm-svn: 25435
|
2006-01-19 01:46:14 +00:00 |
Chris Lattner
|
ce5066c863
|
Don't assert on 'select_cc SETUO'
llvm-svn: 25423
|
2006-01-18 19:42:35 +00:00 |
Chris Lattner
|
36eba3a49b
|
fix out of date comment
llvm-svn: 25422
|
2006-01-18 19:37:44 +00:00 |
Chris Lattner
|
15e7642ab1
|
Fix Regression/CodeGen/PowerPC/2006-01-18-InvalidBranchOpcodeAssert.ll
llvm-svn: 25421
|
2006-01-18 19:35:21 +00:00 |
Jim Laskey
|
194a5268cb
|
Added minimum Dwarf aranges. Cleaned up some section headers. Line number
support now works in gdb.
llvm-svn: 25417
|
2006-01-18 16:54:26 +00:00 |
Evan Cheng
|
621674a19d
|
SRA shift amount must be in i8
llvm-svn: 25416
|
2006-01-18 09:26:46 +00:00 |
Evan Cheng
|
4b3774e0a2
|
If a call return type is i1, insert a truncate from X86::AL to i1.
llvm-svn: 25415
|
2006-01-18 08:08:38 +00:00 |
Evan Cheng
|
feaed4d107
|
Fix lowering of calls which return f32 values.
llvm-svn: 25413
|
2006-01-17 21:58:21 +00:00 |
Jim Laskey
|
cc9dfecf81
|
Add frame work for additional dwarf sections. Comments will improve as code
is added.
llvm-svn: 25410
|
2006-01-17 20:41:40 +00:00 |
Jim Laskey
|
b9966029fe
|
Adding basic support for Dwarf line number debug information.
I promise to keep future commits smaller.
llvm-svn: 25396
|
2006-01-17 17:31:53 +00:00 |
Evan Cheng
|
14417ed99c
|
Zero extending load from i1 to i8.
llvm-svn: 25391
|
2006-01-17 07:02:46 +00:00 |
Duraid Madina
|
e08a95d3c1
|
oops, this shouldn't have gotten in
llvm-svn: 25388
|
2006-01-17 03:09:48 +00:00 |
Evan Cheng
|
0d5b69f734
|
SSE does not support i64 SINT_TO_FP (FP stack doesn't either, but we custom
expand it), so ask legalizer to expand i32 UINT_TO_FP.
llvm-svn: 25386
|
2006-01-17 02:32:49 +00:00 |
Duraid Madina
|
266ff6056a
|
use proper (82-bit) spills/fills when spilling FP regs, so that
divides don't get broken. this fixes obsequi, smg2000, and probably
a bunch of other stuff (tm)
llvm-svn: 25385
|
2006-01-17 02:04:52 +00:00 |