search for: faustfloat

Displaying 5 results from an estimated 5 matches for "faustfloat".

2010 May 29
3
[LLVMdev] Vectorized LLVM IR
...chment was scrubbed... Name: plus.png Type: image/png Size: 10191 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100529/b44926fc/attachment.png> -------------- next part -------------- For scalar code in C++ code is : virtual void compute (int count, FAUSTFLOAT** input, FAUSTFLOAT** output) { FAUSTFLOAT* input0 = input[0]; FAUSTFLOAT* input1 = input[1]; FAUSTFLOAT* input2 = input[2]; FAUSTFLOAT* input3 = input[3]; FAUSTFLOAT* output0 = output[0]; for (int i=0; i<count; i++) { output0[i] = (FAUSTFLOAT)(((float)input2[i] + (float)input3[i]...
2010 May 29
0
[LLVMdev] Vectorized LLVM IR
...; > > Which can be displayed as the following processor (takes 4 streams of float samples, do a "+" and then a "*" operation on the streams to produce a single output) > > > > > > For scalar code in C++ code is : > > virtual void compute (int count, FAUSTFLOAT** input, FAUSTFLOAT** output) { >                FAUSTFLOAT* input0 = input[0]; >                FAUSTFLOAT* input1 = input[1]; >                FAUSTFLOAT* input2 = input[2]; >                FAUSTFLOAT* input3 = input[3]; >                FAUSTFLOAT* output0 = output[0]; >      ...
2010 May 28
0
[LLVMdev] Vectorized LLVM IR
Hi Stéphane, The SSE support is the LLVM backend is fine. What is the code that's generated? Do you have some short examples of where LLVM doesn't do as well as the equivalent scalar code? -bw On May 28, 2010, at 12:13 PM, Stéphane Letz wrote: > Hi, > > We are experimenting directly generating vectorized LLVM IR (using <8 x float> kind of types), then compiling the code
2010 May 28
3
[LLVMdev] Vectorized LLVM IR
Hi, We are experimenting directly generating vectorized LLVM IR (using <8 x float> kind of types), then compiling the code to SSE on a 64 bits machine. Right now the equivalent code in scalar mode sill outperform the SSE one. What is the quality of the SSE support in X86 LLVL backend? Are they any specific things to be aware of to improve the speed? Thanks Stéphane Letz
2010 May 29
1
[LLVMdev] Vectorized LLVM IR
...ed as the following processor (takes 4 streams of float samples, do a "+" and then a "*" operation on the streams to produce a single output) >> >> >> >> >> >> For scalar code in C++ code is : >> >> virtual void compute (int count, FAUSTFLOAT** input, FAUSTFLOAT** output) { >>                FAUSTFLOAT* input0 = input[0]; >>                FAUSTFLOAT* input1 = input[1]; >>                FAUSTFLOAT* input2 = input[2]; >>                FAUSTFLOAT* input3 = input[3]; >>                FAUSTFLOAT* output0 = o...