commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r7791 - gnuradio/branches/developers/ngoergen/spe_fir_


From: ngoergen
Subject: [Commit-gnuradio] r7791 - gnuradio/branches/developers/ngoergen/spe_fir_fff
Date: Fri, 22 Feb 2008 20:06:23 -0700 (MST)

Author: ngoergen
Date: 2008-02-22 20:06:22 -0700 (Fri, 22 Feb 2008)
New Revision: 7791

Added:
   gnuradio/branches/developers/ngoergen/spe_fir_fff/fir_fff64_spe.cpp
   gnuradio/branches/developers/ngoergen/spe_fir_fff/multi_fir_fff64_ppe.c
   gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff64_as.S
   gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff64_as.h
Modified:
   gnuradio/branches/developers/ngoergen/spe_fir_fff/Makefile
   gnuradio/branches/developers/ngoergen/spe_fir_fff/multi_fir_fff_ppe.c
   gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff_as.S
Log:
spe_fir_fff: Added double-precision SPE fir routine.  Changed units of 'ntaps' 
from 4x to 1x values. Note: taps still need to be a multiples of 4.



Modified: gnuradio/branches/developers/ngoergen/spe_fir_fff/Makefile
===================================================================
--- gnuradio/branches/developers/ngoergen/spe_fir_fff/Makefile  2008-02-22 
23:42:04 UTC (rev 7790)
+++ gnuradio/branches/developers/ngoergen/spe_fir_fff/Makefile  2008-02-23 
03:06:22 UTC (rev 7791)
@@ -11,7 +11,7 @@
 SPU_AS    = spu-as
 SPU_CPP           = spu-g++
 
-all: multi_fir_fff_ppe fir_fff_spe.elf
+all: multi_fir_fff_ppe multi_fir_fff64_ppe fir_fff_spe.elf fir_fff64_spe.elf
 
 asm: fir_fff_spe.s
 
@@ -21,14 +21,19 @@
 multi_fir_fff_ppe: multi_fir_fff_ppe.c
        $(CC) $(CFLAGS) $(CINCS) $(CLIBS) $^ -o $@
 
-fir_fff_spe.o: fir_fff_spe.cpp
+multi_fir_fff64_ppe: multi_fir_fff64_ppe.c
+       $(CC) $(CFLAGS) $(CINCS) $(CLIBS) $^ -o $@
+
+%.o: %.cpp
        $(SPU_CC) -c $(SPU_CFLAGS) $(SPU_CINCS) $(SPU_CLIBS) $^ -o $@
 
-spe_fir_fff_as.o: spe_fir_fff_as.S
+%.o: %.S
        $(SPU_AS) -o $@ $^      
 
 fir_fff_spe.elf: fir_fff_spe.o spe_fir_fff_as.o
        $(SPU_CPP) $(SPU_CFLAGS) $(SPU_CINCS) $(SPU_CLIBS) $^ -o $@
 
+fir_fff64_spe.elf: fir_fff64_spe.o spe_fir_fff64_as.o
+       $(SPU_CPP) $(SPU_CFLAGS) $(SPU_CINCS) $(SPU_CLIBS) $^ -o $@
 clean:
-       rm -f multi_fir_fff_ppe fir_fff_spe.elf fir_fff_spe.s *.o
+       rm -f multi_fir_fff_ppe fir_fff_spe.elf fir_fff_spe.s 
multi_fir_fff64_ppe fir_fff64_spe.elf *.o

Added: gnuradio/branches/developers/ngoergen/spe_fir_fff/fir_fff64_spe.cpp
===================================================================
--- gnuradio/branches/developers/ngoergen/spe_fir_fff/fir_fff64_spe.cpp         
                (rev 0)
