Hi,

This fixes PR85473 by fixing _movdir64b expansion for -mx32.

Ok for trunk?

2018-04-20  Sebastian Peryt  <sebastian.pe...@intel.com>

gcc/ChangeLog:

        PR target/85473
        * config/i386/i386.c (ix86_expand_builtin): Change memory
        operand to XI, op0 extend to Pmode.
        * config/i386/i386.md: Change unspec volatile and operand 1
        mode to XI, change operand 0 mode to P

2018-04-20  Sebastian Peryt  <sebastian.pe...@intel.com>

gcc/testsuite/ChangeLog:

        PR target/85473
        * gcc.target/i386/pr85473-1.c: New test.
        * gcc.target/i386/pr85473-2.c: New test.

Sebastian


Attachment: fix-PR85473.patch
Description: fix-PR85473.patch

Reply via email to