On my install guide, check out the .tcshrc additions .. you can certainly port them to BASH or whatever. They represent very precisely what DarwinPorts and GNURadio need to compile and install under OSX (PPC or Intel). While you can do the install by hand, or via some custom method, I've found that DarwinPorts is quite reliable and the few issues can be easily overcome with some quick file mods.

Compare the environment variables to what you have, or I can easily do that and make suggestions ... just send me a "printenv" from your desired shell (off-list is probably best) ... weed out anything you feel is sensitive if you want, but I'll use discretion as necessary.

The FFTW folks got back to me.  Here is what they had to say:

        There are two known problems on the Intel Macs.

First, Apple's gcc 4.0.1 on Intel has a bug that causes it to crash when compiling our kernel/trig.c file ... the workaround is to compile this file without optimization:
    cd kernel; make CFLAGS=" " trig.lo

Second, our CPU detection currently doesn't work for that machine. You can manually force it to tune for the pentium-m (which seems to be the best option for now) by configuring --with- gcc-arch=pentium-m

I haven't tried out the configure option, but that looks like it might make things a bit easier.

Interesting. My testing found that the kernel/trig.c file just needed to be told the correct architecture (or no architecture), but leaving optimization was OK. I hadn't tried the --with-gcc- arch=pentium-m configure option, but I'll try that next time I have with an Intel-Mac around.

I have submitted patches to Eric to fix the .align issue - some compilers define that number in log2 while others use linear. I'd be happy to ship you my diff's if you have time to try them out.

Great!  I would be happy to.

They're appended. You need to put the M4 file into gnuradio-core/ config, then cd into gnuradio-core and do "patch -p0 < (wherever)/gr- core_cvs_diff_u.txt". Then you'll need to bootstrap, configure, and make in whatever way you usually do.

NOTE1: These are untested, but should work properly. If you decide to test them, please report back to me or the list if/how they work, and/or corrections if they don't work.

NOTE2: These changes affect -any- Intel-based computer, not just Mac's.

I have updated my install guide < http://www.nd.edu/~mdickens/ GNURadio/ > to include the latest changes for FFTW to compile using DarwinPorts on an Intel-Mac.

Great!  I'll try it out.

I appreciate any comments and feedback I can get on Mac installs. The scripts I have made work well for most people, though there are always exceptions - mostly due to strange shell environments or an old LIBTOOL version not working with Darwin.

Good luck! - MLD

ps> gr-audio-osx will be functional on an Intel-Mac in the next couple of days. I'm fixing bugs almost as I write. I'll post to the list when it's working better.

Attachment: gr_check_asm_dot_align_log.m4
Description: Binary data

cvs diff: Diffing .
Index: configure.ac
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/configure.ac,v
retrieving revision 1.47
diff -u -r1.47 configure.ac
--- configure.ac        16 Apr 2006 03:41:58 -0000      1.47
+++ configure.ac        31 May 2006 17:19:16 -0000
@@ -37,10 +37,12 @@
 LF_SET_WARNINGS
 GR_SET_GPROF
 GR_SET_PROF
-GR_PROG_AS
+#GR_PROG_AS
+AM_PROG_AS
 AC_PROG_LN_S
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
+GR_CHECK_ASM_ALIGN_LOG
 
 if test "x$enable_fortran" = xyes
 then
cvs diff: Diffing config
cvs diff: Diffing doc
cvs diff: Diffing doc/other
cvs diff: Diffing doc/xml
cvs diff: Diffing src
cvs diff: Diffing src/gen_interpolator_taps
cvs diff: Diffing src/lib
cvs diff: Diffing src/lib/filter
Index: src/lib/filter/assembly.h
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/src/lib/filter/assembly.h,v
retrieving revision 1.1
diff -u -r1.1 assembly.h
--- src/lib/filter/assembly.h   24 Jul 2005 10:09:33 -0000      1.1
+++ src/lib/filter/assembly.h   31 May 2006 17:19:17 -0000
@@ -23,7 +23,15 @@
 #ifndef _ASSEMBLY_H_
 #define _ASSEMBLY_H_
 
-
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef ASM_ALIGN_LOG
+#define GR_ALIGN_LOG2(log2x) .align (log2x)
+#else
+#define GR_ALIGN_LOG2(log2x) .align (1 << (log2x))
+#endif
 
 #ifndef __ELF__
 
