llvm-6502/lib
Duncan Sands d8742eeb2f Initial soft-float support for LegalizeTypes. I rewrote
the fcopysign expansion from LegalizeDAG to get rid of
what seems to be a bug: the use of sign extension means
that when copying the sign bit from an f32 to an f64,
the upper 32 bits of the f64 (now an i64) are set, not
just the top bit...  I also generalized it to work for
any sized floating point types, and removed the bogosity:
  SDOperand Mask1 = (SrcVT == MVT::f64)
    ? DAG.getConstantFP(BitsToDouble(1ULL << 63), SrcVT)
    : DAG.getConstantFP(BitsToFloat(1U << 31), SrcVT);
  Mask1 = DAG.getNode(ISD::BIT_CONVERT, SrcNVT, Mask1);
(here SrcNVT is an integer with the same size as SrcVT).
As far as I can see this takes a 1 << 63, converts to
a double, converts that to a floating point constant
then converts that to an integer constant, ending up
with... 1 << 63 as an integer constant!  So I just
generate this integer constant directly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48305 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-12 21:27:04 +00:00
..
Analysis Add Hybrid Cycle Detection to Andersen's analysis. 2008-03-05 19:31:47 +00:00
Archive Fix thinko: alias always defines new symbol. Even is aliasee itself is undefined. 2008-03-11 00:24:53 +00:00
AsmParser Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
Bitcode Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
CodeGen Initial soft-float support for LegalizeTypes. I rewrote 2008-03-12 21:27:04 +00:00
Debugger
ExecutionEngine Fix formatting. 2008-03-10 16:38:37 +00:00
Linker Ultimately resolve aliases during linking, if possible 2008-03-11 22:51:09 +00:00
Support Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more. 2008-03-07 22:39:49 +00:00
System This is a simple fix for getting error messages from dlerror in 2008-03-12 00:50:01 +00:00
Target Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
Transforms Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
VMCore Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
Makefile