Anton Korobeynikov
|
4b5232c990
|
Add 8bit shifts
llvm-svn: 70759
|
2009-05-03 13:16:37 +00:00 |
|
Anton Korobeynikov
|
d0e3939bdf
|
Handle logical shift right (at least I hope so :) )
llvm-svn: 70758
|
2009-05-03 13:16:17 +00:00 |
|
Anton Korobeynikov
|
7dd27f2e41
|
Handle anyext
llvm-svn: 70757
|
2009-05-03 13:15:57 +00:00 |
|
Anton Korobeynikov
|
baf9278166
|
Expand all sorts of indirect branches
llvm-svn: 70755
|
2009-05-03 13:15:40 +00:00 |
|
Anton Korobeynikov
|
806b8efb5e
|
Add InsertBranch() hook for tail mergeing
llvm-svn: 70754
|
2009-05-03 13:15:22 +00:00 |
|
Anton Korobeynikov
|
b97b120cf9
|
Implement bswap
llvm-svn: 70753
|
2009-05-03 13:15:03 +00:00 |
|
Anton Korobeynikov
|
cebc97d79c
|
Properly handle ExternalSymbol's
llvm-svn: 70752
|
2009-05-03 13:14:46 +00:00 |
|
Anton Korobeynikov
|
9b84c6b633
|
Expand muls (all mulls!) to libcalls for now
llvm-svn: 70751
|
2009-05-03 13:14:25 +00:00 |
|
Anton Korobeynikov
|
80d0bdc789
|
Provide addc and subc
llvm-svn: 70748
|
2009-05-03 13:13:34 +00:00 |
|
Anton Korobeynikov
|
1f80bde7ad
|
Add left shift
llvm-svn: 70747
|
2009-05-03 13:13:17 +00:00 |
|
Anton Korobeynikov
|
d9b4143e47
|
Add direct branch
llvm-svn: 70746
|
2009-05-03 13:12:58 +00:00 |
|
Anton Korobeynikov
|
c5a13f6a3f
|
It's error-prone to maintain two separate variants of asmprinting stuff, one of which is even used. Drop second (aka 'intel') variant of operands. It can be added later, if needed.
llvm-svn: 70745
|
2009-05-03 13:12:37 +00:00 |
|
Anton Korobeynikov
|
f7943f8df6
|
Lower select with custom inserted and make condjumps generic
llvm-svn: 70744
|
2009-05-03 13:12:23 +00:00 |
|
Anton Korobeynikov
|
d55d6586ae
|
Add first draft for conditions, conditional branches, etc
llvm-svn: 70743
|
2009-05-03 13:12:06 +00:00 |
|
Anton Korobeynikov
|
2b8085a3f5
|
Hanle i8 returns
llvm-svn: 70742
|
2009-05-03 13:11:48 +00:00 |
|
Anton Korobeynikov
|
67b1a5c20b
|
Small tweaking
llvm-svn: 70741
|
2009-05-03 13:11:35 +00:00 |
|
Anton Korobeynikov
|
c428224a89
|
Add prologue/epilogue emission. Fix frame pointer handling.
llvm-svn: 70740
|
2009-05-03 13:11:20 +00:00 |
|
Anton Korobeynikov
|
10d199fa80
|
Add code for save/restore of callee-saved registers
llvm-svn: 70739
|
2009-05-03 13:11:04 +00:00 |
|
Anton Korobeynikov
|
6a63537ff0
|
Two more hooks for RA and FP registers
llvm-svn: 70738
|
2009-05-03 13:10:40 +00:00 |
|
Anton Korobeynikov
|
06d645c199
|
Proper handle loading of effective address of stack slot stuff
llvm-svn: 70737
|
2009-05-03 13:10:26 +00:00 |
|
Anton Korobeynikov
|
88cc152a78
|
Match frame indexes
llvm-svn: 70736
|
2009-05-03 13:10:11 +00:00 |
|
Anton Korobeynikov
|
e7639579a3
|
First draft of stack slot loads / stores lowering
llvm-svn: 70735
|
2009-05-03 13:09:57 +00:00 |
|
Anton Korobeynikov
|
1f9d4dc64d
|
Reverse order of memory arguments
llvm-svn: 70734
|
2009-05-03 13:09:40 +00:00 |
|
Anton Korobeynikov
|
f3fadcbbda
|
Remove bogus pattern
llvm-svn: 70733
|
2009-05-03 13:09:24 +00:00 |
|
Anton Korobeynikov
|
47c1450013
|
Correct asmprinting of memory operands
llvm-svn: 70732
|
2009-05-03 13:09:10 +00:00 |
|
Anton Korobeynikov
|
eea3a58bbf
|
Match wrapper node for address
llvm-svn: 70731
|
2009-05-03 13:08:51 +00:00 |
|
Anton Korobeynikov
|
cd06be1d13
|
Add lowering for global address nodes. Not pretty efficient though.
llvm-svn: 70730
|
2009-05-03 13:08:33 +00:00 |
|
Anton Korobeynikov
|
e02a674ee0
|
Some early full call lowering draft for direct calls
llvm-svn: 70729
|
2009-05-03 13:08:13 +00:00 |
|
Anton Korobeynikov
|
b396742d02
|
Add call frame setup instruction elimination and lowerid for bunch of call-related stuff.
llvm-svn: 70728
|
2009-05-03 13:07:54 +00:00 |
|
Anton Korobeynikov
|
4fa710b300
|
Add CALL lowering.
llvm-svn: 70727
|
2009-05-03 13:07:31 +00:00 |
|
Anton Korobeynikov
|
582d2a335b
|
Add bunch of mem-whatever patterns
llvm-svn: 70726
|
2009-05-03 13:07:10 +00:00 |
|
Anton Korobeynikov
|
d14ee9eeae
|
Add bunch of reg-mem inst patterns
llvm-svn: 70725
|
2009-05-03 13:06:46 +00:00 |
|
Anton Korobeynikov
|
7b7a743ea8
|
Add normal and trunc stores
llvm-svn: 70724
|
2009-05-03 13:06:26 +00:00 |
|
Anton Korobeynikov
|
91359dcc3b
|
Basic support for mem=>reg moves
llvm-svn: 70723
|
2009-05-03 13:06:03 +00:00 |
|
Anton Korobeynikov
|
83122b7ef0
|
Add 8-bit insts. zext behaviour is not modelled yet
llvm-svn: 70722
|
2009-05-03 13:05:42 +00:00 |
|
Anton Korobeynikov
|
1c0af22261
|
Add 8-bit regclass and pattern for sext_inreg
llvm-svn: 70721
|
2009-05-03 13:05:22 +00:00 |
|
Anton Korobeynikov
|
d74b7ab46d
|
Add pattern for OR
llvm-svn: 70720
|
2009-05-03 13:05:00 +00:00 |
|
Anton Korobeynikov
|
aff90ae4f2
|
Add reg-imm variants
llvm-svn: 70719
|
2009-05-03 13:04:41 +00:00 |
|
Anton Korobeynikov
|
ff4332fcde
|
Add hint to nop
llvm-svn: 70718
|
2009-05-03 13:04:23 +00:00 |
|
Anton Korobeynikov
|
a46b46fa46
|
Add more instructions
llvm-svn: 70717
|
2009-05-03 13:04:06 +00:00 |
|
Anton Korobeynikov
|
1921caf185
|
Cleanup
llvm-svn: 70716
|
2009-05-03 13:03:50 +00:00 |
|
Anton Korobeynikov
|
262c4b9ff9
|
Add dummy lowering for shifts
llvm-svn: 70715
|
2009-05-03 13:03:33 +00:00 |
|
Anton Korobeynikov
|
f21d1d0d2c
|
We don't have any div at all - thus mark it as expensive
llvm-svn: 70714
|
2009-05-03 13:03:14 +00:00 |
|
Anton Korobeynikov
|
df71fb8a3a
|
We're not going to spend 100% of time in interrupts, do we? :)
llvm-svn: 70713
|
2009-05-03 13:02:57 +00:00 |
|
Anton Korobeynikov
|
627e169e8e
|
Add simple reg-reg add.
llvm-svn: 70712
|
2009-05-03 13:02:39 +00:00 |
|
Anton Korobeynikov
|
be8018ff1d
|
gas uses lower letter for register names
llvm-svn: 70711
|
2009-05-03 13:02:22 +00:00 |
|
Anton Korobeynikov
|
e9e0353b21
|
Add code enough for emission of reg-reg and reg-imm moves. This allows us to compile "ret i16 0" properly!
llvm-svn: 70710
|
2009-05-03 13:02:04 +00:00 |
|
Anton Korobeynikov
|
8b763cb6ec
|
Add function body printing routine
llvm-svn: 70709
|
2009-05-03 13:01:41 +00:00 |
|
Anton Korobeynikov
|
5f8e2ee553
|
Add 'msp430' target triple recognizer
llvm-svn: 70708
|
2009-05-03 13:01:23 +00:00 |
|
Anton Korobeynikov
|
f5317831da
|
Make emit{Prologue,Epilogue}() noop for now
llvm-svn: 70707
|
2009-05-03 13:01:04 +00:00 |
|