Anton Korobeynikov
|
3166a9ac5c
|
32-bit ri addressing mode has only 12-bit displacement
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75973 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:03:41 +00:00 |
|
Anton Korobeynikov
|
501f55d841
|
Forgot to add
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75972 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:03:24 +00:00 |
|
Anton Korobeynikov
|
f366beca48
|
Do not put bunch of target-specific stuff into common namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75971 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:03:08 +00:00 |
|
Anton Korobeynikov
|
d3ba2f286d
|
Print signed imms properly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75970 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:02:45 +00:00 |
|
Anton Korobeynikov
|
4b730160bb
|
Provide hooks for spilling / restoring stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75969 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:01:27 +00:00 |
|
Anton Korobeynikov
|
4cc7ce0c01
|
Revert thinko
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75968 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:01:10 +00:00 |
|
Anton Korobeynikov
|
319f381bbc
|
Temporary workaround problem with signed 32-bit imm's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75967 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:00:42 +00:00 |
|
Anton Korobeynikov
|
64d52d4a5d
|
Implement InsertBranch() hook
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75966 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:00:10 +00:00 |
|
Anton Korobeynikov
|
c9d4a887f6
|
Pipehole pattern for i32 imm's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75965 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:59:49 +00:00 |
|
Anton Korobeynikov
|
ac16b181f1
|
Bunch of sext_inreg patterns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75964 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:59:18 +00:00 |
|
Anton Korobeynikov
|
e00f1a722f
|
Provide normal 32 bit load and store
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75963 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:58:43 +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
|
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
|
11275eba17
|
Fix thinko
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75957 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:56:11 +00:00 |
|
Anton Korobeynikov
|
338cf05f16
|
Fix epic bug with invalid regclass for R0D
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75956 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:55:51 +00:00 |
|
Anton Korobeynikov
|
3e980b4f11
|
More register pairs (now 32 bit ones)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75954 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:55:04 +00:00 |
|
Anton Korobeynikov
|
05a54ff12a
|
Add even-odd register pairs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75953 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:54:45 +00:00 |
|
Anton Korobeynikov
|
2fdecaf1d5
|
Unbreak due to mainline api change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75952 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:54:20 +00:00 |
|
Anton Korobeynikov
|
dd0239b42c
|
Preliminary mul lowering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75951 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:53:55 +00:00 |
|
Anton Korobeynikov
|
bf0221771f
|
More extloads
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75950 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:53:35 +00:00 |
|
Anton Korobeynikov
|
7d1e39b7c6
|
SELECT_CC lowering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75948 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:52:51 +00:00 |
|
Anton Korobeynikov
|
4ec3e5ffd1
|
Conditional branches and comparisons
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75947 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:52:31 +00:00 |
|
Anton Korobeynikov
|
c7b71bede4
|
Emit correct offset for PseudoSourceValue
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75946 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:52:10 +00:00 |
|
Anton Korobeynikov
|
656ac6f0f6
|
Provide proper stack offsets for outgoing arguments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75945 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:51:53 +00:00 |
|
Anton Korobeynikov
|
4f9017f214
|
Change register allocation order to reduce amount of callee-saved regs to be spilled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75944 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:51:34 +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
|
c4368a1507
|
Swap the order of imm and idx field for rri addrmode in order to make handling of rri and ri addrmodes common
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75937 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:48:42 +00:00 |
|
Anton Korobeynikov
|
3240740ef4
|
Do not truncate sign bits for negative imms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75936 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:48:23 +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
|
dfd0dffa36
|
Cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75934 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:47:36 +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
|
30da5380e0
|
[PATCH 023/155] Typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75932 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:45:22 +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
|
3360da9772
|
Do some heroic rri address matching (shamelessly stolen from x86 backend). Not tested though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75929 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:44:00 +00:00 |
|
Anton Korobeynikov
|
4cad7d29fc
|
Change register allocation order, so R0 will be allocated the last among scratch. This will make address-calculation code much more happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75928 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:43:40 +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
|
e0167c1d5a
|
Add 32 bit subregs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75923 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:35:30 +00:00 |
|
Anton Korobeynikov
|
9342d3180a
|
Add another bunch of reg-imm patterns for add/or/and/xor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75922 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:35:08 +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
|
fc9ceeaad8
|
Proper match halfword-imm operands for mov and add
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75920 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 13:34:24 +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
|
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 |
|