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][AARCH64]Replace gen_rtx_PLUS with plus_constant


On Fri, Sep 20, 2013 at 03:40:59PM +0100, Renlin Li wrote:
> Thank you, can you please commit it for me?
> 
> Kind regards,
> Renlin Li
> 
> On 09/20/13 15:26, Marcus Shawcroft wrote:
> > On 20 September 2013 15:18, Renlin Li <renli.li@arm.com> wrote:
> >
> >> 2013-09-20  Renlin Li  <renlin.li@arm.com>
> >>
> >>      * config/aarch64/aarch64.c (aarch64_expand_prologue): Use plus_constant.
> >>      (aarch64_expand_epilogue): Likewise.
> >>      (aarch64_legitimize_reload_address): Likewise.
 
Hi Renlin,

This patch appears to have caused a number of regressions on
an aarch64-none-elf test run.

I see Internal Compiler Errors along these lines:

../src/gcc/gcc/testsuite/gcc.dg/vect/slp-multitypes-2.c: In function 'main1':
../src/gcc/gcc/testsuite/gcc.dg/vect/slp-multitypes-2.c:68:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 182 472 183 (set (reg:QI 2 x2 [277])
        (mem/c:QI (plus:DI (reg:DI 3 x3)
                (const_int 6264 [0x1878])) [0 b1+0 S1 A64])) ../src/gcc/gcc/testsuite/gcc.dg/vect/slp-multitypes-2.c:39 30 {*movqi_aarch64}
     (nil))
../src/gcc/gcc/testsuite/gcc.dg/vect/slp-multitypes-2.c:68:1: internal compiler error: in final_scan_insn, at final.c:2886
0x8b8135 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
        /work/gcc-clean/src/gcc/gcc/rtl-error.c:109
0x8b815f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /work/gcc-clean/src/gcc/gcc/rtl-error.c:120
0x6e1822 final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*)
        /work/gcc-clean/src/gcc/gcc/final.c:2886
0x6e1b01 final(rtx_def*, _IO_FILE*, int)
        /work/gcc-clean/src/gcc/gcc/final.c:2017
0x6e1d49 rest_of_handle_final
        /work/gcc-clean/src/gcc/gcc/final.c:4422
0x6e1d49 execute
        /work/gcc-clean/src/gcc/gcc/final.c:4497
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Thanks,
James


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