Hi, I just realized this patch introduces some new regressions.
Sorry, I must have mixed up something in testing. Will update this patch shortly. Sebastian > -----Original Message----- > From: Peryt, Sebastian > Sent: Friday, April 20, 2018 6:38 PM > To: gcc-patches@gcc.gnu.org > Cc: Uros Bizjak <ubiz...@gmail.com>; Kirill Yukhin <kirill.yuk...@gmail.com>; > H.J. Lu <hjl.to...@gmail.com>; Peryt, Sebastian <sebastian.pe...@intel.com> > Subject: [PATCH][i386] PR target/85473, Fix _movdir64b expansion with -mx32 > > 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 >