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]

ping: latch mem to reg before multi-access in convert_move


Hello,

Ping for http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00298.html

Thanks in advance,

Olivier

On Apr 5, 2012, at 17:30 , Olivier Hainque wrote:
...
> The original problem we had with this was the introduction of an
> artificial race condition in addition to the potential performance
> impact.
> 
> We had fixed this with the attached patch, which simply forces "from"
> into a REG if it is a MEM, in addition to the current condition.
> While our original testcases don't expose the problem with current
> versions of the compiler, the issue appears to remain latent and the
> change still looks sensible in any case.
...
>        * expr.c (convert_move): Latch mem integer inputs into a
>        register before expanding a multi-instructions sequence.


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