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 i386]: Fix PR/60193


Hello!

> 2014-02-14  Kai Tietz  <ktietz@redhat.com>
>
>     PR target/60193
>     * config/i386/i386.c (ix86_expand_prologue): Use
>     rax register as displacement for restoring %r10, %eax.
>
> Regression-tested for x86_64-unknown-linux-gnu, and
> x86_64-w64-mingw32, and i686-w64-mingw32.  Ok for apply?

No, you should check allocate to satisfy x86_64_immediate_operand and
put it into a temporary register if not. There is no need to always
force constant into a temporary.

Uros.


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