This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, CHKP, i386, PR target/65167] Avoid motion of bounds args during scheduling


Hello!

> 2015-02-25  Ilya Enkovich  <ilya.enkovich@intel.com>
>
> PR target/65167
> * gcc/config/i386/i386.c (ix86_function_arg_regno_p): Support
> bounds registers.
> (avoid_func_arg_motion): Add dependencies for BNDSTX insns.
>
> gcc/testsuite/
>
> 2015-02-25  Ilya Enkovich  <ilya.enkovich@intel.com>
>
> PR target/65167
> * gcc.target/i386/pr65167.c: New.

OK for mainline with a small change below.

+  if (TARGET_MPX && BND_REGNO_P (regno))
+    return true;

The check for TARGET_MPX is not needed.

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]