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 |
Duraid Madina
|
c261469ad9
|
fixing divides
llvm-svn: 25383
|
2006-01-17 01:19:49 +00:00 |
Evan Cheng
|
561881f30a
|
Added a FIXME comment about why FST is currently flagged to fpGETRESULT.
llvm-svn: 25381
|
2006-01-17 00:37:42 +00:00 |
Evan Cheng
|
bec9d720b0
|
Bug fixes: fpGETRESULT should produces a flag result and X86ISD::FST should
read a flag.
llvm-svn: 25378
|
2006-01-17 00:19:47 +00:00 |
Evan Cheng
|
c14bb1026b
|
More typo's
llvm-svn: 25375
|
2006-01-16 23:26:53 +00:00 |
Evan Cheng
|
64eeed27d9
|
Some typo's
llvm-svn: 25374
|
2006-01-16 22:48:46 +00:00 |
Andrew Lenharth
|
cfd9c6e526
|
fix short immediate loads
llvm-svn: 25371
|
2006-01-16 21:41:39 +00:00 |
Andrew Lenharth
|
34380b7675
|
stack and rpcc
llvm-svn: 25369
|
2006-01-16 21:22:38 +00:00 |
Evan Cheng
|
911c68d7a8
|
Fix FP_TO_INT**_IN_MEM lowering.
llvm-svn: 25368
|
2006-01-16 21:21:29 +00:00 |
Andrew Lenharth
|
81b108c54d
|
Friendly names
llvm-svn: 25364
|
2006-01-16 19:53:25 +00:00 |
Chris Lattner
|
7c76290038
|
add notes from my *other* email acct.
llvm-svn: 25362
|
2006-01-16 17:58:54 +00:00 |
Chris Lattner
|
b2eacf48aa
|
transfer some notes from my email to somewhere useful.
llvm-svn: 25361
|
2006-01-16 17:53:00 +00:00 |
Duraid Madina
|
e995910e64
|
fixing divides: FP should now be 100%, and integers are fine too
unless you try to div/mod 0 by anything, in which case you will
get some cute number, and not 0, which is bad.
llvm-svn: 25358
|
2006-01-16 14:33:04 +00:00 |
Duraid Madina
|
ba187774fe
|
fix division! again!! pattern isel, prepare to die.
llvm-svn: 25353
|
2006-01-16 06:33:38 +00:00 |
Chris Lattner
|
e636ba84b5
|
Silly Sparc is big endian. If we have to load args out of incoming stack slots
that are smaller than an int, make sure to adjust the frame pointer to take
this into consideration.
llvm-svn: 25351
|
2006-01-16 01:40:00 +00:00 |
Chris Lattner
|
9d41ecc95b
|
Make sure that bool,byte and short arguments are the right type when loaded
from memory.
llvm-svn: 25346
|
2006-01-15 22:22:01 +00:00 |
Chris Lattner
|
53312c6342
|
Disable a broken optimization
llvm-svn: 25340
|
2006-01-15 19:15:46 +00:00 |
Evan Cheng
|
2494ce49f0
|
Added patterns for 8-bit multiply
llvm-svn: 25338
|
2006-01-15 10:05:20 +00:00 |
Duraid Madina
|
c8817d2857
|
explain that r12 is the stack pointer reg
llvm-svn: 25336
|
2006-01-15 09:45:23 +00:00 |
Chris Lattner
|
e96523474b
|
Don't print a label for the first MBB in a function.
Compile this:
%_2E_str_8 = external global [75 x sbyte]
implementation ; Functions:
declare int %printf(sbyte*, ...)
void %test()
%tmp.101 = call int (sbyte*, ...)* %printf( sbyte* getelementptr ([75 x sbyte]* %_2E_str_8, int 0, int 0) ) ; <int> [#uses=0]
unreachable
}
to this:
main_endif_2E_8:
save -96, %o6, %o6
sethi %hi(_2E_str_8), %l0
add %l0, %lo(_2E_str_8), %o0
call printf
nop
instead of this:
main_endif_2E_8:
save -96, %o6, %o6
sethi %hi(_2E_str_8), %l0
or %g0, %lo(_2E_str_8), %l1 ;; extra instruction
add %l1, %l0, %o0
call printf
nop
llvm-svn: 25335
|
2006-01-15 09:26:27 +00:00 |
Chris Lattner
|
5bd514d7b0
|
Use the default impl of DYNAMIC_STACKALLOC, allowing us to delete some code.
llvm-svn: 25334
|
2006-01-15 09:02:48 +00:00 |