llvm-6502/lib/Target/ARM
Rafael Espindola 27185190e6 add floating point registers
implement SINT_TO_FP


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30673 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-29 21:20:16 +00:00
..
.cvsignore
ARM.h
ARM.td
ARMAsmPrinter.cpp
ARMFrameInfo.h
ARMInstrInfo.cpp
ARMInstrInfo.h
ARMInstrInfo.td add floating point registers 2006-09-29 21:20:16 +00:00
ARMISelDAGToDAG.cpp add floating point registers 2006-09-29 21:20:16 +00:00
ARMMul.cpp
ARMRegisterInfo.cpp
ARMRegisterInfo.h
ARMRegisterInfo.td add floating point registers 2006-09-29 21:20:16 +00:00
ARMTargetAsmInfo.cpp
ARMTargetAsmInfo.h
ARMTargetMachine.cpp
ARMTargetMachine.h
Makefile
README.txt

//===---------------------------------------------------------------------===//
// 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

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