llvm-6502/lib/Target/ARM
2006-10-13 21:14:26 +00:00
..
.cvsignore
ARM.h Implement a MachineFunctionPass to fix the mul instruction 2006-09-19 15:49:25 +00:00
ARM.td
ARMAsmPrinter.cpp Pass the MachineFunction into EmitJumpTableInfo. 2006-10-05 03:01:21 +00:00
ARMFrameInfo.h
ARMInstrInfo.cpp add shifts to addressing mode 1 2006-09-13 12:09:43 +00:00
ARMInstrInfo.h
ARMInstrInfo.td add FNEGS and FNEGD 2006-10-13 17:37:35 +00:00
ARMISelDAGToDAG.cpp Merge ISD::TRUNCSTORE to ISD::STORE. Switch to using StoreSDNode. 2006-10-13 21:14:26 +00:00
ARMMul.cpp fix header 2006-09-19 16:41:40 +00:00
ARMRegisterInfo.cpp fix the stack alignment 2006-10-06 14:29:47 +00:00
ARMRegisterInfo.h
ARMRegisterInfo.td fix the names of the 64bit fp register 2006-10-02 19:30:56 +00:00
ARMTargetAsmInfo.cpp Break out target asm info into separate files. 2006-09-07 22:05:02 +00:00
ARMTargetAsmInfo.h Break out target asm info into separate files. 2006-09-07 22:05:02 +00:00
ARMTargetMachine.cpp most ARM targets are little endian 2006-10-09 14:12:15 +00:00
ARMTargetMachine.h Implement a MachineFunctionPass to fix the mul instruction 2006-09-19 15:49:25 +00:00
Makefile
README.txt add a note 2006-10-09 14:18:33 +00:00

//===---------------------------------------------------------------------===//
// Random ideas for the ARM backend.
//===---------------------------------------------------------------------===//

Consider implementing a select with two conditional moves:

cmp x, y
moveq dst, a
movne dst, b

----------------------------------------------------------


%tmp1 = shl int %b, ubyte %c
%tmp4 = add int %a, %tmp1

compiles to

add r0, r0, r1, lsl r2

but

%tmp1 = shl int %b, ubyte %c
%tmp4 = add int %tmp1, %a

compiles to
mov r1, r1, lsl r2
add r0, r1, r0

----------------------------------------------------------

add an offset to FLDS/FLDD addressing mode

----------------------------------------------------------

the function

void %f() {
entry:
	call void %g( int 1, int 2, int 3, int 4, int 5 )
	ret void
}

declare void %g(int, int, int, int, int)

Only needs 8 bytes of stack space. We currently allocate 16.

----------------------------------------------------------