llvm-mirror/lib/Target/CellSPU
Scott Michel 6e9747d2d6 CellSPU: Fix bug 3055
- Add v4f32, v2f64 to LowerVECTOR_SHUFFLE
- Look for vector rotate in shuffle elements, generate a vector rotate
  instead of a full-blown shuffle when opportunity presents itself.
- Generate larger test harness and fix a few interesting but obscure bugs.

llvm-svn: 60552
2008-12-04 21:01:44 +00:00
..
AsmPrinter CellSPU: Fix bug 3055 2008-12-04 21:01:44 +00:00
CellSDKIntrinsics.td Merge current work back to tree to minimize diffs and drift. Major highlights 2008-02-23 18:41:37 +00:00
CMakeLists.txt CMake: Reflected changes on the CellSPU target build. May require a 2008-11-08 20:37:19 +00:00
Makefile CellSPU: Bring SPU's assembly printer more in-line with current LLVM code 2008-11-08 18:59:02 +00:00
README.txt CellSPU: 2008-11-24 17:11:17 +00:00
SPU.h Use template to distinguish between function variants. 2008-10-08 07:44:52 +00:00
SPU.td Move target independent td files from lib/Target/ to include/llvm/Target so they can be distributed along with the header files. 2008-11-24 07:34:46 +00:00
SPUCallingConv.td CellSPU: 2008-12-02 19:53:53 +00:00
SPUFrameInfo.cpp
SPUFrameInfo.h Bug fixes and updates for CellSPU, syncing up with trunk. Most notable 2008-04-30 00:30:08 +00:00
SPUHazardRecognizers.cpp
SPUHazardRecognizers.h Experimental post-pass scheduling support. Post-pass scheduling 2008-11-19 23:18:57 +00:00
SPUInstrBuilder.h Fix constant pool loads, and remove broken versions of addConstantPoolReference. 2008-09-06 01:11:01 +00:00
SPUInstrFormats.td Merge current work back to tree to minimize diffs and drift. Major highlights 2008-02-23 18:41:37 +00:00
SPUInstrInfo.cpp Split foldMemoryOperand into public non-virtual and protected virtual 2008-12-03 18:43:12 +00:00
SPUInstrInfo.h Split foldMemoryOperand into public non-virtual and protected virtual 2008-12-03 18:43:12 +00:00
SPUInstrInfo.td CellSPU: Fix bug 3055 2008-12-04 21:01:44 +00:00
SPUISelDAGToDAG.cpp CellSPU: 2008-12-04 03:02:42 +00:00
SPUISelLowering.cpp CellSPU: Fix bug 3055 2008-12-04 21:01:44 +00:00
SPUISelLowering.h CellSPU: 2008-12-04 03:02:42 +00:00
SPUMachineFunction.h
SPUNodes.td CellSPU: 2008-12-04 03:02:42 +00:00
SPUOperands.td Rename ConstantSDNode's getSignExtended to getSExtValue, for 2008-09-26 21:54:37 +00:00
SPURegisterInfo.cpp CellSPU: Fix prologue/epilogue emission when function contains calls but 2008-11-08 05:16:20 +00:00
SPURegisterInfo.h Move reMaterialize() from TargetRegisterInfo to TargetInstrInfo. 2008-03-31 20:40:39 +00:00
SPURegisterInfo.td
SPURegisterNames.h
SPUSchedule.td
SPUSubtarget.cpp
SPUSubtarget.h Rewrite tblgen handling of subtarget features so 2008-02-14 23:35:16 +00:00
SPUTargetAsmInfo.cpp CellSPU: Bring SPU's assembly printer more in-line with current LLVM code 2008-11-08 18:59:02 +00:00
SPUTargetAsmInfo.h Teach CellSPU about ELF sections and new section emitter classes. 2008-11-07 04:36:25 +00:00
SPUTargetMachine.cpp Adds extern "C" ints to the .cpp files that use RegisterTarget, as 2008-11-15 21:36:30 +00:00
SPUTargetMachine.h Use raw_ostream throughout the AsmPrinter. 2008-08-21 00:14:44 +00:00

//===- README.txt - Notes for improving CellSPU-specific code gen ---------===//

This code was contributed by a team from the Computer Systems Research
Department in The Aerospace Corporation:

- Scott Michel (head bottle washer and much of the non-floating point
  instructions)
- Mark Thomas (floating point instructions)
- Michael AuYeung (intrinsics)
- Chandler Carruth (LLVM expertise)
- Nehal Desai (debugging, RoadRunner SPU expertise)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR
OTHERWISE.  IN NO EVENT SHALL THE AEROSPACE CORPORATION BE LIABLE FOR DAMAGES
OF ANY KIND OR NATURE WHETHER BASED IN CONTRACT, TORT, OR OTHERWISE ARISING
OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE INCLUDING, WITHOUT
LIMITATION, DAMAGES RESULTING FROM LOST OR CONTAMINATED DATA, LOST PROFITS OR
REVENUE, COMPUTER MALFUNCTION, OR FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL,
OR PUNITIVE  DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR
SUCH DAMAGES ARE FORESEEABLE. 

---------------------------------------------------------------------------
--WARNING--:
--WARNING--: The CellSPU work is work-in-progress and "alpha" quality code.
--WARNING--:

If you are brave enough to try this code or help to hack on it, be sure
to add 'spu' to configure's --enable-targets option, e.g.:

        ./configure <your_configure_flags_here> \
           --enable-targets=x86,x86_64,powerpc,spu

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

The unofficially official status page (because it's not easy to get an
officially blessed external web page from either IBM Austin or Aerosapce):

              http://sites.google.com/site/llvmcellspu/

TODO:
* Finish branch instructions, branch prediction

  These instructions were started, but only insofar as to get llvm-gcc-4.2's
  crtbegin.ll working (which doesn't.)

* Double floating point support

  This was started. "What's missing?" to be filled in.

* Intrinsics

  Lots of progress. "What's missing/incomplete?" to be filled in.

===-------------------------------------------------------------------------===