freebsd-nq/lib/Target/Alpha
2011-02-26 22:03:50 +00:00
..
TargetInfo
Alpha.h Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
Alpha.td
AlphaAsmPrinter.cpp Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
AlphaBranchSelector.cpp Vendor import of llvm r114020 (from the release_28 branch): 2010-09-17 15:48:55 +00:00
AlphaCallingConv.td
AlphaFrameLowering.cpp Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
AlphaFrameLowering.h Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
AlphaInstrFormats.td Update LLVM to r108243. 2010-07-13 17:19:57 +00:00
AlphaInstrInfo.cpp Vendor import of llvm r114020 (from the release_28 branch): 2010-09-17 15:48:55 +00:00
AlphaInstrInfo.h Vendor import of llvm r114020 (from the release_28 branch): 2010-09-17 15:48:55 +00:00
AlphaInstrInfo.td Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
AlphaISelDAGToDAG.cpp Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
AlphaISelLowering.cpp Vendor import of llvm trunk r126547: 2011-02-26 22:03:50 +00:00
AlphaISelLowering.h Vendor import of llvm trunk r126547: 2011-02-26 22:03:50 +00:00
AlphaLLRP.cpp Vendor import of llvm r114020 (from the release_28 branch): 2010-09-17 15:48:55 +00:00
AlphaMachineFunctionInfo.h
AlphaMCAsmInfo.cpp Update LLVM to r108428. 2010-07-15 17:06:11 +00:00
AlphaMCAsmInfo.h Update LLVM to r108428. 2010-07-15 17:06:11 +00:00
AlphaRegisterInfo.cpp Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
AlphaRegisterInfo.h Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
AlphaRegisterInfo.td
AlphaRelocations.h
AlphaSchedule.td Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
AlphaSelectionDAGInfo.cpp Update LLVM to r104832. 2010-05-27 15:15:58 +00:00
AlphaSelectionDAGInfo.h Update LLVM to r104832. 2010-05-27 15:15:58 +00:00
AlphaSubtarget.cpp
AlphaSubtarget.h
AlphaTargetMachine.cpp Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
AlphaTargetMachine.h Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
CMakeLists.txt Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
Makefile Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
README.txt

***

add gcc builtins for alpha instructions


***

custom expand byteswap into nifty 
extract/insert/mask byte/word/longword/quadword low/high
sequences

***

see if any of the extract/insert/mask operations can be added

***

match more interesting things for cmovlbc cmovlbs (move if low bit clear/set)

***

lower srem and urem

remq(i,j):  i - (j * divq(i,j)) if j != 0
remqu(i,j): i - (j * divqu(i,j)) if j != 0
reml(i,j):  i - (j * divl(i,j)) if j != 0
remlu(i,j): i - (j * divlu(i,j)) if j != 0

***

add crazy vector instructions (MVI):

(MIN|MAX)(U|S)(B8|W4) min and max, signed and unsigned, byte and word
PKWB, UNPKBW pack/unpack word to byte
PKLB UNPKBL pack/unpack long to byte
PERR pixel error (sum accross bytes of bytewise abs(i8v8 a - i8v8 b))

cmpbytes bytewise cmpeq of i8v8 a and i8v8 b (not part of MVI extentions)

this has some good examples for other operations that can be synthesised well 
from these rather meager vector ops (such as saturating add).
http://www.alphalinux.org/docs/MVI-full.html