Displaying 1 result from an estimated 1 matches for "idl1".
Did you mean:
idl
2012 Dec 13
1
[PATCH] smallft.c
...e of
memcpy's optimisations when copying
the floating point data.
Does this look OK?
- Michael
Index: smallft.c
===================================================================
--- smallft.c (revision 18737)
+++ smallft.c (working copy)
@@ -388,7 +388,7 @@
}
L119:
- for(ik=0;ik<idl1;ik++)c2[ik]=ch2[ik];
+ memcpy(c2, ch2, idl1 * sizeof(float));
t1=0;
t2=ipp2*idl1;
@@ -628,7 +628,7 @@
if(na==1)return;
- for(i=0;i<n;i++)c[i]=ch[i];
+ memcpy(c, ch, n * sizeof(float));
}
static void dradb2(int ido,int l1,float *cc,float *ch,float *wa1){
@@ -1097,7 +1097,7 @...