Index: src/lib/filter/ccomplex_dotprod_3dnow.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow.S,v
retrieving revision 1.2
diff -u -r1.2 ccomplex_dotprod_3dnow.S
--- src/lib/filter/ccomplex_dotprod_3dnow.S     29 Aug 2005 01:54:44 -0000      
1.2
+++ src/lib/filter/ccomplex_dotprod_3dnow.S     31 May 2006 17:19:17 -0000
@@ -54,11 +54,10 @@
 
 #include "assembly.h"
 
-
        .file   "ccomplex_dotprod_3dnow.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(ccomplex_dotprod_3dnow)
        DEF_FUNC_HEAD(ccomplex_dotprod_3dnow)
 GLOB_SYMB(ccomplex_dotprod_3dnow):
Index: src/lib/filter/ccomplex_dotprod_3dnow64.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow64.S,v
retrieving revision 1.1
diff -u -r1.1 ccomplex_dotprod_3dnow64.S
--- src/lib/filter/ccomplex_dotprod_3dnow64.S   29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/ccomplex_dotprod_3dnow64.S   31 May 2006 17:19:17 -0000
@@ -58,7 +58,7 @@
        .file   "ccomplex_dotprod_3dnow64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(ccomplex_dotprod_3dnow)
        DEF_FUNC_HEAD(ccomplex_dotprod_3dnow)
 GLOB_SYMB(ccomplex_dotprod_3dnow):
Index: src/lib/filter/ccomplex_dotprod_3dnowext.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext.S,v
retrieving revision 1.2
diff -u -r1.2 ccomplex_dotprod_3dnowext.S
--- src/lib/filter/ccomplex_dotprod_3dnowext.S  29 Aug 2005 01:54:44 -0000      
1.2
+++ src/lib/filter/ccomplex_dotprod_3dnowext.S  31 May 2006 17:19:17 -0000
@@ -57,7 +57,7 @@
        .file   "ccomplex_dotprod_3dnowext.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(ccomplex_dotprod_3dnowext)
        DEF_FUNC_HEAD(ccomplex_dotprod_3dnowext)
 GLOB_SYMB(ccomplex_dotprod_3dnowext):
Index: src/lib/filter/ccomplex_dotprod_3dnowext64.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext64.S,v
retrieving revision 1.1
diff -u -r1.1 ccomplex_dotprod_3dnowext64.S
--- src/lib/filter/ccomplex_dotprod_3dnowext64.S        29 Aug 2005 01:54:44 
-0000      1.1
+++ src/lib/filter/ccomplex_dotprod_3dnowext64.S        31 May 2006 17:19:17 
-0000
@@ -57,7 +57,7 @@
        .file   "ccomplex_dotprod_3dnowext64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(ccomplex_dotprod_3dnowext)
        DEF_FUNC_HEAD(ccomplex_dotprod_3dnowext)
 GLOB_SYMB(ccomplex_dotprod_3dnowext):
Index: src/lib/filter/ccomplex_dotprod_sse.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse.S,v
retrieving revision 1.2
diff -u -r1.2 ccomplex_dotprod_sse.S
--- src/lib/filter/ccomplex_dotprod_sse.S       29 Aug 2005 01:54:44 -0000      
1.2
+++ src/lib/filter/ccomplex_dotprod_sse.S       31 May 2006 17:19:17 -0000
@@ -54,11 +54,10 @@
 
 #include "assembly.h"
 
-
        .file   "ccomplex_dotprod_sse.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(ccomplex_dotprod_sse)
        DEF_FUNC_HEAD(ccomplex_dotprod_sse)
 GLOB_SYMB(ccomplex_dotprod_sse):
Index: src/lib/filter/ccomplex_dotprod_sse64.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse64.S,v
retrieving revision 1.1
diff -u -r1.1 ccomplex_dotprod_sse64.S
--- src/lib/filter/ccomplex_dotprod_sse64.S     29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/ccomplex_dotprod_sse64.S     31 May 2006 17:19:17 -0000
@@ -58,7 +58,7 @@
        .file   "ccomplex_dotprod_sse64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(ccomplex_dotprod_sse)
        DEF_FUNC_HEAD(ccomplex_dotprod_sse)
 GLOB_SYMB(ccomplex_dotprod_sse):
