Anton Korobeynikov
|
81d533c76a
|
Fix fallout from prev. patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76012 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:18:31 +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
|
09e39001da
|
Use divide single for 32 bit signed divides
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76010 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:17:52 +00:00 |
|
Anton Korobeynikov
|
cd3dfafef1
|
Add missed operands types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76009 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:17:07 +00:00 |
|
Anton Korobeynikov
|
e1c9aabd77
|
Missed part of prev. patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76008 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:16:45 +00:00 |
|
Anton Korobeynikov
|
9b812b0131
|
Another attempt to fix prologue emission
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76007 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:16:26 +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
|
e3a7f7a2b2
|
Remove redundand register move
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76004 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:14:54 +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
|
d20af96f5b
|
Fix epic fail: full-width muls are not commutable. This unbreaks bunch of stuff from SingleSource/Benchmarks/Stanford
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76002 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:14:01 +00:00 |
|
Anton Korobeynikov
|
c097d5cc74
|
32 bit rotate is not twoaddr instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76001 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:13:43 +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
|
54cea741ca
|
Add proper register aliases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75999 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:12:54 +00:00 |
|
Anton Korobeynikov
|
c3a5196133
|
Properly generate stack frame
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75998 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:12:36 +00:00 |
|
Anton Korobeynikov
|
0ba60d9658
|
Unbreak indirect branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75997 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:12:18 +00:00 |
|
Anton Korobeynikov
|
78085ee80c
|
Unbreak
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75996 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:12:00 +00:00 |
|
Anton Korobeynikov
|
66f1b378bc
|
Do not forget to save R15 when we allocate stack frame
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75995 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:11:40 +00:00 |
|
Anton Korobeynikov
|
c94fdf76dd
|
All calls clobbers R14
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75994 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:11:22 +00:00 |
|
Anton Korobeynikov
|
6f66f0556c
|
Unbreak calls to vararg functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75993 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:11:03 +00:00 |
|
Anton Korobeynikov
|
2bbbd5bc59
|
Stupid typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75992 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:10:49 +00:00 |
|
Anton Korobeynikov
|
4656760d9c
|
Typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75991 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:10:35 +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
|
5a11e02fbd
|
Fix fallout from 12-bit stuff landing: decide whether 20 bit displacements are needed during elimination of frame indexes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75989 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:09:56 +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
|
078e007c07
|
We already have reserved call frame regardless whether variable sized frame objects were present or not
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75987 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:09:04 +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
|
983d3a1ee5
|
Exapnd br_jt into indirect branch. Provide pattern for indirect branches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75983 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:07:24 +00:00 |
|
Anton Korobeynikov
|
57b04e6fa7
|
Implement 64 bit immediates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75982 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:07:06 +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
|
71fd2600f4
|
Fix MUL64rm instruction asmprinting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75976 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:04:38 +00:00 |
|
Anton Korobeynikov
|
70f717f0b7
|
Preliminary asmprinting of globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75975 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:04:22 +00:00 |
|
Anton Korobeynikov
|
ed00212f43
|
Implement asmprinting for odd-even regpairs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75974 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-16 14:04:01 +00:00 |
|
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 |
|