Anton Korobeynikov
|
c975180624
|
Temporary disable 16 bit bswap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76063 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:35:57 +00:00 |
|
Anton Korobeynikov
|
6ff3f2c710
|
Add bswap patterns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76061 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:34:52 +00:00 |
|
Anton Korobeynikov
|
54681eca69
|
Fix logic inversion for RI-mode address selection
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76052 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:31:14 +00:00 |
|
Anton Korobeynikov
|
9419a0d13d
|
Unbreak the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76051 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:30:49 +00:00 |
|
Anton Korobeynikov
|
bb8a04806d
|
Expand 32-bit bitconverts via memory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76050 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:30:29 +00:00 |
|
Anton Korobeynikov
|
f2fd8ea1c9
|
Fix incomin arg stack frame offset in case we need to generate stack frame
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76049 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:29:57 +00:00 |
|
Anton Korobeynikov
|
5dd38de2c2
|
Revert the commit, it just hides the real bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76045 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:28:26 +00:00 |
|
Anton Korobeynikov
|
75eef89ddb
|
Lower anyext to zext, 32-bit stuff does not have any implicit zero-extension side effects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76035 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:24:41 +00:00 |
|
Anton Korobeynikov
|
8bd0db7615
|
Provide consistent subreg idx scheme. This (hopefully) fixes remaining divide problems
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76011 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:18:17 +00:00 |
|
Anton Korobeynikov
|
6fe326c713
|
Implement 'large' PIC model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76006 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:16:05 +00:00 |
|
Anton Korobeynikov
|
48e8b3cc58
|
Implement shifts properly (hopefilly - finally!)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76005 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:15:24 +00:00 |
|
Anton Korobeynikov
|
0a42d2b437
|
Properly handle divides. As a bonus - implement memory versions of them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76003 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:14:33 +00:00 |
|
Anton Korobeynikov
|
014d4639d8
|
32 bit shifts have only 12 bit displacements
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76000 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:13:24 +00:00 |
|
Anton Korobeynikov
|
1ed1e3ecd4
|
Consolidate reg-imm / reg-reg-imm address mode selection logic in one place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75990 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:10:17 +00:00 |
|
Anton Korobeynikov
|
720e3b00b8
|
Add support for 12 bit displacements
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75988 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:09:35 +00:00 |
|
Anton Korobeynikov
|
980d5503c3
|
Emit proper lowering of load from arg stack slot
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75986 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:08:42 +00:00 |
|
Anton Korobeynikov
|
c772c4408e
|
Implement dynamic allocas
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75985 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:08:15 +00:00 |
|
Anton Korobeynikov
|
c16cdc5de7
|
Add jump tables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75984 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:07:50 +00:00 |
|
Anton Korobeynikov
|
759205d1ac
|
Add rotates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75981 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:06:49 +00:00 |
|
Anton Korobeynikov
|
cfca8b1f62
|
Add patterns for integer negate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75980 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:06:27 +00:00 |
|
Anton Korobeynikov
|
8c993e1632
|
Provide proper patterns for and with imm instructions. Tune the tests accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75979 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:06:00 +00:00 |
|
Anton Korobeynikov
|
25af73303f
|
Add 32 bit and reg-imm and disable invalid patterns for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75978 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:05:32 +00:00 |
|
Anton Korobeynikov
|
747052c1a5
|
Add z9 and z10 target processors. Mark z10-only instructions as such.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75977 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:05:00 +00:00 |
|
Anton Korobeynikov
|
22836d1b31
|
Proper lower 'small' results
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75962 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:58:24 +00:00 |
|
Anton Korobeynikov
|
eb68f1c661
|
Completel forgot about unconditional branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75961 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:57:52 +00:00 |
|
Anton Korobeynikov
|
bad769f11a
|
Lower addresses of globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75960 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:57:27 +00:00 |
|
Anton Korobeynikov
|
ed1a6d4cad
|
Test (incomplete) for easy muls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75959 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:57:03 +00:00 |
|
Anton Korobeynikov
|
8d1837d9be
|
Provide "wide" muls and divs/rems
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75958 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:56:42 +00:00 |
|
Anton Korobeynikov
|
ecf22d5bdc
|
Tests for cmp / br_cc / select_cc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75949 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:53:15 +00:00 |
|
Anton Korobeynikov
|
ef5decab53
|
Emit callee-saved regs spills / restores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75943 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:51:12 +00:00 |
|
Anton Korobeynikov
|
ba249e41f3
|
Some preliminary call lowering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75941 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:50:21 +00:00 |
|
Anton Korobeynikov
|
3c98c616c5
|
Prologue / epilogue emission
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75940 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:49:49 +00:00 |
|
Anton Korobeynikov
|
51f613fb2b
|
Add simple frame index elimination
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75939 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:49:25 +00:00 |
|
Anton Korobeynikov
|
81c0325cdf
|
Provide proper test :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75938 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:48:59 +00:00 |
|
Anton Korobeynikov
|
711d5b68e0
|
Add address computation stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75935 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:47:59 +00:00 |
|
Anton Korobeynikov
|
c8301d17a8
|
Add mem-imm stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75933 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:47:14 +00:00 |
|
Anton Korobeynikov
|
961bb6f430
|
Add stores and truncstores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75931 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:45:00 +00:00 |
|
Anton Korobeynikov
|
dc28955b3f
|
Add patterns for various extloads
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75930 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:44:30 +00:00 |
|
Anton Korobeynikov
|
9e4816e09f
|
Add shifts and reg-imm address matching
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75927 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:43:18 +00:00 |
|
Anton Korobeynikov
|
a51752cbea
|
Add bunch of 32-bit patterns... Uffff :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75926 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:42:31 +00:00 |
|
Anton Korobeynikov
|
da308c9a67
|
Add bunch of reg-imm movs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75921 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:34:50 +00:00 |
|
Anton Korobeynikov
|
89edcd0927
|
Provide masked reg-imm 'or' and 'and'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75919 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:33:57 +00:00 |
|
Anton Korobeynikov
|
c79629536a
|
Fix test running lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75918 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:33:21 +00:00 |
|
Anton Korobeynikov
|
e6220fb230
|
Add reg-reg and pattern
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75917 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:32:49 +00:00 |
|
Anton Korobeynikov
|
bdc9081693
|
Add sub reg-reg pattern
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75916 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:32:16 +00:00 |
|
Anton Korobeynikov
|
b573f99ab7
|
Add xor reg-reg pattern
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75915 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:31:28 +00:00 |
|
Anton Korobeynikov
|
26ba0b1ec5
|
Add or reg-reg pattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75914 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:30:53 +00:00 |
|
Anton Korobeynikov
|
0676d2887a
|
Add add reg-reg and reg-imm patterns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75913 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:30:15 +00:00 |
|
Anton Korobeynikov
|
1cc9dc7267
|
Add simple reg-reg and reg-imm moves
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75912 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:29:38 +00:00 |
|
Anton Korobeynikov
|
87a24e3ee4
|
Minimal lowering for formal_arguments / ret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75911 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:28:59 +00:00 |
|