https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61249

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Michael Tautschnig from comment #0)
> Looking at https://gcc.gnu.org/onlinedocs/gcc/X86-Built-in-Functions.html on
> the one hand and AMD's "AMD64 Architecture Programmer’s Manual
> Volume 6: 128-Bit and 256-Bit XOP and FMA4 Instructions" on the other hand,
> vfrczss/vfrczsd require a second argument to specify the destination.
> 
> 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
implementation details, published interface is in relevant *.h files.

> This was detected at language level (inconsistent types), I can only
> speculate that this may cause invalid code to be generated (or null
> operands).

Did you see the runtime tests in the referred commit?

Reply via email to