This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch i386]: Fix PR/60193
- 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: Kai Tietz <ktietz70 at googlemail dot com>, Eric Botcazou <ebotcazou at adacore dot com>
- Date: Fri, 14 Feb 2014 13:55:30 +0100
- Subject: Re: [patch i386]: Fix PR/60193
- Authentication-results: sourceware.org; auth=none
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.