+++ gnuradio/branches/developers/ngoergen/spe_fir_fff/fir_fff64_spe.cpp 
2008-02-23 03:06:22 UTC (rev 7791)
@@ -0,0 +1,44 @@
+#include <stdio.h>
+#include <spu_intrinsics.h>
+#include "gr_spe_dma_lock.h"
+#include "spe_fir_fff_params.h"
+#include "spe_fir_fff64_as.h"
+
+#define MAX_BUFSIZE (64*100)
+
+double in1_spe[MAX_BUFSIZE]  __attribute__((aligned(16)));
+double in2_spe[MAX_BUFSIZE]  __attribute__((aligned(16)));
+double out_spe[MAX_BUFSIZE] __attribute__((aligned(16)));
+
+spe_fir_fff_params_t spe_fir_fff_params __attribute__((aligned(16)));
+
+int main(unsigned long long spe, unsigned long long argp, unsigned long long 
envp)
+{
+    int tag = 1;
+    __vector double *vin1  = (__vector double *) in1_spe;
+    __vector double *vin2  = (__vector double *) in2_spe;
+    __vector double *vout = (__vector double *) out_spe;
+
+    {
+       gr_spe_dma_lock_in<spe_fir_fff_params_t> argp_lock(
+               argp, &spe_fir_fff_params, sizeof(spe_fir_fff_params_t), tag);
+       gr_spe_dma_lock_in<__vector double> vin1_lock(
+               spe_fir_fff_params.ea_in1, vin1, spe_fir_fff_params.size * 
sizeof(double), tag);
+       gr_spe_dma_lock_in<__vector double> vin2_lock(
+               spe_fir_fff_params.ea_in2, vin2, spe_fir_fff_params.size * 
sizeof(double), tag);
+       gr_spe_dma_lock_out<__vector double> out_lock(
+               spe_fir_fff_params.ea_out, vout, spe_fir_fff_params.size * 
sizeof(double), tag);
+
+       spe_fir_fff64(
+               vin1, 
+               vin2, 
+               vout, 
+               0, 
+               spe_fir_fff_params.offset, 
+               spe_fir_fff_params.nsamples, 
+               spe_fir_fff_params.ntaps);
+
+    }
+
+    return 0;
+}


Property changes on: 
gnuradio/branches/developers/ngoergen/spe_fir_fff/fir_fff64_spe.cpp
___________________________________________________________________
Name: svn:executable
   + *

Added: gnuradio/branches/developers/ngoergen/spe_fir_fff/multi_fir_fff64_ppe.c
===================================================================
--- gnuradio/branches/developers/ngoergen/spe_fir_fff/multi_fir_fff64_ppe.c     
                        (rev 0)
+++ gnuradio/branches/developers/ngoergen/spe_fir_fff/multi_fir_fff64_ppe.c     
2008-02-23 03:06:22 UTC (rev 7791)
@@ -0,0 +1,198 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <libspe2.h>
+#include <pthread.h>
+#include <spe_fir_fff_params.h>
+
+#define NUM_SPE 1
+#define SIZE    (64*1 )
+
+//#define MYMATRIX 1,  2,  3,   4,  5,   6,  7,   8, \
+                  9,  10, 11,  12, 13,  14, 15,  16, \
+                 17,  18, 19,  20, 21,  22, 23,  24, \
+                 25,  26, 27,  28, 29,  30, 31,  32, \
+                 33,  34, 35,  36, 37,  38, 39,  40, \
+                 41,  42, 43,  44, 45,  46, 47,  48, \
+                 49,  50, 51,  52, 53,  54, 55,  56, \
+                 57,  58, 59,  60, 61,  62, 63,  64
+
+//#define MYMATRIX      0,0,0,0,0,0,0,0, \
+                        0,0,0,0,0,0,0,0, \
+                        0,0,0,0,0,0,0,0, \
+                        0,0,0,0,0,0,0,0, \
+                        0,0,0,0,0,0,0,0, \
+                        0,0,0,0,0,0,0,0, \
+                        0,0,0,0,0,0,0,0, \
+                        0,0,0,0,1,2,3,4
+
+#define MYMATRIX        1,    2,  3,    4,   5,   6,  7,   8, \
+                        9,    10,  1,    -1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1
+
+//#define MYMATRIX2    1.23,   1.23,  1.23,   1.23,  1.23,   1.23,  1.23,   
1.23, \
+                       1.23,   1.23,  1.23,   1.23,  1.23,   1.23,  1.23,   
1.23, \
+                       1.23,   1.23,  1.23,   1.23,  1.23,   1.23,  1.23,   
1.23, \
+                       1.23,   1.23,  1.23,   1.23,  1.23,   1.23,  1.23,   
1.23, \
+                       1.23,   1.23,  1.23,   1.23,  1.23,   1.23,  1.23,   
1.23, \
+                       1.23,   1.23,  1.23,   1.23,  1.23,   1.23,  1.23,   
1.23, \
+                       1.23,   1.23,  1.23,   1.23,  1.23,   1.23,  1.23,   
1.23, \
+                       1.23,   1.23,  1.23,   1.23,  1.23,   1.23,  1.23,   
1.23
+
+//#define MYMATRIX2     -2,    -2,  -2,    -2,   -2,   -2,  -2,   -2, \
+                        -2,    -2,  -2,    -2,   -2,   -2,  -2,   -2, \
+                        -2,    -2,  -2,    -2,   -2,   -2,  -2,   -2, \
+                        -2,    -2,  -2,    -2,   -2,   -2,  -2,   -2, \
+                        -2,    -2,  -2,    -2,   -2,   -2,  -2,   -2, \
+                        -2,    -2,  -2,    -2,   -2,   -2,  -2,   -2, \
+                        -2,    -2,  -2,    -2,   -2,   -2,  -2,   -2, \
+                        -2,    -2,  -2,    -2,   -2,   -2,  -2,   -2
+
+#define MYMATRIX2       1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1, \
+                        1,    1,  1,    1,   1,   1,  1,   1
+
+
+#define MYMATRIX10     MYMATRIX, MYMATRIX, MYMATRIX, MYMATRIX, MYMATRIX, \
+                                       MYMATRIX, MYMATRIX, MYMATRIX, MYMATRIX, 
MYMATRIX
+
+#define MYMATRIX100    MYMATRIX10, MYMATRIX10, MYMATRIX10, MYMATRIX10, 
MYMATRIX10, \
+                                       MYMATRIX10, MYMATRIX10, MYMATRIX10, 
MYMATRIX10, MYMATRIX10
+
+
+#define MYMATRIX210 MYMATRIX2, MYMATRIX2, MYMATRIX2, MYMATRIX2, MYMATRIX2, \
+               MYMATRIX2, MYMATRIX2, MYMATRIX2, MYMATRIX2, MYMATRIX2
+
+#define MYMATRIX2100 MYMATRIX210, MYMATRIX210, MYMATRIX210, MYMATRIX210, 
MYMATRIX210, \
+                                       MYMATRIX210, MYMATRIX210, MYMATRIX210, 
MYMATRIX210, MYMATRIX210
+#define TESTMATRIX 234,  -4,  23,  -56,  45,    98,  -23,  -7, 0, 0, 0, 0, 0, 
0, 0, 0 
+//#define TESTMATRIX 1,    2,  3,    4,   5,   6,  7,   8, \
+                        9,    10, 234, 234, 234, 234, 234, 234 
+#define TESTTAPS 5, -4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+
+double in1[16]  = { 
+       // MYMATRIX10 
+               TESTMATRIX
+       };
+double in2[16]  __attribute__((aligned(16))) = { 
+               // MYMATRIX210 
+       TESTTAPS        
+}      ;
+
+double out[SIZE] __attribute__((aligned(16)));
+
+spe_fir_fff_params_t spe_fir_fff_params[NUM_SPE] __attribute__((aligned(16)));
+
+typedef struct {
+    spe_context_ptr_t   spe;
+    spe_fir_fff_params_t        *spe_fir_fff_params;
+} thread_arg_t;
+
+void *run_abs_spe(void *thread_arg)
+{
+    int ret;
+    thread_arg_t *arg = (thread_arg_t *) thread_arg;
+    unsigned int entry;
+    spe_stop_info_t stop_info;
+
+    entry = SPE_DEFAULT_ENTRY;
+    ret = spe_context_run(arg->spe, &entry, 0, arg->spe_fir_fff_params, NULL, 
&stop_info);
+    if (ret < 0) {
+        perror("spe_context_run");
+        return NULL;
+    }
+
+    return NULL;
+}
+
+int main(int argc, char **argv)
+{
+    int i;
+    int ret;
+
+    spe_program_handle_t *prog;
+    spe_context_ptr_t spe[NUM_SPE];
+    pthread_t thread[NUM_SPE];
+    thread_arg_t arg[NUM_SPE];
+    
+    printf("size: spe_fir_fff_params_t: %02d\n", sizeof(spe_fir_fff_params_t));
+
+    prog = spe_image_open("fir_fff64_spe.elf");
+    if (!prog) {
+        perror("spe_image_open");
+        exit(1);
+    }
+
+    for (i = 0; i < NUM_SPE; ++i) {
+        spe[i] = spe_context_create(0, NULL);
+        if (!spe[i]) {
+            perror("spe_context_create");
+            exit(1);
+        }
+
+        ret = spe_program_load(spe[i], prog);
+        if (ret) {
+            perror("spe_program_load");
+            exit(1);
+        }
+    }
+
+    unsigned int j;
+    int size = SIZE/NUM_SPE;
+    
+    for (j = 0; j < 1; ++j) {
+       
+           
+           for (i = 0; i < NUM_SPE; ++i) {
+               spe_fir_fff_params[i].ea_in1  = (unsigned long) &in1[i*size ];
+               spe_fir_fff_params[i].ea_in2  = (unsigned long) &in2[i*size ];
+               spe_fir_fff_params[i].ea_out = (unsigned long) &out[i*size];
+               spe_fir_fff_params[i].ntaps = 16;
+               spe_fir_fff_params[i].nsamples   = 7;
+               spe_fir_fff_params[i].offset   = 0;
+               spe_fir_fff_params[i].size  = size;
+       
+               arg[i].spe = spe[i];
+               arg[i].spe_fir_fff_params = &spe_fir_fff_params[i];
+       
+               ret = pthread_create(&thread[i], NULL, run_abs_spe, &arg[i]);
+               if (ret) {
+                   perror("pthread_create");
+                   exit(1);
+               }
+           }
+           pthread_join(thread[i], NULL);
+    }
+    
+       
+    for (i = 0; i < NUM_SPE; ++i) {
+        //pthread_join(thread[i], NULL);
+        ret = spe_context_destroy(spe[i]);
+        if (ret) {
+            perror("spe_context_destroy");
+            exit(1);
+        }
+    }
+
+    ret = spe_image_close(prog);
+    if (ret) {
+        perror("spe_image_close");
+        exit(1);
+    }
+
+    for (i = 0; i < 32; ++i) {
+        printf("out[%02d]=%f\n", i, out[i]);
+    }
+    printf("size %0d result=%f\n", size, out[0]);
+
+    return 0;
+}


Property changes on: 
gnuradio/branches/developers/ngoergen/spe_fir_fff/multi_fir_fff64_ppe.c
___________________________________________________________________
Name: svn:executable
   + *

Modified: gnuradio/branches/developers/ngoergen/spe_fir_fff/multi_fir_fff_ppe.c
===================================================================
--- gnuradio/branches/developers/ngoergen/spe_fir_fff/multi_fir_fff_ppe.c       
2008-02-22 23:42:04 UTC (rev 7790)
+++ gnuradio/branches/developers/ngoergen/spe_fir_fff/multi_fir_fff_ppe.c       
2008-02-23 03:06:22 UTC (rev 7791)
@@ -156,7 +156,7 @@
                spe_fir_fff_params[i].ea_in1  = (unsigned long) &in1[i*size ];
                spe_fir_fff_params[i].ea_in2  = (unsigned long) &in2[i*size ];
                spe_fir_fff_params[i].ea_out = (unsigned long) &out[i*size];
-               spe_fir_fff_params[i].ntaps = 4;
+               spe_fir_fff_params[i].ntaps = 16;
                spe_fir_fff_params[i].nsamples   = 7;
                spe_fir_fff_params[i].offset   = 0;
                spe_fir_fff_params[i].size  = size;

Added: gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff64_as.S
===================================================================
--- gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff64_as.S        
                        (rev 0)
+++ gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff64_as.S        
2008-02-23 03:06:22 UTC (rev 7791)
@@ -0,0 +1,160 @@
+       .file   "fir_fff64_spe.S"
+.text
+       .align  3
+       .global spe_fir_fff64
+       .type   spe_fir_fff64, @function
+spe_fir_fff64:
+                               ori     $32,$5,0        # 0-2
+                               ori     $33,$7,0        # 0-2
+                               ori     $31,$8,0        # 0-2
+                       .start2: 
+                               xor $30,$30,$30         # 0-2 initilize the 
current output vector                               
+                               il  $34, 16             # 0-2 shift mask for 
output insertion
+                       
+                       .start1: 
+                               andi    $37,$33,0x0c     # 0-2 find index into 
masks [0-4]  TODO!!!!!
+                               xor     $5,$5,$5         # 0-2 
+                               xor     $6,$6,$6         # 0-2
+                               shlqbii $38,$37,2        # 1-4 mult by 4 
+                               xor     $7,$7,$7         # 0-2
+                               ori     $36,$9,0         # 0-2
+                               lqd     $39,shiftmasks32($38)    # 1-6 load the 
right shift mask                        
+                               xor     $8,$8,$8         # 0-2
+                               a       $35, $33, $3     # 0-2
+                               ori     $38,$4,0         # 0-2
+               
+                               hbra    .inner_loop_branch, .inner_loop         
# inner-loop hint       
+                       .inner_loop:            
+                               lqd     $10,0($35)       # 1-6
+                               lqd     $11,16($35)      # 1-6
+                               lqd     $12,32($35)      # 1-6
+                               lqd     $13,48($35)      # 1-6                  
        
+                               lqd     $18,64($35)      # 1-6
+                               lqd     $14,0($38)       # 1-6
+                               lqd     $15,16($38)      # 1-6
+                               ai      $36,$36,-8       # 0-2 consume 8 taps 
every time
+                               lqd     $16,32($38)      # 1-6 
+                               ai      $35,$35,64       # 0-2 consume 64 bytes 
of input data each loop
+                               lqd     $17,48($38)      # 1-6 
+                               ai      $38,$38,64       # 0-2 consume 64 bytes 
of input data each loop
+
+                               shufb   $10,$10,$11,$39         # 1-4 
+                               dfma    $5, $10, $14    # 0-6 
+                               shufb   $11,$11,$12,$39         # 1-4           
        
+                               dfma    $6, $11, $15    # 0-6
+                               shufb   $12,$12,$13,$39         # 1-4
+                               dfma    $7, $12, $16    # 0-6                   
+                               shufb   $13,$13,$18,$39         # 1-4
+                               dfma    $8, $13, $17    # 0-6
+
+                       .inner_loop_branch:     
+                               brnz    $36,.inner_loop 
+                               dfa     $18,$5,$6                # 0-6
+                               hbra    .outter_loop_branch, .start1     # 1-
+                               dfa     $19,$7,$8                # 0-6
+                               hbra    .finish_branch, .finish_branch_targ     
 # 1-
+                               dfa     $5,$18,$19               # 0-6
+
+# accumulate word elements in r5 into first element in r5      
+                               ori     $6,$5,0          # 0-2
+                               shlqbyi $6,$6,8          # 1-4
+                               dfa     $5,$6,$5         # 0-2
+                               fsmbi   $10,0xFF00       # 1-4
+                               and     $11,$10,$5       # 0-2
+                               rotqby  $12, $11, $34    # 1-4
+                               or      $30,$12,$30      # 0-2
+                       
+                               ai      $31,$31,-1       # 0-2 produce 1 sample 
each inner-loop
+                       .finish_branch: 
+                               brz     $31,.finish2     
+                       .finish_branch_targ:    
+                               ai      $33,$33,8        # 0-2 offset into 
input data moves 8 bytes each loop
+                               ai      $34,$34,-8       # 0-2 shiftmask moves 
twice each loop
+                       
+                       .outter_loop_branch:            
+                               brnz    $34, .start1    
+                               hbra    .outter_outter_loop_branch, .start2     
+# Stores r5 in output
+                       .finish2:       
+                               stqd    $30,0($32)              
+                               ai      $32,$32,16                              
# increment output pointer by 1 new vector.
+
+                       .outter_outter_loop_branch:     
+                               brnz    $31,.start2                     # start 
another output vector if needed
+
+       bi      $lr
+       .size   spe_fir_fff64, .-spe_fir_fff64
+.text
+        .global shiftmasks32
+        .align  4
+        .type   shiftmasks32, @object
+        .size   shiftmasks32, 64
+shiftmasks32:
+       .long 0x00010203
+       .long 0x04050607
+       .long 0x08090a0b
+       .long 0x0c0d0e0f
+
+       .long 0x04050607
+       .long 0x08090a0b
+       .long 0x0c0d0e0f
+       .long 0x10111213
+
+       .long 0x08090a0b
+       .long 0x0c0d0e0f
+       .long 0x10111213
+       .long 0x14151617
+
+       .long 0x0c0d0e0f
+       .long 0x10111213
+       .long 0x14151617
+       .long 0x18191a1b
+
+#        .long   66051
+#        .long   67438087
+#        .long   134810123
+#        .long   202182159
+#        .long   67438087
+#        .long   134810123
+#        .long   202182159
+#        .long   269554195
+#        .long   134810123
+#        .long   202182159
+#        .long   269554195
+#        .long   336926231
+#        .long   202182159
+#        .long   269554195
+#        .long   336926231
+#        .long   404298267
+
+# old code to build stack for above routine
+#      stqd    $sp,-128($sp)
+#      ai      $sp,$sp,-128
+#      lqd     $3,32($sp)
+#      hbrp    # 1
+#      cwd     $9,0($sp)
+#      shufb   $3,$4,$3,$9
+#      stqd    $3,32($sp)
+#      lqd     $3,48($sp)
+#      cwd     $4,0($sp)
+#      shufb   $3,$4,$3,$4
+#      stqd    $3,48($sp)
+#      lqd     $3,64($sp)
+#      cwd     $4,0($sp)
+#      shufb   $3,$5,$3,$4
+#      stqd    $3,64($sp)
+#      lqd     $3,80($sp)
+#      hbrp    # 2
+#      cwd     $4,0($sp)
+#      shufb   $3,$6,$3,$4
+#      stqd    $3,80($sp)
+#      lqd     $3,96($sp)
+#      cwd     $4,0($sp)
+#      shufb   $3,$7,$3,$4
+#      stqd    $3,96($sp)
+#      lqd     $3,112($sp)
+#      cwd     $4,0($sp)
+#      shufb   $3,$8,$3,$4
+#      stqd    $3,112($sp)
+
+       .ident  "Hand coded Cell SPU assembly"

Added: gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff64_as.h
===================================================================
--- gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff64_as.h        
                        (rev 0)
+++ gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff64_as.h        
2008-02-23 03:06:22 UTC (rev 7791)
@@ -0,0 +1,22 @@
+#ifndef SPE_FIR_FFF64_AS_H_
+#define SPE_FIR_FFF64_AS_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern void spe_fir_fff64 (    
+       const __vector double *input,
+       const __vector double *taps, 
+       __vector double *output,
+       const __vector double *delayline,
+       const unsigned int offset,
+       const unsigned int nsamples,
+       const unsigned int ntaps
+);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //SPE_FIR_FFF_AS_H_

Modified: gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff_as.S
===================================================================
--- gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff_as.S  
2008-02-22 23:42:04 UTC (rev 7790)
+++ gnuradio/branches/developers/ngoergen/spe_fir_fff/spe_fir_fff_as.S  
2008-02-23 03:06:22 UTC (rev 7791)
@@ -32,7 +32,7 @@
                                lqd     $18,64($35)      # 1-6
                                lqd     $14,0($38)       # 1-6
                                lqd     $15,16($38)      # 1-6
-                               ai      $36,$36,-4       # 0-2
+                               ai      $36,$36,-16      # 0-2
                                lqd     $16,32($38)      # 1-6
                                ai      $35,$35,64       # 0-2
                                lqd     $17,48($38)      # 1-6





reply via email to

[Prev in Thread] Current Thread [Next in Thread]