This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61249] _mm_frcz_ss, _mm_frcz_sd: __builtin_ia32_vfrczss, __builtin_ia32_vfrczsd require 2 arguments
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 May 2014 15:40:42 +0000
- Subject: [Bug target/61249] _mm_frcz_ss, _mm_frcz_sd: __builtin_ia32_vfrczss, __builtin_ia32_vfrczsd require 2 arguments
- Auto-submitted: auto-generated
- References: <bug-61249-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61249
--- Comment #3 from UroÅ Bizjak <ubizjak at gmail dot com> ---
(In reply to Michael Tautschnig from comment #2)
> Thanks a lot for your quick reply.
>
> > > Yet r205495 changed _mm_frcz_ss/_mm_frcz_sd so that only a single argument
> > > is passed to the __builtin_ia32_vfrczss/vfrczsd calls.
>
> > You should not use __builtin_* function directly. They are internal
> Just re-ran those tests and looking at the generated assembly (should have
> done that before, my apologies) it seems that two operands are generated:
>
> vfrczsd %xmm1, %xmm0
>
> and
>
> vfrczss %xmm1, %xmm1
>
> So shall I read this as an imprecision in documentation?
I'm not sure which part of the documentation are you referring to. Can you
please post the patch that fixes that part?