Andrew Lenharth
|
b5ddbc074d
|
LSR cleanup patch
llvm-svn: 20422
|
2005-03-03 19:03:21 +00:00 |
|
Andrew Lenharth
|
1e213c7924
|
remove 32 sign extend after 32 sextload and handle small negative constant
llvm-svn: 20408
|
2005-03-02 17:23:03 +00:00 |
|
Andrew Lenharth
|
8fc5ba2e06
|
Added LSR as a beta pass for alpha
llvm-svn: 20407
|
2005-03-02 17:21:38 +00:00 |
|
Andrew Lenharth
|
7dc9ea9509
|
fix integer division and stuff
llvm-svn: 20372
|
2005-02-28 17:22:18 +00:00 |
|
Andrew Lenharth
|
b5331ffe0f
|
make BB labels be exported for debuging, add fp negation optimization, further pecimise the FP instructions
llvm-svn: 20332
|
2005-02-25 22:55:15 +00:00 |
|
Andrew Lenharth
|
ef5f87784b
|
fix Allocas. Really. I mean it this time.
llvm-svn: 20306
|
2005-02-24 18:36:32 +00:00 |
|
Andrew Lenharth
|
69a8320c0d
|
Ah the problems you have to fix when you stray from the One True Way (TM)
llvm-svn: 20290
|
2005-02-23 17:33:42 +00:00 |
|
Andrew Lenharth
|
889efe4fb3
|
oops
llvm-svn: 20278
|
2005-02-22 23:29:25 +00:00 |
|
Andrew Lenharth
|
d870103306
|
dynamic stack allocas
llvm-svn: 20273
|
2005-02-22 21:59:48 +00:00 |
|
Andrew Lenharth
|
8ead0f13d3
|
no longer build as a shared library
llvm-svn: 20264
|
2005-02-22 04:58:26 +00:00 |
|
Andrew Lenharth
|
f023ce8d97
|
fix setcc on floats, fixes singlesource:pi, perhaps others
llvm-svn: 20172
|
2005-02-14 05:41:43 +00:00 |
|
Andrew Lenharth
|
e398f7797e
|
try to do better match for i32 adds
llvm-svn: 20143
|
2005-02-12 21:11:17 +00:00 |
|
Andrew Lenharth
|
089b56ae58
|
make FP conversion more conservative (matches gcc)
llvm-svn: 20142
|
2005-02-12 21:10:58 +00:00 |
|
Andrew Lenharth
|
b9c44170a5
|
oops, I was sure this had already gond though the nightly tester
llvm-svn: 20141
|
2005-02-12 20:42:09 +00:00 |
|
Andrew Lenharth
|
a12e5330bf
|
added sign extend for boolean
llvm-svn: 20137
|
2005-02-12 19:35:12 +00:00 |
|
Andrew Lenharth
|
076faf95a8
|
fix a bunch of regressions due to call behavior
llvm-svn: 20110
|
2005-02-10 20:10:38 +00:00 |
|
Andrew Lenharth
|
56c441caf2
|
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)
llvm-svn: 20106
|
2005-02-10 06:25:22 +00:00 |
|
Andrew Lenharth
|
6c28128e3e
|
fix fp branch
llvm-svn: 20105
|
2005-02-10 05:17:38 +00:00 |
|
Misha Brukman
|
4bd124492b
|
* Fix spelling of `volatile'
* Align comments with tablegen elements
llvm-svn: 20103
|
2005-02-10 01:52:22 +00:00 |
|
Andrew Lenharth
|
d42ae810cb
|
BranchCC, nifty
llvm-svn: 20067
|
2005-02-08 00:40:03 +00:00 |
|
Andrew Lenharth
|
71fce71669
|
fix store issue and an FP conversion (segfault) issue
llvm-svn: 20066
|
2005-02-07 23:02:23 +00:00 |
|
Andrew Lenharth
|
cf4f405e55
|
copytoreg fix
llvm-svn: 20063
|
2005-02-07 06:31:44 +00:00 |
|
Andrew Lenharth
|
d20853f420
|
copyfromreg fix
llvm-svn: 20062
|
2005-02-07 06:21:37 +00:00 |
|
Andrew Lenharth
|
80cf648100
|
fix load bug
llvm-svn: 20061
|
2005-02-07 05:55:55 +00:00 |
|
Andrew Lenharth
|
9f5502e40f
|
more FP load store fixes and Load store simplifications
llvm-svn: 20060
|
2005-02-07 05:33:15 +00:00 |
|
Andrew Lenharth
|
bc6ddca09c
|
clean up load and stores alot
llvm-svn: 20059
|
2005-02-07 05:18:02 +00:00 |
|
Andrew Lenharth
|
4416315969
|
teach all loads and stores about the stack
llvm-svn: 20058
|
2005-02-07 05:07:00 +00:00 |
|
Andrew Lenharth
|
1b8bf311d2
|
prefer FP scratch registers and more check in LowerArguments
llvm-svn: 20057
|
2005-02-06 21:07:31 +00:00 |
|
Andrew Lenharth
|
23ca0026fa
|
fix oopso
llvm-svn: 20056
|
2005-02-06 16:22:15 +00:00 |
|
Andrew Lenharth
|
baa723abc0
|
smarter loads and stores. can now handle base+offset.
llvm-svn: 20055
|
2005-02-06 15:40:40 +00:00 |
|
Andrew Lenharth
|
9a2bc47fba
|
fix build
llvm-svn: 20053
|
2005-02-05 19:46:51 +00:00 |
|
Andrew Lenharth
|
6bd554a11e
|
clean up
llvm-svn: 20051
|
2005-02-05 17:41:39 +00:00 |
|
Andrew Lenharth
|
9fd7ce4bca
|
fix f32 setcc, and fp select
llvm-svn: 20050
|
2005-02-05 16:41:03 +00:00 |
|
Andrew Lenharth
|
5447bb6596
|
added ugly support for fp compares
llvm-svn: 20049
|
2005-02-05 13:19:12 +00:00 |
|
Misha Brukman
|
75da90f127
|
Make the rest of file header comments consistent in format and style
llvm-svn: 20048
|
2005-02-05 02:24:26 +00:00 |
|
Misha Brukman
|
74be40e1d2
|
Make file header comment consistent: extend the whole 80 cols to fill the line
llvm-svn: 20039
|
2005-02-04 20:25:52 +00:00 |
|
Andrew Lenharth
|
e081ab1c69
|
alignment
llvm-svn: 20028
|
2005-02-04 14:09:38 +00:00 |
|
Andrew Lenharth
|
68f8792889
|
get alignment printing correctly and get rid of __main hack
llvm-svn: 20027
|
2005-02-04 14:01:21 +00:00 |
|
Andrew Lenharth
|
fa74ac60e6
|
FP fixes
llvm-svn: 20019
|
2005-02-03 21:01:15 +00:00 |
|
Andrew Lenharth
|
d5de7adf26
|
Store fix
llvm-svn: 20004
|
2005-02-02 17:32:39 +00:00 |
|
Andrew Lenharth
|
fef75b04f1
|
oops
llvm-svn: 20003
|
2005-02-02 17:01:31 +00:00 |
|
Andrew Lenharth
|
b4bf49a4ae
|
prevent register allocator from using the stack pointer :)
llvm-svn: 20002
|
2005-02-02 17:00:21 +00:00 |
|
Andrew Lenharth
|
c3e3bd1c22
|
fix loading of floats
llvm-svn: 19997
|
2005-02-02 15:05:33 +00:00 |
|
Andrew Lenharth
|
2482a0ef99
|
marked mem* as not supported
llvm-svn: 19992
|
2005-02-02 05:49:42 +00:00 |
|
Andrew Lenharth
|
a856b4db61
|
fix Load bug
llvm-svn: 19987
|
2005-02-02 04:35:44 +00:00 |
|
Andrew Lenharth
|
35ae745650
|
try to make a bug bugpointable, add yet more constant pool stuff, fixup constant loads for FP
llvm-svn: 19985
|
2005-02-02 03:36:35 +00:00 |
|
Andrew Lenharth
|
5a2bb3de8b
|
better constant handling, should fix many remaining cases
llvm-svn: 19984
|
2005-02-02 00:51:15 +00:00 |
|
Andrew Lenharth
|
172fc4b1fd
|
fix FP arg passing bug, Add unsigned to/from int, fix SELECT, fix Constant pool
llvm-svn: 19976
|
2005-02-01 20:40:27 +00:00 |
|
Andrew Lenharth
|
9086064b72
|
Print the Constant pool
llvm-svn: 19975
|
2005-02-01 20:38:53 +00:00 |
|
Andrew Lenharth
|
540700124d
|
Make cmov work right and loads for fp from constant pool
llvm-svn: 19974
|
2005-02-01 20:36:44 +00:00 |
|
Andrew Lenharth
|
bf88e70920
|
Correct stack stuff for FP
llvm-svn: 19973
|
2005-02-01 20:35:57 +00:00 |
|
Andrew Lenharth
|
810fa6d4f1
|
try to match alpha pattern
llvm-svn: 19972
|
2005-02-01 20:35:11 +00:00 |
|
Andrew Lenharth
|
b8e15cfe9c
|
fix register names
llvm-svn: 19971
|
2005-02-01 20:34:29 +00:00 |
|
Andrew Lenharth
|
fa52a84802
|
pecimise loads, put indirect call addr in right register. still doesn't fix methcall
llvm-svn: 19963
|
2005-02-01 01:37:24 +00:00 |
|
Andrew Lenharth
|
648e85bb8a
|
indirect call fix
llvm-svn: 19945
|
2005-01-31 03:19:31 +00:00 |
|
Andrew Lenharth
|
401bb5807b
|
fp to int and back conversion sequences
llvm-svn: 19944
|
2005-01-31 01:44:26 +00:00 |
|
Andrew Lenharth
|
43c294ffc3
|
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
llvm-svn: 19938
|
2005-01-30 20:42:36 +00:00 |
|
Chris Lattner
|
c952d46d13
|
This code is really unreachable.
llvm-svn: 19934
|
2005-01-30 16:33:46 +00:00 |
|
Chris Lattner
|
d27e3639ba
|
Fix warnings.
llvm-svn: 19933
|
2005-01-30 16:32:48 +00:00 |
|
Andrew Lenharth
|
60966b9bf0
|
support for larger calls
llvm-svn: 19932
|
2005-01-30 00:35:27 +00:00 |
|
Chris Lattner
|
fc8d0e9460
|
Unbreak the build :(
llvm-svn: 19926
|
2005-01-29 19:27:28 +00:00 |
|
Andrew Lenharth
|
f426f1c0c9
|
first step towards a correct and complete stack. also add some forms for things that were getting stuck in the nightly tester.
llvm-svn: 19914
|
2005-01-29 15:42:07 +00:00 |
|
Andrew Lenharth
|
8a3a14d343
|
fix ExprMap, partially teach about add long
llvm-svn: 19882
|
2005-01-28 23:17:54 +00:00 |
|
Andrew Lenharth
|
9db35b0763
|
fix ExprMap and constant check in setcc
llvm-svn: 19870
|
2005-01-28 14:06:46 +00:00 |
|
Andrew Lenharth
|
4cfda09ee9
|
move FP into it's own select
llvm-svn: 19867
|
2005-01-28 06:57:18 +00:00 |
|
Andrew Lenharth
|
c0cd77a1a0
|
stack frame fix and zero FP reg fix
llvm-svn: 19857
|
2005-01-27 08:31:19 +00:00 |
|
Andrew Lenharth
|
55eadc4772
|
Floating point instructions like Floating point registers
llvm-svn: 19856
|
2005-01-27 07:58:15 +00:00 |
|
Andrew Lenharth
|
67328d7fac
|
int to float conversion and another setcc
llvm-svn: 19855
|
2005-01-27 07:50:35 +00:00 |
|
Andrew Lenharth
|
4283bf1216
|
teach isel about comparison with constants and zero extending bits
llvm-svn: 19853
|
2005-01-27 03:49:45 +00:00 |
|
Andrew Lenharth
|
b539dd2c83
|
perhaps this will let me have calls again
llvm-svn: 19851
|
2005-01-27 01:22:48 +00:00 |
|
Andrew Lenharth
|
227bc0e21a
|
minor bug fix
llvm-svn: 19850
|
2005-01-27 00:52:26 +00:00 |
|
Andrew Lenharth
|
ae8ce1856a
|
minor bug fix
llvm-svn: 19849
|
2005-01-27 00:51:05 +00:00 |
|
Andrew Lenharth
|
11fc660a34
|
added instructions for fp to int to fp moves
llvm-svn: 19848
|
2005-01-26 23:56:48 +00:00 |
|
Andrew Lenharth
|
1f0b710fb6
|
initial fp support
llvm-svn: 19847
|
2005-01-26 21:54:09 +00:00 |
|
Andrew Lenharth
|
f9f01c190b
|
hum, writing on one machine, testing on another...
llvm-svn: 19844
|
2005-01-26 02:53:56 +00:00 |
|
Andrew Lenharth
|
53ad9ac1db
|
add some operations, fix others. should compile several more tests now
llvm-svn: 19843
|
2005-01-26 01:24:38 +00:00 |
|
Andrew Lenharth
|
4e10c17eeb
|
problems with bools, and their work arounds
llvm-svn: 19833
|
2005-01-25 19:58:40 +00:00 |
|
Andrew Lenharth
|
3ae267eb3b
|
more load choices, better add with imm
llvm-svn: 19821
|
2005-01-25 00:35:34 +00:00 |
|
Andrew Lenharth
|
3b44cfa26d
|
Clean ups, and taught the instruction selector about immediate forms
llvm-svn: 19816
|
2005-01-24 19:44:07 +00:00 |
|
Andrew Lenharth
|
3c6e50e63b
|
Alpha JIT prune
llvm-svn: 19815
|
2005-01-24 18:48:22 +00:00 |
|
Andrew Lenharth
|
ae874f0d85
|
include prune and JIT prune
llvm-svn: 19814
|
2005-01-24 18:45:41 +00:00 |
|
Andrew Lenharth
|
e3991f8256
|
Pruned includes
llvm-svn: 19813
|
2005-01-24 18:37:48 +00:00 |
|
Andrew Lenharth
|
f5b9a8fe57
|
Let me introduce you to the early stages of the llvm backend for the alpha processor
llvm-svn: 19764
|
2005-01-22 23:41:55 +00:00 |
|