This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//extern void firAsm(chanend c, int H[],int X[], unsigned size); | |
#define NWORDS 7 | |
// .cc_top biquadAsm, biquadAsm.func | |
.globl fir_ddAsm | |
.globl fir_ddAsm.nstackwords | |
.linkset fir_ddAsm.nstackwords,NWORDS | |
#define c r0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <print.h> | |
#include "fir.h" | |
int coeffs[8]; | |
int state[8]; | |
int main() { | |
int num = 0 ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mikael@ubuntu:~/sc_dsp_filters$ gcc -v | |
Using built-in specs. | |
Target: i686-linux-gnu | |
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu | |
Thread model: posix | |
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) | |
mikael@ubuntu:~/sc_dsp_filters$ xmake all | |
cd app_example_biquad && xmake all |