[linux-audio-dev] Fixed vs Floating point comparison.

Mike Rawes mike_rawes at yahoo.co.uk
Fri Oct 17 09:39:01 UTC 2003


For info - fixed point still wins!

vendor: AuthenticAMD
model name: AMD Athlon(TM) XP 2000+
bogomips: 3329.22

resamp_fixp: 4.560s
resamp_float: 10.270s
resamp_float_fistl: 13.210s # due to double counter?
resamp_float_lrint: 12.460s # double counter
resamp_float_lrintf: 6.820s # float counter

Attached lrintf variant with float counter. Needs -lm.

- 
Myk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resamp_float_lrintf.c
Type: application/octet-stream
Size: 1210 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20031017/34d2aa87/attachment.obj>


More information about the Linux-audio-dev mailing list