llvm-6502/test
Bill Schmidt d4585b941a Fix PR19144: Incorrect offset generated for int-to-fp conversion at -O0.
When converting a signed 32-bit integer to double-precision floating point on
hardware without a lfiwax instruction, we have to instead use a lfd followed
by fcfid.  We were erroneously offsetting the address by 4 bytes in
preparation for either a lfiwax or lfiwzx when generating the lfd.  This fixes
that silly error.

This was not caught in the test suite since the conversion tests were run with
-mcpu=pwr7, which implies availability of lfiwax.  I've added another test
case for older hardware that checks the code we expect in the absence of
lfiwax and other flavors of fcfid.  There are fewer tests in this test case
because we punt to DAG selection in more cases on older hardware.  (We must
generate complex fiddly sequences in those cases, and there is marginal
benefit in duplicating that logic in fast-isel.)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204155 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-18 14:32:50 +00:00
..
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen Fix PR19144: Incorrect offset generated for int-to-fp conversion at -O0. 2014-03-18 14:32:50 +00:00
DebugInfo DebugInfo/lto-comp-dir.ll: Tweak for dos path. 2014-03-18 06:01:14 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation [msan] Origin tracking with history. 2014-03-18 13:30:56 +00:00
Integer
JitListener
Linker Switch the type field in DIVariable and DIGlobalVariable over to DITypeRefs. 2014-03-18 02:34:58 +00:00
LTO
MC Revert r203962 and two revisions depending on it: r204028 and r204059. 2014-03-18 10:36:11 +00:00
Object [yaml2obj][ELF] Assign name (.shstrtab) to the section holds sections names. 2014-03-14 06:53:16 +00:00
Other
TableGen
tools llvm-readobj: Print referred symbol name for CLR token definition 2014-03-17 01:46:52 +00:00
Transforms Tolerate unmangled names in sample profiles. 2014-03-18 12:03:12 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh