This is the mail archive of the gcc-bugs@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]

[Bug target/64015] [5.0 Regression] AArch64 ICE due to conditional compare


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64015

--- Comment #16 from Jiong Wang <jiwang at gcc dot gnu.org> ---
Author: jiwang
Date: Fri Jan 16 11:48:00 2015
New Revision: 219723

URL: https://gcc.gnu.org/viewcvs?rev=219723&root=gcc&view=rev
Log:
[AArch64] Enable CCMP support for AArch64, PR64015 resolved

gcc/
2015-01-16  Zhenqiang Chen  <zhenqiang.chen@arm.com>

    PR target/64015
    * ccmp.c (expand_ccmp_next): New function.
    (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
    and compare insn sequence.
    * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
    aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
    (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
    * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
    (*ccmp_ior): Changed to ccmp_ior<mode>.
    (cmp<mode>): New pattern.
    * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
    parameters.
    * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.

gcc/testsuite/
2015-01-16  Zhenqiang Chen <zhenqiang.chen@arm.com>

    * gcc.dg/pr64015.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/pr64015.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ccmp.c
    trunk/gcc/config/aarch64/aarch64.c
    trunk/gcc/config/aarch64/aarch64.md
    trunk/gcc/doc/tm.texi
    trunk/gcc/target.def
    trunk/gcc/testsuite/ChangeLog


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