Index: src/lib/filter/complex_dotprod_3dnow.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/complex_dotprod_3dnow.S,v
retrieving revision 1.2
diff -u -r1.2 complex_dotprod_3dnow.S
--- src/lib/filter/complex_dotprod_3dnow.S      29 Aug 2005 01:54:44 -0000      
1.2
+++ src/lib/filter/complex_dotprod_3dnow.S      31 May 2006 17:19:17 -0000
@@ -52,11 +52,10 @@
 
 #include "assembly.h"
 
-
        .file   "complex_dotprod_3dnow.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(complex_dotprod_3dnow)
        DEF_FUNC_HEAD(complex_dotprod_3dnow)
 GLOB_SYMB(complex_dotprod_3dnow):
Index: src/lib/filter/complex_dotprod_3dnow64.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/complex_dotprod_3dnow64.S,v
retrieving revision 1.1
diff -u -r1.1 complex_dotprod_3dnow64.S
--- src/lib/filter/complex_dotprod_3dnow64.S    29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/complex_dotprod_3dnow64.S    31 May 2006 17:19:17 -0000
@@ -56,7 +56,7 @@
        .file   "complex_dotprod_3dnow64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(complex_dotprod_3dnow)
        DEF_FUNC_HEAD(complex_dotprod_3dnow)
 GLOB_SYMB(complex_dotprod_3dnow):
Index: src/lib/filter/complex_dotprod_3dnowext.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext.S,v
retrieving revision 1.2
diff -u -r1.2 complex_dotprod_3dnowext.S
--- src/lib/filter/complex_dotprod_3dnowext.S   29 Aug 2005 01:54:44 -0000      
1.2
+++ src/lib/filter/complex_dotprod_3dnowext.S   31 May 2006 17:19:17 -0000
@@ -52,11 +52,10 @@
 
 #include "assembly.h"
 
-
        .file   "complex_dotprod_3dnowext.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(complex_dotprod_3dnowext)
        DEF_FUNC_HEAD(complex_dotprod_3dnowext)
 GLOB_SYMB(complex_dotprod_3dnowext):
Index: src/lib/filter/complex_dotprod_3dnowext64.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext64.S,v
retrieving revision 1.1
diff -u -r1.1 complex_dotprod_3dnowext64.S
--- src/lib/filter/complex_dotprod_3dnowext64.S 29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/complex_dotprod_3dnowext64.S 31 May 2006 17:19:17 -0000
@@ -56,7 +56,7 @@
        .file   "complex_dotprod_3dnowext64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(complex_dotprod_3dnowext)
        DEF_FUNC_HEAD(complex_dotprod_3dnowext)
 GLOB_SYMB(complex_dotprod_3dnowext):
Index: src/lib/filter/complex_dotprod_sse.S
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/src/lib/filter/complex_dotprod_sse.S,v
retrieving revision 1.2
diff -u -r1.2 complex_dotprod_sse.S
--- src/lib/filter/complex_dotprod_sse.S        29 Aug 2005 01:54:44 -0000      
1.2
+++ src/lib/filter/complex_dotprod_sse.S        31 May 2006 17:19:17 -0000
@@ -58,7 +58,7 @@
        .file   "complex_dotprod_sse.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(complex_dotprod_sse)
        DEF_FUNC_HEAD(complex_dotprod_sse)
 GLOB_SYMB(complex_dotprod_sse):
Index: src/lib/filter/complex_dotprod_sse64.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/complex_dotprod_sse64.S,v
retrieving revision 1.1
diff -u -r1.1 complex_dotprod_sse64.S
--- src/lib/filter/complex_dotprod_sse64.S      29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/complex_dotprod_sse64.S      31 May 2006 17:19:17 -0000
@@ -58,7 +58,7 @@
        .file   "complex_dotprod_sse64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(complex_dotprod_sse)
        DEF_FUNC_HEAD(complex_dotprod_sse)
 GLOB_SYMB(complex_dotprod_sse):
