Displaying 5 results from an estimated 5 matches for "x87doubleextended".
2008 Jun 06
3
[LLVMdev] StmtPrinter long double support.
Hello,
I'm playing with llvm/clang and I have a problem when I try to use the
-ast-print options for a file that uses long double.
The Basic/Targets.cpp file defined the x86 (and x86_64) long double
type as APFloat::x87DoubleExtended.
Then, when the AST printer try to write a long double literal value
(using VisitFloatingLiteral()), it call FloatingLiteral-
>getValueAsDouble() and the later does not support long double, so it
try to call convertToDouble() as a fallback and crash due to an
invalid assertion. APFloat.c...
2008 Jun 06
0
[LLVMdev] StmtPrinter long double support.
...8:51 AM, Jean-Daniel Dupas wrote:
> Hello,
>
>
> I'm playing with llvm/clang and I have a problem when I try to use
> the -ast-print options for a file that uses long double.
>
> The Basic/Targets.cpp file defined the x86 (and x86_64) long double
> type as APFloat::x87DoubleExtended.
> Then, when the AST printer try to write a long double literal value
> (using VisitFloatingLiteral()), it call FloatingLiteral-
> >getValueAsDouble() and the later does not support long double, so
> it try to call convertToDouble() as a fallback and crash due to an
> inva...
2013 May 01
1
[LLVMdev] creating 80/128bit FP constants?
On 01/05/13 12:21, Duncan Sands wrote:
>> How do I emit 80/128 bit FP constants. There is one ConstantFP::get
>> function which takes a double and another that takes a StringRef. Does
>> the StringRef version somehow do what I want?
> Use the one that takes an APFloat.
APFloat then offers the float/double/string constructors, and various
operations. I'm still not sure on
2015 Jan 22
3
[LLVMdev] numeric limits of llvm Types?
Hi all,
can I access the numeric limits of the llvm types,
e.g. HalfTy, FloatTy, DoubleTy, etc.
in a fashion like the std numeric_limits tool?
std::numeric_limits<half>::min()
std::numeric_limits<half>::max()
In c++API, I want to initialize values and need to know the correct range
for the llvm types....
Thx
Alex
2007 Aug 18
1
[LLVMdev] Soft floating point support
This patch supplies software IEEE floating point support.
The comment from the patch reproduced below says all there is
to say.
This patch contains the prior "cleanup" patch; please don't apply
that one.
Please let me know of any bugs. It is tested reasonably well,
but until I put together random tests it's hard to have 100%
confidence.
Neil.
/* A self-contained host- and