Optimized kernel builds: the straight dope [fp extensions]

John Richard Moser nigelenki at comcast.net
Fri Sep 1 17:09:08 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Krzysztof Lichota wrote:
> John Richard Moser napisał(a):
>> I've been told that using SSE (the SIMD floating point extension that
>> Intel developed) takes ~17 cycles to load an SSE register because it's
>> not standard IEEE 754 floats and thus has to be converted from the FPU
>> registers.  Also the SIMDs are all floating point, it makes no sense to
>> copy data back and forth like that; a MOV, MOVS, or MOVSB instruction
>> would be faster and more appropriate.
> 
> MMX instructions were integer operations. SSE introduced floating-point
> operations. SSE2 introduced integer operations on longer registers. See:
> http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions.
> SIMD is just the name of generic type of instructions.
> 

Yes I know, I said SSE was a SIMD floating point extension; although I
guess I didn't know SSE2 had integer operations as well.

It doesn't change the fact that good old i286 movsb still works and is
more appropriate than fancy SSE instructions made for heavy special-use
scenarios

> 	Krzysztof Lichota
> 
> 

- --
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.

    Creative brains are a valuable, limited resource. They shouldn't be
    wasted on re-inventing the wheel when there are so many fascinating
    new problems waiting out there.
                                                 -- Eric Steven Raymond

    We will enslave their women, eat their children and rape their
    cattle!
                  -- Bosc, Evil alien overlord from the fifth dimension
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRPhbIgs1xW0HCTEFAQL5BhAAobudpA+nqtHP+OPW+Gz04La60f+m3yg4
9DzEtUMrQLhWxRoRBgJRIs66S/yfvzaKtsZeGHh4qUwabQK6eAPK5KtFeaqTycFO
l3ugY0h02ls6AyiT/CglXdQHqBI+MrNiUS/FD6HOCBzi9UWVDxoGkyYp+Q8xEtDI
efhUjYr3lW9C6ULZet8BWZaYdVBq24jFyEusg2dnn5wympVOknY7OQkNXlsTe1X7
EKMMt5NEk8uwU9+Z3ol8QClkenvOgQURfKpJQ1pMID1Mee19cjNi6p5YAeoI5DIb
FpqdJz5UfV9MeDk8kY3oqvY5Hxj98pb2d2ytVWzRzfMXafD2xd1m1/FuP2HWocAN
ZbGnYxOqx+pWIrZSPRmNfsnQk+6TDLCq8lVHmX3R/10WHVI76hyqdJW0iq/wOZlk
NkcAMKfWRian+nw9hMGjXoo18/jn0inKwdWHukFKy9ypESzfqCAzBYGI7tln0CTE
9AHqyat5m3LO1e4XAd3UfFM30VL7Kq5yDgTtoH6H4t7cZBSwOzLjrKOm5EOTiqL8
WzJos8WTRemMj4PqMebkZLWYS1bNiy6/ayp87PzcnPwgStRw79IT9D4j+mZJB7qK
Bi2Dq9g39+7HPvXLCP6e61U1DPywQLsLvX1qFUp2PS7GqXZzeX/syCNdeD+DL167
sxg+46bD7Kw=
=qcxj
-----END PGP SIGNATURE-----



More information about the ubuntu-devel mailing list