Re: Hex to ascii
- From: "Jean-François Michaud" <spamtrap@xxxxxxxxxx>
- Date: 15 Sep 2006 09:17:34 -0700
Terje Mathisen wrote:
Jean-François Michaud wrote:
Terje Mathisen wrote:
In 32-bit mode the difference is even larger, the code AMD "borrowed"
converts a full 32-bit unsigned integer to 10 decimal digits in less
time than the cpu needs for a single DIV opcode! :-)
Terje
How about a lookup table?
Lookup tables are indeed good here, in fact they should be the obvious
choice. :-)
However, when working with more digits and/or parallel operations,
straight inline SIMD code tends to beat lookup tables due to the load
stage bottleneck.
Hmm possibly but thats assuming alot ;-). Most processors out there
don't have the SIMD instruction set/registers.
Regards
Jean-Francois Michaud
.
- Follow-Ups:
- Re: Hex to ascii
- From: Terje Mathisen
- Re: Hex to ascii
- From: randyhyde@xxxxxxxxxxxxx
- Re: Hex to ascii
- References:
- Hex to ascii
- From: Displacer
- Re: Hex to ascii
- From: Robert Redelmeier
- Re: Hex to ascii
- From: Rod Pemberton
- Re: Hex to ascii
- From: Terje Mathisen
- Re: Hex to ascii
- From: Jean-François Michaud
- Re: Hex to ascii
- From: Terje Mathisen
- Hex to ascii
- Prev by Date: Re: 8088 LZSS+RLE decompression: Can this be improved?
- Next by Date: floating point representation
- Previous by thread: Re: Hex to ascii
- Next by thread: Re: Hex to ascii
- Index(es):
Relevant Pages
|