Andrew Lenharth
|
ca3d59b1dc
|
FP 0.0 setcc optimization, and generate short branch sequence for setcc(FP) rather than stack usage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20589 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-03-14 19:23:45 +00:00 |
|
Andrew Lenharth
|
e87f6c31d2
|
remove a pseudo instruction and improve inline constant generation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20563 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-03-11 17:48:05 +00:00 |
|
Andrew Lenharth
|
3381913322
|
fix FCMOVxx typo, set rem and div to hardcode target reg to be the same as 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
|
2005-03-04 20:09:23 +00:00 |
|
Andrew Lenharth
|
4585969e87
|
beter Select on FP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20424 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-03-03 21:47:53 +00:00 |
|
Andrew Lenharth
|
74d00d860e
|
remove 32 sign extend after 32 sextload and handle small negative constant
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20408 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-03-02 17:23:03 +00:00 |
|
Andrew Lenharth
|
2b6c4f554b
|
make BB labels be exported for debuging, add fp negation optimization, further pecimise the FP instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20332 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-25 22:55:15 +00:00 |
|
Andrew Lenharth
|
3a7118d7da
|
Ah the problems you have to fix when you stray from the One True Way (TM)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20290 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-23 17:33:42 +00:00 |
|
Andrew Lenharth
|
7bc47020f6
|
oops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20278 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-22 23:29:25 +00:00 |
|
Andrew Lenharth
|
032f235f02
|
dynamic stack allocas
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20273 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-22 21:59:48 +00:00 |
|
Andrew Lenharth
|
572af908e4
|
fix setcc on floats, fixes singlesource:pi, perhaps others
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20172 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-14 05:41:43 +00:00 |
|
Andrew Lenharth
|
093f32785b
|
try to do better match for i32 adds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20143 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-12 21:11:17 +00:00 |
|
Andrew Lenharth
|
7536eeabf6
|
oops, I was sure this had already gond though the nightly tester
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20141 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-12 20:42:09 +00:00 |
|
Andrew Lenharth
|
ebce50464a
|
added sign extend for boolean
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20137 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-12 19:35:12 +00:00 |
|
Andrew Lenharth
|
3e31592dca
|
fix a bunch of regressions due to call behavior
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20110 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-10 20:10:38 +00:00 |
|
Andrew Lenharth
|
63f2ab2d1b
|
so, if you beat on it, you too can talk emacs into having a sane indenting policy... Also, optimize many function calls with pc-relative calls (partial prologue skipping for that case coming soon), try to fix the random jumps to strange places problem by pesimizing div et. al. register usage and fixing up GP before using, some calling convention tweaks, and make frame pointer unallocatable (not strickly necessary, but let's go for correctness first)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20106 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-10 06:25:22 +00:00 |
|
Andrew Lenharth
|
445171aaf6
|
BranchCC, nifty
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20067 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-08 00:40:03 +00:00 |
|
Andrew Lenharth
|
760270da51
|
fix store issue and an FP conversion (segfault) issue
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20066 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-07 23:02:23 +00:00 |
|
Andrew Lenharth
|
2921916ffc
|
copytoreg fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20063 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-07 06:31:44 +00:00 |
|
Andrew Lenharth
|
06342c3484
|
copyfromreg fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20062 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-07 06:21:37 +00:00 |
|
Andrew Lenharth
|
0382401356
|
fix load bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20061 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-07 05:55:55 +00:00 |
|
Andrew Lenharth
|
a549deb025
|
more FP load store fixes and Load store simplifications
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20060 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-07 05:33:15 +00:00 |
|
Andrew Lenharth
|
f311e8b901
|
clean up load and stores alot
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20059 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-07 05:18:02 +00:00 |
|
Andrew Lenharth
|
0538034a82
|
teach all loads and stores about the stack
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20058 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-07 05:07:00 +00:00 |
|
Andrew Lenharth
|
2c9e38c285
|
prefer FP scratch registers and more check in LowerArguments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20057 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-06 21:07:31 +00:00 |
|
Andrew Lenharth
|
6583890c2b
|
fix oopso
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20056 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-06 16:22:15 +00:00 |
|
Andrew Lenharth
|
9e8d1094f2
|
smarter loads and stores. can now handle base+offset.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20055 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-06 15:40:40 +00:00 |
|
Andrew Lenharth
|
0bc68a87e7
|
fix build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20053 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-05 19:46:51 +00:00 |
|
Andrew Lenharth
|
97127a1391
|
clean up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20051 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-05 17:41:39 +00:00 |
|
Andrew Lenharth
|
d4bdd548fc
|
fix f32 setcc, and fp select
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20050 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-05 16:41:03 +00:00 |
|
Andrew Lenharth
|
9818c05bb8
|
added ugly support for fp compares
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20049 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-05 13:19:12 +00:00 |
|
Misha Brukman
|
2a8350a25c
|
Make the rest of file header comments consistent in format and style
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20048 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-05 02:24:26 +00:00 |
|
Andrew Lenharth
|
12dd2621bb
|
FP fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20019 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-03 21:01:15 +00:00 |
|
Andrew Lenharth
|
b014d3e35b
|
Store fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20004 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-02 17:32:39 +00:00 |
|
Andrew Lenharth
|
879ef22bdb
|
prevent register allocator from using the stack pointer :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20002 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-02 17:00:21 +00:00 |
|
Andrew Lenharth
|
22088bb102
|
fix loading of floats
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19997 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-02 15:05:33 +00:00 |
|
Andrew Lenharth
|
8d163d2222
|
marked mem* as not supported
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19992 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-02 05:49:42 +00:00 |
|
Andrew Lenharth
|
c23d696e71
|
fix Load bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19987 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-02 04:35:44 +00:00 |
|
Andrew Lenharth
|
2afc821996
|
try to make a bug bugpointable, add yet more constant pool stuff, fixup constant loads for FP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19985 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-02 03:36:35 +00:00 |
|
Andrew Lenharth
|
22d5a41f9a
|
better constant handling, should fix many remaining cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19984 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-02 00:51:15 +00:00 |
|
Andrew Lenharth
|
e76797c223
|
fix FP arg passing bug, Add unsigned to/from int, fix SELECT, fix Constant pool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19976 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-01 20:40:27 +00:00 |
|
Andrew Lenharth
|
c1faced5ff
|
pecimise loads, put indirect call addr in right register. still doesn't fix methcall
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19963 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-02-01 01:37:24 +00:00 |
|
Andrew Lenharth
|
7efadce56e
|
fp to int and back conversion sequences
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19944 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-01-31 01:44:26 +00:00 |
|
Andrew Lenharth
|
7b2a5270b7
|
added fp extend and removed a forgotten assert in more than 6 arg support (should break somewhere else now :) ) and fix an incorrect asm sequence for indirect calls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19938 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-01-30 20:42:36 +00:00 |
|
Chris Lattner
|
d7b59d0181
|
Fix warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19933 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-01-30 16:32:48 +00:00 |
|
Andrew Lenharth
|
684f229895
|
support for larger calls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19932 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-01-30 00:35:27 +00:00 |
|
Andrew Lenharth
|
2c59435ca5
|
first step towards a correct and complete stack. also add some forms for things that were getting stuck in the nightly tester.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19914 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-01-29 15:42:07 +00:00 |
|
Andrew Lenharth
|
cc1b16faed
|
fix ExprMap, partially teach about add long
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19882 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-01-28 23:17:54 +00:00 |
|
Andrew Lenharth
|
6b9870abce
|
fix ExprMap and constant check in setcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19870 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-01-28 14:06:46 +00:00 |
|
Andrew Lenharth
|
40831c5e0e
|
move FP into it's own select
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19867 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-01-28 06:57:18 +00:00 |
|
Andrew Lenharth
|
10b400705d
|
Floating point instructions like Floating point registers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19856 91177308-0d34-0410-b5e6-96231b3b80d8
|
2005-01-27 07:58:15 +00:00 |
|