Skip to content

Instantly share code, notes, and snippets.

View lilltroll77's full-sized avatar

Mikael lilltroll77

  • Sweden, Västerås
View GitHub Profile
@lilltroll77
lilltroll77 / fir_ddAsm
Created September 14, 2011 10:34
ASM fir filter with double data
//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
@lilltroll77
lilltroll77 / Fir_app
Created April 24, 2011 22:10
Test of FIR filter
#include <stdio.h>
#include <print.h>
#include "fir.h"
int coeffs[8];
int state[8];
int main() {
int num = 0 ;
@lilltroll77
lilltroll77 / terminal dump
Created April 14, 2011 16:22
build biquad
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