Index: src/lib/filter/fcomplex_dotprod_3dnow.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow.S,v
retrieving revision 1.2
diff -u -r1.2 fcomplex_dotprod_3dnow.S
--- src/lib/filter/fcomplex_dotprod_3dnow.S     29 Aug 2005 01:54:44 -0000      
1.2
+++ src/lib/filter/fcomplex_dotprod_3dnow.S     31 May 2006 17:19:17 -0000
@@ -55,7 +55,7 @@
        .file   "fcomplex_dotprod_3dnow.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(fcomplex_dotprod_3dnow)
        DEF_FUNC_HEAD(fcomplex_dotprod_3dnow)
 GLOB_SYMB(fcomplex_dotprod_3dnow):
Index: src/lib/filter/fcomplex_dotprod_3dnow64.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow64.S,v
retrieving revision 1.1
diff -u -r1.1 fcomplex_dotprod_3dnow64.S
--- src/lib/filter/fcomplex_dotprod_3dnow64.S   29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/fcomplex_dotprod_3dnow64.S   31 May 2006 17:19:17 -0000
@@ -55,7 +55,7 @@
        .file   "fcomplex_dotprod_3dnow64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(fcomplex_dotprod_3dnow)
        DEF_FUNC_HEAD(fcomplex_dotprod_3dnow)
 GLOB_SYMB(fcomplex_dotprod_3dnow):
Index: src/lib/filter/fcomplex_dotprod_sse.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse.S,v
retrieving revision 1.2
diff -u -r1.2 fcomplex_dotprod_sse.S
--- src/lib/filter/fcomplex_dotprod_sse.S       29 Aug 2005 01:54:44 -0000      
1.2
+++ src/lib/filter/fcomplex_dotprod_sse.S       31 May 2006 17:19:17 -0000
@@ -58,7 +58,7 @@
        .file   "fcomplex_dotprod_sse.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(fcomplex_dotprod_sse)
        DEF_FUNC_HEAD(fcomplex_dotprod_sse)
 GLOB_SYMB(fcomplex_dotprod_sse):
Index: src/lib/filter/fcomplex_dotprod_sse64.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse64.S,v
retrieving revision 1.1
diff -u -r1.1 fcomplex_dotprod_sse64.S
--- src/lib/filter/fcomplex_dotprod_sse64.S     29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/fcomplex_dotprod_sse64.S     31 May 2006 17:19:17 -0000
@@ -58,7 +58,7 @@
        .file   "fcomplex_dotprod_sse64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(fcomplex_dotprod_sse)
        DEF_FUNC_HEAD(fcomplex_dotprod_sse)
 GLOB_SYMB(fcomplex_dotprod_sse):
Index: src/lib/filter/float_dotprod_3dnow.S
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/src/lib/filter/float_dotprod_3dnow.S,v
retrieving revision 1.2
diff -u -r1.2 float_dotprod_3dnow.S
--- src/lib/filter/float_dotprod_3dnow.S        29 Aug 2005 01:54:44 -0000      
1.2
+++ src/lib/filter/float_dotprod_3dnow.S        31 May 2006 17:19:17 -0000
@@ -56,7 +56,7 @@
        .file   "float_dotprod_3dnow.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(float_dotprod_3dnow)
        DEF_FUNC_HEAD(float_dotprod_3dnow)
 GLOB_SYMB(float_dotprod_3dnow):
Index: src/lib/filter/float_dotprod_3dnow64.S
===================================================================
RCS file: 
/sources/gnuradio/gnuradio-core/src/lib/filter/float_dotprod_3dnow64.S,v
retrieving revision 1.1
diff -u -r1.1 float_dotprod_3dnow64.S
--- src/lib/filter/float_dotprod_3dnow64.S      29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/float_dotprod_3dnow64.S      31 May 2006 17:19:17 -0000
@@ -56,7 +56,7 @@
        .file   "float_dotprod_3dnow64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(float_dotprod_3dnow)
        DEF_FUNC_HEAD(float_dotprod_3dnow)
 GLOB_SYMB(float_dotprod_3dnow):
Index: src/lib/filter/float_dotprod_sse.S
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/src/lib/filter/float_dotprod_sse.S,v
retrieving revision 1.2
diff -u -r1.2 float_dotprod_sse.S
--- src/lib/filter/float_dotprod_sse.S  29 Aug 2005 01:54:44 -0000      1.2
+++ src/lib/filter/float_dotprod_sse.S  31 May 2006 17:19:17 -0000
@@ -56,7 +56,7 @@
        .file   "float_dotprod_sse.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(float_dotprod_sse)
        DEF_FUNC_HEAD(float_dotprod_sse)
 GLOB_SYMB(float_dotprod_sse):
