search for: intrinisics

Displaying 10 results from an estimated 10 matches for "intrinisics".

2017 Nov 03
2
FW: clarification needed for the constrained fp implementation.
...Dev list about this. I hope you don't mind if I copy the list now to accomplish that while also answering your questions. Eventually I create a document describing this in more detail and less formally than the language definition. Basically, the "constraints" in the constrained FP intrinisics are constraints on the optimizer. They are a way of telling the optimizer what it can and cannot assume about rounding mode and FP exception behavior. By default, the optimizer assumes that the rounding mode is round-to-nearest and that FP exceptions are being ignored. If the user code is going...
2017 Nov 04
2
FW: clarification needed for the constrained fp implementation.
...pe you don’t mind if I copy the list now > to accomplish that while also answering your questions. > Eventually I create a document describing this in more detail and > less formally than the language definition. > > Basically, the “constraints” in the constrained FP intrinisics are > constraints on the optimizer. They are a way of telling the > optimizer what it can and cannot assume about rounding mode and FP > exception behavior. By default, the optimizer assumes that the > rounding mode is round-to-nearest and that FP exceptions are being...
2010 Sep 27
0
[LLVMdev] Vectors in structures
Support for NEON intrinsics in clang is not complete. Poly types in general are known to be an issue, and the vceq_p8 in your example definitely needs an intrinisic. It should work with llvm-gcc. Can you clarify ARM's position on those structure types? It sounds like you are advocating that we get rid of them. The only reason we've been using them in llvm-gcc and clang is for
2014 Apr 25
4
[LLVMdev] Proposal: add intrinsics for safe division
On April 25, 2014 at 9:52:35 AM, Eric Christopher (echristo at gmail.com) wrote: Hi Michael, > I’d like to propose to extend LLVM IR intrinsics set, adding new ones for > safe-division. There are intrinsics for detecting overflow errors, like > sadd.with.overflow, and the intrinsics I’m proposing will augment this set. > > The new intrinsics will return a structure with two
2014 Apr 24
4
[LLVMdev] Proposal: add intrinsics for safe division
Hi, I’d like to propose to extend LLVM IR intrinsics set, adding new ones for safe-division. There are intrinsics for detecting overflow errors, like sadd.with.overflow, and the intrinsics I’m proposing will augment this set. The new intrinsics will return a structure with two elements according to the following rules: safe.[us]div(x,0) = safe.[us]rem(x,0) = {0, 1} safe.sdiv(min<T>, -1) =
2016 Feb 29
2
Jit: use @llvm.lifetime.end to optimize away stores to globals used as temporaries
Hi all, Is it allowed to use the @llvm.lifetime.end intrinsic to optimize away stores to global variables that are used as temporaries? eg I want use the Jit engine to generate code for the following function 'f': struct State { int a; int tmp; int b; }; void f0(State* s) { s->tmp = s->a; } void f1(State* s) { s->b = s->tmp; } void f(State* s) { f0(s); f1(s); }
2010 Sep 27
2
[LLVMdev] Vectors in structures
On 27 September 2010 18:19, Bob Wilson <bob.wilson at apple.com> wrote: > I'm not sure what you mean by this.  The llvm intrinsics and built-in vector operations use plain vectors regardless of the front-end.  The structures are only relevant for things like argument passing and copying -- you can't do anything else with them.  Can you post an example of the 5X IR code size that
2005 Aug 24
1
[LLVMdev] Marking source locations without interfering with optimization?
On 8/23/05, Chris Lattner <sabre at nondot.org> wrote: > On Tue, 23 Aug 2005, Michael McCracken wrote: > >> Okay... this is tricky. Anything that will bind to variables will > >> prevent modification to the variable. > > > > I see - so if I wanted to use my earlier approach, I'd need to change every > > optimization and analysis to treat the
2007 Jan 12
7
Making TIFF images with rtiff
Many medical journals and publishers require that images, whether photographs or line art, be submitted as high resolution .TIFF images. One option for R users is to produce an image in one format and to convert it to a .TIFF file using a second software program. My experience has been that this option often results in images of poorer quality, often with blurry contours, and a loss of
2017 Apr 20
4
[cfe-dev] FE_INEXACT being set for an exact conversion from float to unsigned long long
> This seems like it was done for perf reason (mispredict). Conditional-to-cmov transformation should keep > from introducing additional observable side-effects, and it's clear that whatever did this did not account > for floating point exception. That’s a very reasonable statement, but I’m not sure it corresponds to the way we have typically approached this sort of problem. In