search for: intrinisic

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

Did you mean: 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 compatibility for ARM's specifications and with ARM's RVCT compil...
2014 Apr 25
4
[LLVMdev] Proposal: add intrinsics for safe division
...9;t see how this is anything except for an optimization intrinsic and not necessary for correct behavior for any language. I.e. You can do what the PNaCl people are doing and emit branches instead. Since this will only happen on a single target and not on all targets why not just make this a target intrinisic? I don't buy the argument that it biases the target independent IR since any pass that uses TTI in the IR level does the same. The sdiv operation in LLVM IR only makes sense for C and its very direct relatives.  The amount of control flow necessary to represent a safe division for any other lan...
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
...Is this a supported usecase of the @llvm.lifetime.end intrinsic? ie is it allowed to use the intrinsic on a global variable instead of a local variable? Or is there a better way to get the same result? Is it ok to only have an @llvm.lifetime.end intrinsic, without a matching @llvm.lifetime.start intrinisic? If not is there another way to tell the optimizer to optimize away the stores to the 'tmp' state variable? Thanks, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160229/933885d2/attachment.ht...
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