Re: [linux-audio-dev] Float to int conversions

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Float to int conversions
From: Erik de Castro Lopo (erikd-lad_AT_mega-nerd.com)
Date: Thu Nov 01 2001 - 21:07:35 EET


It really blew my mind when "Daniel V." <dvenkita_AT_rand.ss.ecel.uwa.edu.au> said:

> A quick question: have any tests of this code been made with non-x86
> architectures (specifically ppc)? Or did they not have the problem to
> begin with?

I'm still trying to get access to PPC. Linux on PPC should have lrint/lrintf
so thats not a big issue. I'm much more interested in gettig access to
MacOS.

I did run this on UltraSparc II and could not get any speed improvement in
going from cast -> integer pipeline operations. I still haven't figured out
whether this is because the UltraSparc II has a shallow pipleine wrt i386
or whether the UltraSparc has a specific assembler instruction for float
to int casts. I should also try this on UltraSparc III which I has a deeper
pipeline than USII.

Erik

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam_AT_mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"Some people don't want genitalia shoved down their throats."
-- Rex Mossop, Australian football commentator and morals crusader


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Nov 01 2001 - 21:02:44 EET