I have just checked and there are 13 instructions which appear in SSE3 which are not available in SSE2. These are:
ADDSUBPD - (Add-Subtract-Packed-Double)
ADDSUBPS - (Add-Subtract-Packed-Single)
HADDPD - (Horizontal-Add-Packed-Double)
HADDPS (Horizontal-Add-Packed-Single)
HSUBPD - (Horizontal-Subtract-Packed-Double)
HSUBPS - (Horizontal-Subtract-Packed-Single)
LDDQU - (misaligned integer vector load)
MOVDDUP, MOVSHDUP, MOVSLDUP - (for complex numbers)
FISTTP - (FISTP with "chop" truncate)
MONITOR, MWAIT - (intel only control instructions)
I grepped for these in the current MPIR assembly code and we don't use any of them. SSE4 instructions are only available on Intel i7 and AMD K10, so I doubt we use those except perhaps on the processors which actually support them.
I also checked SSSE3 which are intel extensions to SSE3. They include the instructions:
PSIGNB, PSIGNW, PSIGND - packed sign
PABSB, PABSW, PABSD - packed absolute value
PALIGNR - packed align right
PSHUFB - packed shuffle bytes
PMULHRSW - packed multiply high with round and scale
PMADDUBSW - multiply and add packed signed and unsigned bytes
PHSUBW, PHSUBD - packed horizontal subtract
PHSUBSW - packed horizontal subtract and saturate (words and dwords)
PHADDW, PHADDD - packed horizontal add
PHADDSW - packed horizontal add and saturate words
These also don't appear in MPIR.
SSE5 is an AMD extension which has been announced but not implemented.
I'm fairly sure MPIR is currently safe wrt SSE. Could some other package in Sage be using SSE3 or SSSE3?
Bill.
2009/6/19 William Stein
<wst...@gmail.com>
Hello,
Sage-4.0.2 has been released by Craig Citro and Nick Alexander! The
source code is available here:
http://sagemath.org/src/sage-4.0.2.tar
Binaries (only for modern hardware with ssse3) will be available in a
few days (at most), along with a release
tour, release notes, etc. Brave developers might also try
sage -upgrade
to upgrade to the latest version.
Tom Boothby will be the main release manager for the next Sage release
(maybe sage-4.1).
-- William
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org