[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-28 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-28 Thread uros at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #17 from uros at gcc dot gnu.org --- Author: uros Date: Thu Nov 28 18:14:23 2013 New Revision: 205497 URL: http://gcc.gnu.org/viewcvs?rev=205497&root=gcc&view=rev Log: Backport from mainline 2013-11-23 Uros Bizjak PR ta

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-28 Thread uros at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #16 from uros at gcc dot gnu.org --- Author: uros Date: Thu Nov 28 16:48:44 2013 New Revision: 205495 URL: http://gcc.gnu.org/viewcvs?rev=205495&root=gcc&view=rev Log: Backport from mainline 2013-11-23 Uros Bizjak PR ta

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-27 Thread uros at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #15 from uros at gcc dot gnu.org --- Author: uros Date: Wed Nov 27 18:07:22 2013 New Revision: 205458 URL: http://gcc.gnu.org/viewcvs?rev=205458&root=gcc&view=rev Log: PR target/56788 * gcc.target/i386/xop-frczX.c: New test.

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread uros at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #14 from uros at gcc dot gnu.org --- Author: uros Date: Sat Nov 23 13:24:19 2013 New Revision: 205306 URL: http://gcc.gnu.org/viewcvs?rev=205306&root=gcc&view=rev Log: PR target/56788 * config/i386/i386.c (bdesc_multi_arg) :

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 Uroš Bizjak changed: What|Removed |Added Target|x86_64-linux-gnu|x86 URL|

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #12 from Marc Glisse --- (In reply to Uroš Bizjak from comment #11) > I left the prototype the way it was. Makes sense to me. > Marc, since it looks you have access to XOP target (I don't have one), can > you please write an XOP test

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #11 from Uroš Bizjak --- (In reply to Marc Glisse from comment #10) > (In reply to Uroš Bizjak from comment #9) > > Arguably the LLVM intrinsic is more useful than the Microsoft one, but > that's a different issue that doesn't matter

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #10 from Marc Glisse --- (In reply to Uroš Bizjak from comment #9) > Patch that fixes _mm_frcz_{ss,sd} intrinsics Looks good (assuming the detailed description is more correct than the high-level one in AMD's doc), thank you. Arguabl

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 Uroš Bizjak changed: What|Removed |Added Attachment #31278|0 |1 is obsolete|

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #8 from Uroš Bizjak --- (In reply to Marc Glisse from comment #7) > Ah no, I was wrong, sorry about that: > > The VFRCZSS and VFRCZSD instructions extract the fractional portion of the > single-/double-precision scalar floating-point

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #7 from Marc Glisse --- Ah no, I was wrong, sorry about that: The VFRCZSS and VFRCZSD instructions extract the fractional portion of the single-/double-precision scalar floating-point value in an XMM register or 32- or 64-bit memory l

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #6 from Marc Glisse --- Uros, I can't seem to find the AMD documentation anymore (marketing has gotten hold of the website and tech info got hidden somewhere deep), but if I remember correctly, vfrczsd %xmm0, %xmm1 does: xmm0[0]=frcz(

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #5 from Uroš Bizjak --- (In reply to Marc Glisse from comment #1) > _mm_frcz_ss is inconsistent between compilers. Microsoft gives it 2 > arguments and movss-like semantics, whereas clang gives it a single > argument. AMD doesn't docum

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |4.7.4 --- Comment #4 from Uroš Bizjak ---

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-11-23 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-06-27 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 Marc Glisse changed: What|Removed |Added CC||dwarak.rajagopal at amd dot com,

[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument

2013-03-30 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788 --- Comment #1 from Marc Glisse 2013-03-30 20:42:51 UTC --- _mm_frcz_ss is inconsistent between compilers. Microsoft gives it 2 arguments and movss-like semantics, whereas clang gives it a single argument. AMD doesn't document intrinsics,