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

            Bug ID: 67895
           Summary: Wrong assembly: incorrect rounding/SAE specifier
                    position
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: assemble-failure, wrong-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: afomin.mailbox at gmail dot com
                CC: kyukhin at gcc dot gnu.org
  Target Milestone: ---
            Target: i?86-*-*, x86_64-*-*

Trying to assemble avx512dq-vrange*.c tests from gcc.target/i386 testsuite
using GNU as v2.25 or higher results in a number of errors like:

RC/SAE operand must follow immediate operands for `vrange*`.

Same thing happens for avx512f-vcvt?si2*.c tests (but error message is slightly
different):
operand type mismatch for `vcvt?si2*'.

The reason is that GCC emits an insn with rounding/SAE specifier in a wrong
place.

Reply via email to