This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Okay, but the intrinsic they actually have in emmintrin.h and friends, matches the compiler reference manual.On Wed, 2005-08-24 at 20:13 -0700, Richard Henderson wrote:On Wed, Aug 24, 2005 at 05:45:20PM -0700, Fariborz Jahanian wrote:The Intel reference manuals say it shall be this:
__m128d _mm_sqrt_sd( __m128d );
Not the one I'm looking at, it doesn't.
__m128d __mm_sqrt_sd (__m128d a, __m128d)
Computes the square root of the lower DP FP value of b. The upper DP FP value is passed through from a.
r0 := sqrt(b0) r1 := a1
same here for 9.0 (the latest):
On the other hand, both my hardcopy of the Intel Instruction Set reference and the current ftp://download.intel.com/design/Pentium4/manuals/25366716.pdf version
has exactly as Fariborz has proposed:
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |