search for: ppc_fp128

Displaying 18 results from an estimated 18 matches for "ppc_fp128".

2015 Dec 01
2
Endianness for multi-word types
...gt; endianness; although each individual double is. > Well I'm still trying to understand the code base, so I may get this completely wrong, but here is my understanding: Looking at the comment of TargetLowering::hasBigEndianPartOrdering, it seems that, all "internal types" (e.g. ppc_fp128, i128) are assumed to be little-endian, and for non-ppc_fp128 external values (raw register tuples or memory), the endianness follows the data layout endianness; for ppc_fp128 external values (a pair of float registers or memory chunk), it's always "big-endian" due to the policy. The...
2015 Dec 01
3
Endianness for multi-word types
...gt; > > > Well I'm still trying to understand the code base, so I may get this > > completely wrong, but here is my understanding: > > > > Looking at the comment of TargetLowering::hasBigEndianPartOrdering, > > it seems that, all "internal types" (e.g. ppc_fp128, i128) are assumed > > to be little-endian, and for non-ppc_fp128 external values (raw > > register tuples or memory), the endianness follows the data layout > > endianness; for ppc_fp128 external values (a pair of float registers > > or memory chunk), it's always "...
2015 Dec 01
3
Endianness for multi-word types
Hi, I'm recently trying to investigate ppc_fp128 related problem. Here is a minimal C++ test case that seems wrongly compiled: long double id(long double a) { return a; } bool f(long double x) { return id(__builtin_fabsl(x)) >= 0; } int main() { if (f(-123.l)) { return 0; } return 1; } The program compiled with command: clang++...
2017 May 19
2
When a libcall will be generated?
Hi All, I am looking at a linker error under O2: undefined symbol __lshrdi3 I have two questions here: 1. Does that mean our libgcc (?) doesn't implement __lshrdi3? Or more generally, why I have such linker error? 2. Seems some operations are combined, and replaced with __lshrdi3 call. I am interested in when such libcall will be generated? Could you show me one
2015 Dec 01
3
Endianness for multi-word types
On 1 December 2015 at 13:41, Tim Shen via llvm-dev <llvm-dev at lists.llvm.org> wrote: > As a simple solution, when see a LLVM IR bitcast, instead of generating > (ISD::BITCAST x), can we generate (exchange_hi_lo (ISD::BITCAST x)) instead? An LLVM bitcast is defined to be equivalent to a store/load pair. Changing that for ISD::BITCAST would be very surprising, and I wouldn't
2016 Sep 30
2
[PPC, APFloat] Add full PPCDoubleDouble to APFloat
I have found some internal test failures due to the wrong constant folding on ppc_fp128. As documented in APFloat::PPCDoubleDouble, APFloat doesn't support PowerPC double-double correctly < https://github.com/llvm-mirror/llvm/blob/492acdd450bcdf9837494d6da029ed064f14fc33/lib/Support/APFloat.cpp#L74 >. To support this, we need to add a second tuple of (sign, exponent, signi...
2016 Oct 03
2
[PPC, APFloat] Add full PPCDoubleDouble to APFloat
...r" <echristo at gmail.com> > > Sent: Friday, September 30, 2016 4:43:12 PM > > Subject: [PPC, APFloat] Add full PPCDoubleDouble to APFloat > > > > > > > > > > I have found some internal test failures due to the wrong constant > > folding on ppc_fp128. > > > > > > As documented in APFloat::PPCDoubleDouble, APFloat doesn't support > > PowerPC double-double correctly < > > > https://github.com/llvm-mirror/llvm/blob/492acdd450bcdf9837494d6da029ed064f14fc33/lib/Support/APFloat.cpp#L74 > > >. > >...
2007 Sep 14
0
[LLVMdev] C interface
...make_pointer_type > (make_struct_type [| double_type (); > x86fp80_type (); > fp128_type (); > ppc_fp128_type () > |] true); > make_pointer_type > (make_struct_type [| make_integer_type 1; > make_integer_type 3; > i8_type (); >...
2007 Sep 12
7
[LLVMdev] C interface
...; make_pointer_type (make_struct_type [| double_type (); x86fp80_type (); fp128_type (); ppc_fp128_type () |] true); make_pointer_type (make_struct_type [| make_integer_type 1; make_integer_type 3; i8_type ();...
2019 Mar 11
2
GlobalISel: Ambiguous intrinsic semantics problem
Matt: that’s fair. We’re generally apprehensive of option 2 as well. Eli: Yes, currently we believe that aarch64.neon.addp is the only arm64 one affected, but we don’t know how prevalent this is on other targets. Splitting it is certainly possible combined with the autoupgrader. If disambiguating the intrinsics is the preferred solution, then I think we should also have the langref also specify
2019 Jul 02
3
RFC: Complex in LLVM
"Finkel, Hal J." <hfinkel at anl.gov> writes: > I think that it's really important that we're specific about the goals > here. Exactly what kinds of optimizations are we aiming to (more-easily) > enable? There certainly exists hardware with instructions that help > vectorize complex multiplication, for example, and having a builtin > complex type would
2011 Feb 23
0
[LLVMdev] [PATCH] OpenCL half support
...ons for declaring half variables and arrays, dereferencing half pointers, performing arithmetic and conversions, etc. The latest version of the C++ ABI supports half as well. Therefore, we believe half should become a fundamental type in LLVM. (After all, LLVM already supports x86_fp80, fp128 and ppc_fp128.) Anton. -------------- next part -------------- A non-text attachment was scrubbed... Name: 00003-half-llvm.patch Type: application/octet-stream Size: 12007 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110223/d954665d/attachment.obj> --------------...
2013 Sep 09
0
[LLVMdev] IEEE 754-2008 | ISO/IEC TR 18037
...ure that it'll be maintained. > BTW, in the doc I was reading there was not mention about Quad size numbers, > decimal numbers and extended precision numbers. > http://llvm.org/docs/LangRef.html#type-system There appear to be numerous mentions of fp128 (which is IEEE quad-precision), ppc_fp128 and x86_fp80 (at least one of which probably qualifies as extended precision). Of course, those types have much more limited support in the backends than standard float and double. AArch64 should support fp128, and obviously ppc and x86 for their specific formats. Tim.
2013 Sep 09
5
[LLVMdev] IEEE 754-2008 | ISO/IEC TR 18037
Many thanks for getting back. This will come in handy if you do not have a floating point unit. Also for speed in some cases. To be generic as possible it might be good to have this. BTW, in the doc I was reading there was not mention about Quad size numbers, decimal numbers and extended precision numbers. http://llvm.org/docs/LangRef.html#type-system -------------- next part -------------- An
2011 Feb 24
2
[LLVMdev] [PATCH] OpenCL half support
...lf variables and > arrays, dereferencing half pointers, performing arithmetic and conversions, > etc. The latest version of the C++ ABI supports half as well. Therefore, > we believe half should become a fundamental type in LLVM. (After all, LLVM > already supports x86_fp80, fp128 and ppc_fp128.) Hi Anton, Does the spec force evaluation to happen in half mode, or does it specify that there is a promotion to float (or some other type) an operation, then truncation back to half? -Chris
2019 Aug 29
2
Complex proposal v2
...nt complex numbers. c16 - Complex of 16-bit float c32 - like float complex or std::complex<float> c64 - like double complex or std::complex<double> x86_c80 - Complex of x86_fp80 c128 - like long double complex or std::complex<long double> ppc_c128 - Complex of ppc_fp128 Note that the references to C and C++ types above are simply explanatory. Nothing in this proposal assumes any particular high-level language type will map to the above LLVM types. The "underlying type" of a complex type is the type of its real and imaginary components. The sizes of t...
2019 Oct 22
4
Complex proposal v3 + roundtable agenda
...nt complex numbers. c16 - Complex of 16-bit float c32 - like float complex or std::complex<float> c64 - like double complex or std::complex<double> x86_c80 - Complex of x86_fp80 c128 - like long double complex or std::complex<long double> ppc_c128 - Complex of ppc_fp128 Note that the references to C and C++ types above are simply explanatory. Nothing in this proposal assumes any particular high-level language type will map to the above LLVM types. The "underlying type" of a complex type is the type of its real and imaginary components. The sizes of th...
2020 Nov 12
0
Complex proposal v3 + roundtable agenda
...- Complex of 16-bit float > c32 - like float complex or std::complex<float> > c64 - like double complex or std::complex<double> > x86_c80 - Complex of x86_fp80 > c128 - like long double complex or std::complex<long double> > ppc_c128 - Complex of ppc_fp128 > > Note that the references to C and C++ types above are simply explanatory. > Nothing in this proposal assumes any particular high-level language type will > map to the above LLVM types. > > The "underlying type" of a complex type is the type of its real and imagin...