Commit 97872fce authored by guptar's avatar guptar

Removed redundant define (EXPRESSMIMO_TARGET) which is not used anymore

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7807 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent f1acb3fc
...@@ -888,10 +888,8 @@ void phy_init_lte_top(LTE_DL_FRAME_PARMS *lte_frame_parms) ...@@ -888,10 +888,8 @@ void phy_init_lte_top(LTE_DL_FRAME_PARMS *lte_frame_parms)
ccodelte_init(); ccodelte_init();
ccodelte_init_inv(); ccodelte_init_inv();
#ifndef EXPRESSMIMO_TARGET
phy_generate_viterbi_tables(); phy_generate_viterbi_tables();
phy_generate_viterbi_tables_lte(); phy_generate_viterbi_tables_lte();
#endif //EXPRESSMIMO_TARGET
init_td8(); init_td8();
init_td16(); init_td16();
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
*******************************************************************************/ *******************************************************************************/
#include "defs.h" #include "defs.h"
#ifndef EXPRESSMIMO_TARGET
static __m128i alpha_128 __attribute__ ((aligned(16))); static __m128i alpha_128 __attribute__ ((aligned(16)));
static __m128i shift __attribute__ ((aligned(16))); static __m128i shift __attribute__ ((aligned(16)));
...@@ -169,17 +168,3 @@ main () ...@@ -169,17 +168,3 @@ main ()
} }
#endif //MAIN #endif //MAIN
#else //EXPRESSMIMO_TARGET
int add_cpx_vector(short *x,
short *alpha,
short *y,
unsigned int N)
{
}
#endif //EXPRESSMIMO_TARGET
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
*******************************************************************************/ *******************************************************************************/
#include "defs.h" #include "defs.h"
#ifndef EXPRESSMIMO_TARGET
int add_vector16(short *x, int add_vector16(short *x,
short *y, short *y,
...@@ -286,17 +285,3 @@ main () ...@@ -286,17 +285,3 @@ main ()
} }
#endif //MAIN #endif //MAIN
#else //EXPRESSMIMO_TARGET
/*
int add_vector16(short *x,
short *y,
short *z,
unsigned int N)
{
}
*/
#endif // EXPRESSMIMO_TARGET
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
*******************************************************************************/ *******************************************************************************/
#include "defs.h" #include "defs.h"
#ifndef EXPRESSMIMO_TARGET
static __m128i shift __attribute__ ((aligned(16))); static __m128i shift __attribute__ ((aligned(16)));
...@@ -365,15 +364,3 @@ main () ...@@ -365,15 +364,3 @@ main ()
} }
#endif //MAIN #endif //MAIN
#else //EXPRESSMIMO_TARGET
int mult_cpx_vector_h(short *x1,
short *x2,
short *y,
unsigned int N,
unsigned short output_shift,
short sign)
{
}
#endif //EXPRESSMIMO_TARGET
...@@ -64,7 +64,6 @@ struct complex32 { ...@@ -64,7 +64,6 @@ struct complex32 {
int32_t i; int32_t i;
}; };
#ifndef EXPRESSMIMO_TARGET
/*!\fn void multadd_real_vector_complex_scalar(int16_t *x,int16_t *alpha,int16_t *y,uint32_t N) /*!\fn void multadd_real_vector_complex_scalar(int16_t *x,int16_t *alpha,int16_t *y,uint32_t N)
This function performs componentwise multiplication and accumulation of a complex scalar and a real vector. This function performs componentwise multiplication and accumulation of a complex scalar and a real vector.
@param x Vector input (Q1.15) @param x Vector input (Q1.15)
...@@ -480,20 +479,6 @@ Compensate the phase rotation of the RF. WARNING: This function is currently unu ...@@ -480,20 +479,6 @@ Compensate the phase rotation of the RF. WARNING: This function is currently unu
*/ */
#else // EXPRESSMIMO_TARGET
#define fft(x,y,twiddle,rev,log2size,scale,input_fmt) \
(((twiddle)==0) ? \
(fft(1<<(log2size),((unsigned long*)(x)),((unsigned long*)(y)))) : \
(ifft(1<<(log2size),((unsigned long*)(x)),((unsigned long*)(y)))))
#define mult_cpx_vector(x1,x2,y,N,os) component_wise_product(N,(unsigned long *)(x1),(unsigned long *)(x2),(unsigned long *)(y))
#define mult_cpx_vector2(x1,x2,y,N,os) component_wise_product(N,(unsigned long *)(x1),(unsigned long *)(x2),(unsigned long *)(y))
#define add_vector16(x,y,z,N) component_wise_addition(N,(unsigned long*)(x),(unsigned long*)(y),(unsigned long*)(z))
#endif // EXPRESSMIMO_TARGET
int8_t dB_fixed(uint32_t x); int8_t dB_fixed(uint32_t x);
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06904 Biot Sophia Antipolis cedex, FRANCE Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06904 Biot Sophia Antipolis cedex, FRANCE
*******************************************************************************/ *******************************************************************************/
#ifndef EXPRESSMIMO_TARGET
#include "PHY/sse_intrin.h" #include "PHY/sse_intrin.h"
void Zero_Buffer(void *buf,unsigned int length) void Zero_Buffer(void *buf,unsigned int length)
...@@ -63,12 +62,6 @@ void mmxcopy(void *dest,void *src,int size) ...@@ -63,12 +62,6 @@ void mmxcopy(void *dest,void *src,int size)
_mm_empty(); _mm_empty();
} }
#else //EXPRESSMIMO_TARGET
#endif //EXPRESSMIMO_TARGET
void Zero_Buffer_nommx(void *buf,unsigned int length) void Zero_Buffer_nommx(void *buf,unsigned int length)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment