llvm-6502/lib/Target/SparcV8
Brian Gaeke 4f70b63ebc Make GEPs not suck so much:
* Don't emit the Index * ElementSize multiply if Index is a constant.
* Use a shift, not a multiply, if ElementSize is 1/2/4/8.
* If ElementSize fits in the immediate field of SMUL, then put it there.

Fix a bug where struct offsets might be truncated (ConstantSInt::get is
now used instead of ConstantInt::get).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18792 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-11 05:19:02 +00:00
..
DelaySlotFiller.cpp
FPMover.cpp When FpMOVDs appeared in pairs, we were mistakenly skipping over the latter of 2004-12-10 04:42:45 +00:00
Makefile Adjust paths: Sparc/V8 --> SparcV8 2004-12-10 04:48:57 +00:00
README.txt Update lists of failing benchmarks, including info on which 2004-12-11 05:19:01 +00:00
SparcV8.h
SparcV8.td Adjust paths: Sparc/V8 --> SparcV8 2004-12-10 04:48:57 +00:00
SparcV8AsmPrinter.cpp Fix asm-printing directives (how did we not see this before...apparently, 2004-12-09 18:51:01 +00:00
SparcV8CodeEmitter.cpp This code rotted - change it to call abort() until someone wants 2004-12-03 06:57:14 +00:00
SparcV8InstrFormats.td
SparcV8InstrInfo.cpp
SparcV8InstrInfo.h
SparcV8InstrInfo.td Add the rest of the multiply instructions. 2004-12-10 08:39:29 +00:00
SparcV8ISelSimple.cpp Make GEPs not suck so much: 2004-12-11 05:19:02 +00:00
SparcV8JITInfo.h
SparcV8RegisterInfo.cpp
SparcV8RegisterInfo.h
SparcV8RegisterInfo.td Make this file self-contained. 2004-12-10 04:46:30 +00:00
SparcV8TargetMachine.cpp Move -lowerselect later in the chain; some select instructions were 2004-12-10 08:39:30 +00:00
SparcV8TargetMachine.h

SparcV8 backend skeleton
------------------------

This directory houses a 32-bit SPARC V8 backend employing an expander-based
instruction selector.  It is not yet functionally complete.  Watch
this space for more news coming soon!

Current expected test failures
------------------------------

Here are the currently-expected SingleSource failures for V8
(Some C++ programs are crashing in libstdc++ at the moment;
I'm not sure why.)

  (llc) SingleSource/Regression/C++/EH/exception_spec_test
  (llc) SingleSource/Regression/C++/EH/throw_rethrow_test

Here are the currently-expected MultiSource failures for V8,
neglecting FreeBench, MallocBench, and Prolangs-C++:

  (llc,cbe) MultiSource/Applications/d/make_dparser
  (llc) MultiSource/Applications/hbd
  (llc,cbe) MultiSource/Applications/hexxagon
  (llc) MultiSource/Benchmarks/Fhourstones
  (llc,cbe) MultiSource/Benchmarks/McCat/03-testtrie
  (llc) MultiSource/Benchmarks/McCat/18-imp
  (llc,cbe) MultiSource/Benchmarks/Prolangs-C/bison/mybison
  (llc,cbe) MultiSource/Benchmarks/Prolangs-C/fixoutput
  (llc,cbe) MultiSource/Benchmarks/Prolangs-C/gnugo
  (llc,cbe) MultiSource/Benchmarks/Prolangs-C/plot2fig
  (llc,cbe) MultiSource/Benchmarks/Ptrdist/anagram

To-do
-----

* support shifts on longs
* support casting 64-bit integers to FP types
* support FP rem
* directly support select instructions

$Date$