Displaying 20 results from an estimated 5000 matches similar to: "crash JIT with AVX intrinsics"
2009 Apr 30
0
[LLVMdev] RFC: AVX Feature Specification
On Apr 30, 2009, at 3:02 PM, David Greene wrote:
> I've been working on adding AVX to LLVM and have run across a number
> of
> questions. Here's the first one.
>
> In some ways AVX is "just another" SSE level. Having AVX implies
> you have
> SSE1-SSE4.2. However AVX is very different from SSE and there are a
> number
> of sub-features which
2012 May 24
2
[LLVMdev] use AVX automatically if present
Henning,
I believe the code that is supposed to do this is in:
lib/Target/X86/X86Subtarget.cpp in
X86Subtarget::AutoDetectSubtargetFeatures()
Is there a bug in that function?
-Hal
On Thu, 24 May 2012 23:56:48 +0200 (CEST)
Henning Thielemann <llvm at henning-thielemann.de> wrote:
>
> On Thu, 24 May 2012, Pan, Wei wrote:
>
> > Very likely AVX is not enabled in your llc.
2009 Apr 30
2
[LLVMdev] RFC: AVX Feature Specification
I've been working on adding AVX to LLVM and have run across a number of
questions. Here's the first one.
In some ways AVX is "just another" SSE level. Having AVX implies you have
SSE1-SSE4.2. However AVX is very different from SSE and there are a number
of sub-features which may or may not be available on various implementations.
So right now I've done this:
def
2012 May 24
0
[LLVMdev] use AVX automatically if present
On Thu, 24 May 2012, Pan, Wei wrote:
> Very likely AVX is not enabled in your llc. This feature was enabled
> just recently (late of April).
I forgot to mention that I am using recent LLVM-3.1 and in principle my
llc knows about avx as I have shown in the second example. But avx does
not seem to be used by default.
On Thu, 24 May 2012, Henning Thielemann wrote:
> $ llc -o - -mattr
2010 Feb 25
0
[LLVMdev] AVX support
On Thursday 25 February 2010 15:33:58 Jan Sjodin wrote:
> I have seen some re-factoring work done to prepare for AVX support. What
> are the plans (time wise) to add the AVX patterns to the backend? Has
> anyone thought about FMA4?
Oh yes. :) FMA4 will have a different feature bit than AVX or FMA3. FMA4 is
our top priority after AVX due to Bulldozer.
What would you like to see for
2010 Jan 05
1
[LLVMdev] AVX Testcases
On Tuesday 05 January 2010 13:20, Dan Gohman wrote:
> On Jan 5, 2010, at 9:54 AM, David Greene wrote:
> > I should be sending up some AVX code this week. When I do this
> > I'd like to generate some testcases to make sure we actually
> > generate AVX code. Ideally we'd have a testcase for each AVX
> > pattern but that's probably overkill. Still, we'd
2012 May 24
0
[LLVMdev] use AVX automatically if present
On Thu, 24 May 2012, Hal Finkel wrote:
> Henning,
>
> I believe the code that is supposed to do this is in:
> lib/Target/X86/X86Subtarget.cpp in
> X86Subtarget::AutoDetectSubtargetFeatures()
> Is there a bug in that function?
I read there:
// FIXME: AVX codegen support is not ready.
//if ((ECX >> 28) & 1) { X86SSELevel = AVX; ToggleFeature(X86::FeatureAVX); }
2015 Oct 27
2
AVX Optimizations
Hello,
I've created a pull request[1] to enable configuration to search for AVX support and set OPUS_X86_MAY_HAVE_AVX accordingly.
Please review.
Thanks,
Radu
[1] https://github.com/xiph/opus/pull/3
-----Original Message-----
From: opus-bounces at xiph.org [mailto:opus-bounces at xiph.org] On Behalf Of Timothy B. Terriberry
Sent: Wednesday, October 21, 2015 11:29 AM
To: opus at xiph.org
2012 Oct 23
2
[LLVMdev] x86 Frame Pointer with AVX
On Tue, Oct 23, 2012 at 12:56 PM, Eric Christopher <echristo at gmail.com>wrote:
> > Thanks for replying so quickly. Would you elaborate on this further?
> >
> > It seems costly to change the default stack alignment on the platform,
> since
> > that would require recompiling all of the system and user libraries to
> also
> > adhere to 32-byte stack
2014 Dec 15
2
[LLVMdev] Memory alignment model on AVX, AVX2 and AVX-512 targets
AFAIK, there is no additional penalty for AMD processors.
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chandler Carruth
Sent: Monday, December 15, 2014 3:57 AM
To: Demikhovsky, Elena
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Memory alignment model on AVX, AVX2 and AVX-512 targets
FWIW, this makes sense to me. I'd be interested to hear from
2015 Nov 05
0
AVX Optimizations
Velea, Radu wrote:
> Yes,
>
> Thank you. I'll follow up with the AVX code and tests for pitch code.
Actually, I lied. Because you update opus_select_arch(), you can now
return a value for arch (4) that is larger than the maximum we currently
support (3). This doesn't actually cause failures, because we mask with
OPUS_ARCHMASK, but it does mean that a CPU with AVX will invoke
2009 Nov 02
0
[LLVMdev] Moving AVX Upstream
On Nov 2, 2009, at 11:48 AM, David Greene wrote:
> Hey everyone,
>
> I'm at the point with our local AVX tree that I'm ready to move some
> stuff upstream. We've got most of the basic stuff implemented. The
> more esoteric stuff still has to be done.
>
> Because the more esoteric stuff might require some extensive changes
> to
> the existing AVX
2012 May 24
1
[LLVMdev] use AVX automatically if present
Henning,
Are you looking at trunk? I believe that in trunk this has been
uncommented.
-Hal
On Fri, 25 May 2012 00:47:42 +0200 (CEST)
Henning Thielemann <llvm at henning-thielemann.de> wrote:
>
> On Thu, 24 May 2012, Hal Finkel wrote:
>
> > Henning,
> >
> > I believe the code that is supposed to do this is in:
> > lib/Target/X86/X86Subtarget.cpp in
>
2014 Dec 14
2
[LLVMdev] Memory alignment model on AVX, AVX2 and AVX-512 targets
Hi,
I think that
def FeatureVectorUAMem : SubtargetFeature<"vector-unaligned-mem",
"HasVectorUAMem", "true",
"Allow unaligned memory operands on vector/SIMD instructions">;
should be switched-ON on AVX and AVX-512 instructions because:
According to the AVX spec:
"Most arithmetic and
2011 Jun 03
1
[LLVMdev] AVX Status?
Thanks Syoyo and Bruno for your replies.
As suggested, I filed a bug under
http://llvm.org/bugs/show_bug.cgi?id=10073 .
I am not familiar with .td files and the LLVM backend infrastructure
yet, but I might give it a try and solve it myself if I find the time.
Best,
Ralf
Am 02.06.2011 23:55, schrieb Bruno Cardoso Lopes:
> Hi Ralf
>
> On Wednesday, June 1, 2011, Ralf
2010 Jan 05
0
[LLVMdev] AVX Testcases
On Jan 5, 2010, at 9:54 AM, David Greene wrote:
> I should be sending up some AVX code this week. When I do this
> I'd like to generate some testcases to make sure we actually
> generate AVX code. Ideally we'd have a testcase for each AVX
> pattern but that's probably overkill. Still, we'd like a lot
> of tests, I think.
>
> Should these tests go into
2015 Nov 05
2
AVX Optimizations
Sorry. I missed that. Good observation.
Please go ahead and correct the patch.
Thanks,
Radu
-----Original Message-----
From: opus-bounces at xiph.org [mailto:opus-bounces at xiph.org] On Behalf Of Timothy B. Terriberry
Sent: Thursday, November 5, 2015 11:08 AM
To: opus at xiph.org
Subject: Re: [opus] AVX Optimizations
Velea, Radu wrote:
> Yes,
>
> Thank you. I'll follow up with
2009 Nov 02
2
[LLVMdev] Moving AVX Upstream
Hey everyone,
I'm at the point with our local AVX tree that I'm ready to move some
stuff upstream. We've got most of the basic stuff implemented. The
more esoteric stuff still has to be done.
Because the more esoteric stuff might require some extensive changes to
the existing AVX infrastructure, I suspect there might be quite a bit
of church until we get things stabilized.
Due to
2012 May 24
4
[LLVMdev] use AVX automatically if present
I wonder why AVX is not used automatically if available at the host
machine. In contrast to that, SSE41 instructions (like pmulld) are
automatically used if the host machine supports SSE41.
E.g.
$ cat avx.ll
define void @_fun1(<8 x float>*, <8 x float>*) {
_L1:
%x = load <8 x float>* %0
%y = load <8 x float>* %1
%z = fadd <8 x float> %x, %y
store
2012 Oct 23
0
[LLVMdev] x86 Frame Pointer with AVX
> Yes, I believe that this is happening if any AVX register is used in a
> function; an AVX variable does not necessarily need to be placed on the
> stack.
>
> Maybe I am misunderstanding this piece of code though...
>
>> // Be over-conservative: scan over all vreg defs and find whether
>> vector
>> // registers are used. If yes, there is a possibility