Displaying 5 results from an estimated 5 matches for "loop_start".
2013 Apr 18
5
ODBC dialplan looping problem
...pin,${EXTEN},1)
exten=_7XXXXX,1,Goto(getpin,${EXTEN},1)
exten=_8XXXXX,1,Goto(getpin,${EXTEN},1)
exten=_9XXXXX,1,Goto(getpin,${EXTEN},1)
exten=i,1,Goto(getpin,${CONF_PIN},1)
;
[getpin]
exten=_XXXXXX,1,Set(GLOBAL(CONF_PIN)=${EXTEN})
exten=_XXXXXX,n,Set(ODBC_ID=${ODBC_PIN(1)})
exten=_XXXXXX,n(loop_start),NoOp()
exten=_XXXXXX,n,Set(ROW_RESULT=${ODBC_FETCH(${ODBC_ID})})
exten=_XXXXXX,n,GotoIf($["${ODBC_FETCH}" = "FAILURE"]?cleanup,1)
exten=_XXXXXX,n,GotoIf($["${ROW_RESULT}" = "${CONF_PIN}"]?good_exten,1)
exten=_XXXXXX,n,Goto(loop_start)
;
exten=cleanup,...
2013 Nov 10
2
[LLVMdev] loop vectorizer: JIT + AVX segfaults
...s when switching from a vector
length 4 to 8 in my application. I isolated the barfing function and it
still segfaults in the minimal setup:
The IR attached implements the following simple function:
void bar(int start, int end, int ignore , bool add , bool addme , float*
out, float* in)
{
int loop_start = add ? start+add : start;
int loop_end = add ? end+add : end;
loop_start /= 8;
loop_end /= 8;
for ( int i = loop_start ; i < loop_end ; ++i )
for ( int q = 0 ; q < 8 ; ++q )
out[ i * 8 + q ] = in[ i * 8 + q ];
}
The main.cc program implements the following:
Set loop...
2013 Nov 11
0
[LLVMdev] loop vectorizer: JIT + AVX segfaults
...h 4 to 8 in my application. I isolated the barfing function and it
> still segfaults in the minimal setup:
>
> The IR attached implements the following simple function:
>
> void bar(int start, int end, int ignore , bool add , bool addme , float*
> out, float* in)
> {
> int loop_start = add ? start+add : start;
> int loop_end = add ? end+add : end;
> loop_start /= 8;
> loop_end /= 8;
> for ( int i = loop_start ; i < loop_end ; ++i )
> for ( int q = 0 ; q < 8 ; ++q )
> out[ i * 8 + q ] = in[ i * 8 + q ];
> }
>
> The main.cc progr...
2013 Nov 11
2
[LLVMdev] loop vectorizer: JIT + AVX segfaults
...lated the barfing function
> and it
> still segfaults in the minimal setup:
>
> The IR attached implements the following simple function:
>
> void bar(int start, int end, int ignore , bool add , bool addme ,
> float* out, float* in)
> {
> int loop_start = add ? start+add : start;
> int loop_end = add ? end+add : end;
> loop_start /= 8;
> loop_end /= 8;
> for ( int i = loop_start ; i < loop_end ; ++i )
> for ( int q = 0 ; q < 8 ; ++q )
> out[ i * 8 + q ] = in[ i * 8 + q ];
> }...
2013 Aug 22
2
New routine: FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_16
...== data[sample],data[sample],data[sample],data[sample] = data[0],data[0],data[0],data[0]
+ xorps xmm2, xmm2 ; xmm2 = 0,0,0,0
+ xorps xmm3, xmm3 ; xmm3 = 0,0,0,0
+ xorps xmm4, xmm4 ; xmm4 = 0,0,0,0
+ movaps xmm7, xmm0
+ mulps xmm7, xmm1
+ addps xmm5, xmm7
+ dec edx
+ jz .loop_end
+ ALIGN 16
+.loop_start:
+ ; start by reading the next sample
+ movss xmm0, [eax] ; xmm0 = 0,0,0,data[sample]
+ add eax, 4
+ shufps xmm0, xmm0, 0 ; xmm0 = data[sample],data[sample],data[sample],data[sample]
+
+ ; shift xmm4:xmm3:xmm2:xmm1 left by one float
+ shufps xmm1, xmm1, 93h
+ shufps xmm2, xmm2, 93h
+ shufps xm...