This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, i386] false dependencies fix
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: alexander dot nesterovskiy at intel dot com
- Date: Thu, 3 May 2018 11:00:24 +0200
- Subject: Re: [patch, i386] false dependencies fix
> This patch fixes false dependencies for vmovss, vmovsd, vrcpss, vrsqrtss, vsqrtss and vsqrtsd
> instructions.
>
> Tested on x86-64/Linux, no new test fails, some SPEC 2006/2017 performance gains.
> Please let me know if something is wrong here and should be changed.
Your submission needs a ChangeLog entry. Please see [1]
case MODE_DF:
if (TARGET_AVX && REG_P (operands[0]) && REG_P (operands[1]))
- return "vmovsd\t{%1, %0, %0|%0, %0, %1}";
+ return "%vmovsd\t{%d1, %0|%0, %d1}";
return "%vmovsd\t{%1, %0|%0, %1}";
No need to change "v" to "%v". We are always in AVX domain here.
Otherwise OK. Please resubmit the patch with the ChangeLog entry.
[1] https://gcc.gnu.org/contribute.html
Thanks,
Uros.