#
876955cb |
| 21-Aug-2009 |
Anton Korobeynikov <asl@math.spbu.ru> |
Fix typo.
llvm-svn: 79688
|
#
13e8c7ef |
| 21-Aug-2009 |
Anton Korobeynikov <asl@math.spbu.ru> |
Implement APInt <-> APFloat conversion for IEEE 128-bit floats. This fixes PR2555
llvm-svn: 79677
|
#
da666c80 |
| 20-Aug-2009 |
Erick Tryzelaar <idadesub@users.sourceforge.net> |
Add support for including '+' in APFloat strings, more asserts, and many new unit tests.
llvm-svn: 79574
|
#
bf5998ed |
| 20-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix two APFloat bugs in converting hexadecimal constants.
llvm-svn: 79540
|
#
a9680df6 |
| 18-Aug-2009 |
Erick Tryzelaar <idadesub@users.sourceforge.net> |
Fix an uninitialized value warning in APFloat.
llvm-svn: 79353
|
#
19f63b2e |
| 16-Aug-2009 |
Erick Tryzelaar <idadesub@users.sourceforge.net> |
Modify APFloat to take a StringRef instead of a c string.
This also adds unit tests to APFloat that mainly tests the string handling of APFloat, but not much else of it's api.
llvm-svn: 79210
|
#
fbcc663c |
| 14-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location i
llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed").
llvm-svn: 75640
show more ...
|
#
56d06597 |
| 11-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
assert(0) -> LLVM_UNREACHABLE. Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG bu
assert(0) -> LLVM_UNREACHABLE. Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds.
llvm-svn: 75379
show more ...
|
#
799bf585 |
| 30-May-2009 |
Mike Stump <mrs@apple.com> |
Add support for letting the client choose different flavors of NaNs. Testcase to be added in clang.
llvm-svn: 72606
|
#
889285d4 |
| 13-May-2009 |
Mike Stump <mrs@apple.com> |
Fix whitespacing (space after switch).
llvm-svn: 71738
|
#
93eefa00 |
| 23-Mar-2009 |
Dale Johannesen <dalej@apple.com> |
Fix internal representation of fp80 to be the same as a normal i80 {low64, high16} rather than its own {high64, low16}. A depressing number of places know about this; I think I got them all. Bitcode
Fix internal representation of fp80 to be the same as a normal i80 {low64, high16} rather than its own {high64, low16}. A depressing number of places know about this; I think I got them all. Bitcode readers and writers convert back to the old form to avoid breaking compatibility.
llvm-svn: 67562
show more ...
|
#
b858c0eb |
| 13-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
just initialize the first element, we don't need to set the rest to zeros.
llvm-svn: 66850
|
#
0bf18690 |
| 13-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
Eliminate a 9640 byte static mutable initialized data item by moving it to the stack. This shrinks all llvm tools by 9k, and improves reentrancy.
llvm-svn: 66847
|
#
91702096 |
| 12-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
static functions don't need an anonymous namespace.
llvm-svn: 66845
|
Revision tags: llvmorg-2.5.0 |
|
#
d1e179d9 |
| 14-Feb-2009 |
Cedric Venet <cedric.venet@laposte.net> |
Unbreak the build on win32. Cleanup some warning.
Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that
Unbreak the build on win32. Cleanup some warning.
Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync.
Only tested with VS2008. hope it does not break anything. feel free to revert.
llvm-svn: 64554
show more ...
|
#
1f86498f |
| 21-Jan-2009 |
Dale Johannesen <dalej@apple.com> |
Do not use host floating point types when emitting ASCII IR; loading and storing these can change the bits of NaNs on some hosts. Remove or add warnings at a few other places using host floating poi
Do not use host floating point types when emitting ASCII IR; loading and storing these can change the bits of NaNs on some hosts. Remove or add warnings at a few other places using host floating point; this is a bad thing to do in general.
llvm-svn: 62712
show more ...
|
#
b5721632 |
| 21-Jan-2009 |
Dale Johannesen <dalej@apple.com> |
Make special cases (0 inf nan) work for frem. Besides APFloat, this involved removing code from two places that thought they knew the result of frem(0., x) but were wrong.
llvm-svn: 62645
|
#
fe750179 |
| 20-Jan-2009 |
Dale Johannesen <dalej@apple.com> |
Add an IEEE remainder function, which is not fully implemented yet and not used. This is mainly to clarify that APFloat::mod implements C fmod, not remainder.
llvm-svn: 62593
|
#
740e9870 |
| 19-Jan-2009 |
Dale Johannesen <dalej@apple.com> |
compile-time fmod was done incorrectly. PR 3316.
llvm-svn: 62528
|
#
c6075401 |
| 27-Nov-2008 |
Bill Wendling <isanbard@gmail.com> |
Get rid of bogus "control may reach end of non-void function ‘...’ being inlined" message.
llvm-svn: 60165
|
#
496b042e |
| 26-Nov-2008 |
Evan Cheng <evan.cheng@apple.com> |
Revert r60042. IndVarSimplify should check if APFloat is PPCDoubleDouble first before trying to convert it to an integer.
llvm-svn: 60072
|
#
2e5aeff6 |
| 25-Nov-2008 |
Evan Cheng <evan.cheng@apple.com> |
convertToSignExtendedInteger should return opInvalidOp instead of asserting if sematics of float does not allow arithmetics.
llvm-svn: 60042
|
Revision tags: llvmorg-2.4.0 |
|
#
4f0bd68c |
| 09-Oct-2008 |
Dale Johannesen <dalej@apple.com> |
Add a "loses information" return value to APFloat::convert and APFloat::convertToInteger. Restore return value to IEEE754. Adjust all users accordingly.
llvm-svn: 57329
|
#
54306fe4 |
| 09-Oct-2008 |
Dale Johannesen <dalej@apple.com> |
Rename APFloat::convertToAPInt to bitcastToAPInt to make it clearer what the function does. No functional change.
llvm-svn: 57325
|
#
7221af38 |
| 07-Oct-2008 |
Dale Johannesen <dalej@apple.com> |
Mark negative-zero-to-int conversion as Inexact, since -0.0 can't be represented as an int. This prevents llvm from reducing -0.0 to a load-and-convert of int 0. Fixes ieee.exp/mzero[2356].c in gcc
Mark negative-zero-to-int conversion as Inexact, since -0.0 can't be represented as an int. This prevents llvm from reducing -0.0 to a load-and-convert of int 0. Fixes ieee.exp/mzero[2356].c in gcc testsuite.
llvm-svn: 57224
show more ...
|