Link to home
Start Free TrialLog in
Avatar of peterchen092700
peterchen092700

asked on

fast conversion int<->float<->double arays

I am looking for fast conversion routines that convert between arrays of int (different types|widths), float, and double.
They should use platform-specific instructions (e.g. SIMD2) if available, or fall back a portable solution otherwise.

I am *not* looking for loose links/snippets how to do individual conversions.

Any suggestions?
TIA
Peter
ASKER CERTIFIED SOLUTION
Avatar of grg99
grg99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peterchen092700
peterchen092700

ASKER

Problem is, this goes into a tool library that runs background services which should have lowest possible impact. If I find something ready made that reduces time by 5%, I'm fine. (If I have to code two days, it's not worth the trouble)

The data conversions are unavoidable, since they are interfacing different components.

(I think the biggest time easter will be running through the 128K*8Bytes of memory anyway)
Can be closed for my part.
umm... I can't close it with points refunded, right?
(haven't been here often lately...)

while grg99's comments are valid, they don't answer the question at all.
*slap*
I've obviously not been here for too long... sorry.