Displaying 7 results from an estimated 7 matches similar to: "Speex ARM4 patch"
2007 Dec 12
1
Speex crashing on ARM with assembler optimization enabled.
Alexander Chemeris a ?crit :
> Ok, if I comment out inclusion of "filters_arm4.h" (or comment out its
> only overridden function - normalize16()) it works fine.
>
> Also it works fine if I use -O0 for compilation. Specifying -O1 or -O2 lead
> to segfault (if "filters_arm4.h" is included, sure).
OK, so either I screwed up the alignment/constraints in the
2012 Jun 04
1
simulation of modified bartlett's test
Hi, I run this code to get the power of the test for modified bartlett's
test..but I'm not really sure that my coding is right..
#normal distribution unequal variance
asim<-5000
pv<-rep(NA,asim)
for(i in 1:asim)
{print(i)
set.seed(i)
n1<-20
n2<-20
n3<-20
mu<-0
sd1<-sqrt(25)
sd2<-sqrt(50)
sd3<-sqrt(100)
g1<-rnorm(n1,mu,sd1)
g2<-rnorm(n2,mu,sd2)
2007 Feb 01
3
Help with efficient double sum of max (X_i, Y_i) (X & Y vectors)
Greetings.
For R gurus this may be a no brainer, but I could not find pointers to
efficient computation of this beast in past help files.
Background - I wish to implement a Cramer-von Mises type test statistic
which involves double sums of max(X_i,Y_j) where X and Y are vectors of
differing length.
I am currently using ifelse pointwise in a vector, but have a nagging
suspicion that there is a
2015 Jun 01
2
sum(..., na.rm=FALSE): Summing over NA_real_ values much more expensive than non-NAs for na.rm=FALSE? Hmm...
I'm observing that base::sum(x, na.rm=FALSE) for typeof(x) == "double"
is much more time consuming when there are missing values versus when
there are not. I'm observing this on both Window and Linux, but it's
quite surprising to me. Currently, my main suspect is settings in on
how R was built. The second suspect is my brain. I hope that someone
can clarify the below
2005 Dec 06
1
ARM4 filter code
I have found that filter_mem2 fixed point does not match the inlined
assembly version for arm4. Looking closer there appears to be an off by
one error. It occurs when setting the value of mem at the end of the
inner loop. In the C fixed point version this is done with a subtract.
In the arm4 version instead of multiplying den by yi, it is multipled by
nyi and then an add is done. This
2011 Nov 14
0
[LLVMdev] algebraic (de)optimizations form long chains of dependent operations
Hi,
when I compile (clang -O3) and optimize (opt -O3) C-code like this:
sum1 = val1 + val2;
sum2 = val3 + val4;
sum3 = val5 + val6;
sum4 = val7 + val8;
sum5 = sum1 + sum2;
sum6 = sum3 + sum4;
sum7 = sum5 + sum6;
sum += sum7;
I get bitcode like this:
if.end152: ; preds = %if.then150, %if.else146, %if.end137
2004 Aug 06
2
[PATCH] Make SSE Run Time option. Add Win32 SSE code
All,
Attached is a patch that does two things. First it makes the use
of the current SSE code a run time option through the use
of speex_decoder_ctl() and speex_encoder_ctl
It does this twofold. First there is a modification to the configure.in
script which introduces a check based upon platform. It will compile in the
sse assembly if you are on an i?86 based platform by making a