[tremor] Tremor's use of 64-bit math

Owen G. Emry oemry at patriot.net
Thu Sep 12 19:02:54 PDT 2002



Hi, all.

I\'d appreciate it if someone who understands the decoder better than I could 
briefly explain how Tremor uses 64-bit math.  My problem is this:

In order to get position-independent code working properly on my platform, I 
need to compile everything with a rather specialized command line.  Tremor 
uses 64-bit math, and this requires me to link in libgcc.a (for __udivsi and 
friends), and these don\'t work because they were built along with gcc.

This means I have to either 1) rebuild libgcc somehow, or 2) implement my own 
routines to do 64-bit multiplications and divisions.

I don\'t know how to do the first, yet.  (Any suggestions?)  The second 
option 
is less initimidating, but I doubt I could create highly-optimized versions, 
so I\'m wondering if Tremor uses these operations in places where they\'d 
need 
to be optimized or not.

It appears that Tremor uses the assembly-optimized 32-bit math operations 
everywhere performance is critical, but I don\'t understand the whole system 
well enough to really know for sure, and this is why I\'m asking.

Any help greatly appreciated!

Regards,
Owen

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'tremor-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Tremor mailing list