search for: interleaved

Displaying 20 results from an estimated 974 matches for "interleaved".

Did you mean: interleave
2005 Nov 15
2
OggPCM2 : chunked vs interleaved data
...ructure. It's trivial, and has insignificant additional >overhead, to de-interleave as you read it into a packet buffer. > > > Could you elaborate on this? I'm not familiar enough with the ogg API, but as far as I can tell, the way you'd do this would be to get the whole interleaved packet out with ogg_stream_packetout and then walk through it to de-interleave it into another buffer (or in place, I suppose). My feeling is that if you're working with files, the time it takes to interleave/deinterleave is probably negligible with respect to the i/o time, but if you'r...
2016 Aug 05
3
enabling interleaved access loop vectorization
...sky at intel.com> Cc: Renato Golin <renato.golin at linaro.org>; Sanjay Patel <spatel at rotateright.com>; Nema, Ashutosh <Ashutosh.Nema at amd.com>; Matthew Simpson <mssimpso at codeaurora.org>; llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] enabling interleaved access loop vectorization Hi Elena, Circling back to this, do you know of any concrete cases where enabling interleaved access on x86 is unprofitable? Right now, there are some cases where we lose significantly, because (a) we consider gathers (on architectures that don't have them) extremely...
2005 Nov 15
4
OggPCM2 : chunked vs interleaved data
Hi all, The remaining issue to be decided for the OggPCM2 spec is the support of chunked vs interleaved data. Just so that everyone understands what we are talking about, consider a stereo file that gets stored as an OggPCM file. Within an OggPCM packet, the audio samples for the left and right channels can be stored as interleaved where the samples would be: l0, r0, l1, r1, ..... lN, rN or a...
2016 Aug 05
2
enabling interleaved access loop vectorization
Regarding InterleavedAccessPass - sure, but proper strided/interleaved access optimization ought to have a positive impact even without target support. Case in point - Hal enabled it on PPC last September. An important difference vs. x86 seems to be that arbitrary shuffles are cheap on PPC, but, as I said below, I hope...
2016 May 26
2
enabling interleaved access loop vectorization
Interleaved access is not enabled on X86 yet. We looked at this feature and got into conclusion that interleaving (as loads + shuffles) is not always profitable on X86. We should provide the right cost which depends on number of shuffles. Number of shuffles depends on permutations (shuffle mask). And even if w...
2006 Mar 06
3
Interleaving elements of two vectors?
Suppose one has x <- c(1, 2, 7, 9, 14) y <- c(71, 72, 77) How would one write an R function which alternates between elements of one vector and the next? In other words, one wants z <- c(x[1], y[1], x[2], y[2], x[3], y[3], x[4], y[4], x[5], y[5]) I couldn't think of a clever and general way to write this. I am aware of gdata::interleave() but it deals
2018 Feb 06
2
[RFC] Make LoopVectorize Aware of SLP Operations
...index, i32 1 %26 = getelementptr inbounds %struct.Test, %struct.Test* %C, i64 %8, i32 1 %27 = getelementptr i32, i32* %25, i64 -1 %28 = bitcast i32* %27 to <8 x i32>* %29 = getelementptr i32, i32* %26, i64 -1 %30 = bitcast i32* %29 to <8 x i32>* %interleaved.vec = shufflevector <4 x i32> %18, <4 x i32> %22, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7> store <8 x i32> %interleaved.vec, <8 x i32>* %28, align 4, !tbaa !2 %interleaved.vec70 = shufflevector <4 x i32> %20, <4 x i...
2016 May 26
0
enabling interleaved access loop vectorization
On 26 May 2016 at 19:12, Sanjay Patel via llvm-dev <llvm-dev at lists.llvm.org> wrote: > Is there a compile-time and/or potential runtime cost that makes > enableInterleavedAccessVectorization() default to 'false'? > > I notice that this is set to true for ARM, AArch64, and PPC. > > In particular, I'm wondering if there's a reason it's not enabled for x86 in > relation to PR27881: > https://llvm.org/bugs/show_bug.cgi?id=27881 Hi S...
2018 Feb 08
0
[RFC] Make LoopVectorize Aware of SLP Operations
...index, i32 1 %26 = getelementptr inbounds %struct.Test, %struct.Test* %C, i64 %8, i32 1 %27 = getelementptr i32, i32* %25, i64 -1 %28 = bitcast i32* %27 to <8 x i32>* %29 = getelementptr i32, i32* %26, i64 -1 %30 = bitcast i32* %29 to <8 x i32>* %interleaved.vec = shufflevector <4 x i32> %18, <4 x i32> %22, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7> store <8 x i32> %interleaved.vec, <8 x i32>* %28, align 4, !tbaa !2 %interleaved.vec70 = shufflevector <4 x i32> %20, <4 x i...
2019 Sep 10
3
loop vectorizer disabling
I would like to propose that loop pragma `vectorize(disable)` actually means disabling the vectorizer for that loop. This perhaps sounds really obvious (I hope it does), but currently `vectorize(disable)` sets the vectorization width to 1, and that means the vectorizer will run and could perform other tricks such as interleaving. The main reason to change the behaviour is that it will be more what
2019 Apr 22
1
Compress interleaved multi-channels pcm/wav with opus
Hello everyone, I tried to compress audio with opus-1.3.1/src/opus_demo.c recently, which works fine on mono and stereo data . Now I want to compress interleaved 7 channels pcm/wav ( recorded by Microphone array :6mic+ 1reference signal ) with opus, But I have not found an interface that compress multi-channels pcm/wav. 1、Is there a multi-channel compression interface can be used in my case? If so, where is it, and how can I call it? is there a demo? If it...
2010 Nov 03
1
[LLVMdev] LLVM x86 Code Generator discards Instruction-level Parallelism
...the latency of the floating-point functional unit in my Intel Core2 Quad (Q9550 at 2.83 GHz). The microbenchmark itself replicates the following block 512 times: . . { p1 = p1 * a; p2 = p2 * b; p3 = p3 * c; p4 = p4 * d; } . . Compiling with NVCC, Ocelot, and LLVM, I can confirm the interleaved instruction schedule with a four-instruction reuse distance. An excerpt follows: . . %r1500 = fmul float %r1496, %r24 ; compute %1500 %r1501 = fmul float %r1497, %r23 %r1502 = fmul float %r1498, %r22 %r1503 = fmul float %r1499, %r21 %r1504 = fmul float %r1500, %r24 ; first use of...
2016 Sep 01
2
enabling interleaved access loop vectorization
...hovsky at intel.com>; Renato Golin <renato.golin at linaro.org>; Matthew Simpson <mssimpso at codeaurora.org>; Nema, Ashutosh <Ashutosh.Nema at amd.com>; Sanjay Patel <spatel at rotateright.com>; llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] enabling interleaved access loop vectorization So, at least for this example, it looks like we actually want to vectorize with -enable-interleaved-mem-accesses, we just need the backend to generate good code for the vector types that produces, specifically, in this case, <12 x i8>. The details are in PR29025. T...
2016 Nov 28
2
Loop Vectorize: Testing cost model driven transformations
Note: This is a continuation of a discussion over at https://reviews.llvm.org/D26869. Hi all, In a discussion over on llvm-commits, we are debating how best to test loop vectorization transformations that are guided by the cost model. The cost model is currently used primarily for determining the vectorization and interleave factors. Both of these parameters are easily overridden with command
2016 Aug 17
2
enabling interleaved access loop vectorization
...* Renato Golin <renato.golin at linaro.org>; Matthew Simpson < > mssimpso at codeaurora.org>; Nema, Ashutosh <Ashutosh.Nema at amd.com>; Sanjay > Patel <spatel at rotateright.com>; llvm-dev <llvm-dev at lists.llvm.org> > > *Subject:* Re: [llvm-dev] enabling interleaved access loop vectorization > > > > Hi Ayal, Elena, > > > > I'd really like to enable this by default. > > > > As I wrote above, I didn't see any regressions in internal benchmarks, and > there doesn't seem to be anything in SPEC2006 either. I do see...
2016 Aug 09
2
enabling interleaved access loop vectorization
...up is absent by making sure the last iteration (and up to last > VF iterations) are peeled and executed scalarly; see requiresScalarEpilogue. > > > > > > > All regressions that we see are in 32-bit mode. > > > > One place to find them, using the default BaseT::getInterleavedMemoryOpCost(), > is DENBench’s RGB conversions. > > > > Ayal. > > > > *From:* Demikhovsky, Elena > *Sent:* Monday, August 08, 2016 00:09 > *To:* Michael Kuperstein <mkuper at google.com>; Renato Golin < > renato.golin at linaro.org> > *Cc:* Matthew...
2005 Nov 13
3
OggPCM format description, rev 3
...in all this is a huge PITA. In comparison > to FLAC, Speex and Vorbis, APDCM formats have little to offer. No objection here. I'd like to see someone other than myself go through and cull the list of formats into whatever a practical subset is. As long as it does 16 bit signed little endian interleaved, I'll be happy. > I still think that assigning meaning to bits within the format field > is a mistake. Specifying bits like this could only be useful if > you expect the decoder to generate code on the fly when it gets > asked to decode say 16 bit, unsigned, little endian. Auto gen...
2005 Nov 15
0
OggPCM2 : chunked vs interleaved data
On 11/15/05, Erik de Castro Lopo <mle+xiph@mega-nerd.com> wrote: > Hi all, > > The remaining issue to be decided for the OggPCM2 spec is the support > of chunked vs interleaved data. I think interleaved is the obvious choice - that's what most audio applications are used to dealing with, it's what we need to feed to audio hardware in the end usually, etc. Whilst I accept that there are many good uses for chunked data, I think the transformation is trivial, parti...
2002 May 27
2
Interleaved writes fwom W2K and NT4
Hi Jerry I'm still able to recreate failures in with 2.2.4 when interleaving file creation/writing from W2k and NT4 machines to a Samba server. I orginally reported this in 2.2.2a, also 2.2.3: http://lists.samba.org/pipermail/samba/2001-December/063396.html http://lists.samba.org/pipermail/samba/2002-January/063483.html http://lists.samba.org/pipermail/samba/2002-February/067221.html I sent
2005 Jun 06
1
Interleave cells with IP over ATM?
Anyone know if it''s possible to interleave two IP packets when using PPPoA and VC based lines? Can it be done with any PPPoE implementations? The goal is to reduce the delay when you have a high priority packet waiting, but a lower priority (large) packet already started going out ahead of this packet. I don''t want the overhead of much smaller MTU, which is the other way