Index: src/lib/filter/float_dotprod_sse64.S
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/src/lib/filter/float_dotprod_sse64.S,v
retrieving revision 1.1
diff -u -r1.1 float_dotprod_sse64.S
--- src/lib/filter/float_dotprod_sse64.S        29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/float_dotprod_sse64.S        31 May 2006 17:19:17 -0000
@@ -56,7 +56,7 @@
        .file   "float_dotprod_sse64.S"
        .version        "01.01"
 .text
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .globl GLOB_SYMB(float_dotprod_sse)
        DEF_FUNC_HEAD(float_dotprod_sse)
 GLOB_SYMB(float_dotprod_sse):
Index: src/lib/filter/short_dotprod_mmx.S
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/src/lib/filter/short_dotprod_mmx.S,v
retrieving revision 1.2
diff -u -r1.2 short_dotprod_mmx.S
--- src/lib/filter/short_dotprod_mmx.S  29 Aug 2005 01:54:44 -0000      1.2
+++ src/lib/filter/short_dotprod_mmx.S  31 May 2006 17:19:17 -0000
@@ -38,11 +38,10 @@
 
        .file   "short_dotprod_mmx.S"
        .version        "01.01"
-       .text
-       .align 8
-       .global GLOB_SYMB(short_dotprod_mmx)
+.text
+       GR_ALIGN_LOG2 (3)
+.globl GLOB_SYMB(short_dotprod_mmx)
        DEF_FUNC_HEAD(short_dotprod_mmx)
-
 GLOB_SYMB(short_dotprod_mmx):
        pushl %ebp
        movl %esp,%ebp
@@ -56,7 +55,7 @@
        pxor %mm0,%mm0          # clear running sum (in two 32-bit halves)
        
 # MMX dot product loop unrolled 4 times, crunching 16 terms per loop
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .Loop1mmx:     subl $4,%ecx
        jl   .Loop1Done
        
Index: src/lib/filter/short_dotprod_mmx64.S
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/src/lib/filter/short_dotprod_mmx64.S,v
retrieving revision 1.1
diff -u -r1.1 short_dotprod_mmx64.S
--- src/lib/filter/short_dotprod_mmx64.S        29 Aug 2005 01:54:44 -0000      
1.1
+++ src/lib/filter/short_dotprod_mmx64.S        31 May 2006 17:19:17 -0000
@@ -38,11 +38,10 @@
 
        .file   "short_dotprod_mmx64.S"
        .version        "01.01"
-       .text
-       .align 8
-       .global GLOB_SYMB(short_dotprod_mmx)
+.text
+       GR_ALIGN_LOG2 (3)
+.globl GLOB_SYMB(short_dotprod_mmx)
        DEF_FUNC_HEAD(short_dotprod_mmx)
-
 GLOB_SYMB(short_dotprod_mmx):
 
        # a: rdi, b: rsi, cnt: rdx
@@ -50,7 +49,7 @@
        pxor %mm0,%mm0          # clear running sum (in two 32-bit halves)
        
 # MMX dot product loop unrolled 4 times, crunching 16 terms per loop
-       .align 16
+       GR_ALIGN_LOG2 (4)
 .Loop1mmx:     sub $4,%rdx
        jl   .Loop1Done
        
cvs diff: Diffing src/lib/g72x
cvs diff: Diffing src/lib/general
cvs diff: Diffing src/lib/io
cvs diff: Diffing src/lib/missing
cvs diff: Diffing src/lib/omnithread
cvs diff: Diffing src/lib/reed-solomon
cvs diff: Diffing src/lib/runtime
cvs diff: Diffing src/lib/swig
cvs diff: Diffing src/python
cvs diff: Diffing src/python/bin
cvs diff: Diffing src/python/gnuradio
cvs diff: Diffing src/python/gnuradio/blks
cvs diff: Diffing src/python/gnuradio/blksimpl
cvs diff: Diffing src/python/gnuradio/gr
cvs diff: Diffing src/python/gnuradio/gru
cvs diff: Diffing src/python/gnuradio/gruimpl
cvs diff: Diffing src/tests
cvs diff: Diffing src/utils
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to