remap: build sse code only on x86
authorLennart Poettering <lennart@poettering.net>
Wed, 2 Sep 2009 23:48:30 +0000 (01:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Sep 2009 23:48:30 +0000 (01:48 +0200)
src/pulsecore/remap_sse.c

index 368a319..bf22df7 100644 (file)
                 " jne 3b                        \n\t"  \
                 "4:                             \n\t"
 
+#if defined (__i386__) || defined (__amd64__)
 static void remap_mono_to_stereo_sse (pa_remap_t *m, void *dst, const void *src, unsigned n) {
     pa_reg_x86 temp, temp2;
 
@@ -144,6 +145,7 @@ static void init_remap_sse (pa_remap_t *m) {
         pa_log_info("Using SSE mono to stereo remapping");
     }
 }
+#endif /* defined (__i386__) || defined (__amd64__) */
 
 void pa_remap_func_init_sse (pa_cpu_x86_flag_t flags) {
 #if defined (__i386__) || defined (__amd64__)