[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | David Gurr <gurr@m...> |
| Subject: | Re: single-precision floats, etc. |
Chris Hecker: > Most importantly, is there any way to make the "float" type compile to single precision floating point numbers? I do mostly DSP stuff for MRI machines and most of the code is single precision floats. Instead of adding single precision floats, I wonder if I would rather replace boxed float with "boxed multi-media datatype". So in Proc and Arch for AltiVec machines the float registers would be replaced by 128 bit "vector" registers and float arrays would instead be arrays of 128 bit elements and the float ops would be replaced by packed int and packed float ops. On the other hand, most x86 machines have weird multimedia instruction sets (using the MMX registers precludes using the floating point stack, clever). I suppose that Cmm would be modified to either replace the float ops with packed ops or extend the float ops with packed ops and Selection would do what it could with incomplete multimedia instruction sets. -David Gurr