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/71061] [ARM] is not setting instruction length for pop* patterns


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

--- Comment #1 from Jiong Wang <jiwang at gcc dot gnu.org> ---
Author: jiwang
Date: Sat Jun 11 20:42:26 2016
New Revision: 237331

URL: https://gcc.gnu.org/viewcvs?rev=237331&root=gcc&view=rev
Log:
[ARM] length pop* pattern in epilogue correctly

        PR target/71061
        * config/arm/arm-protos.h (arm_attr_length_pop_multi): New declaration.
        * config/arm/arm.c (arm_attr_length_pop_multi): New function to return
        length for pop patterns.
        (arm_attr_length_push_multi): Update comments.
        * config/arm/arm.md (*load_multiple_with_writeback): Set "length"
        attribute.
        (*pop_multiple_with_writeback_and_return): Likewise.
        (*pop_multiple_with_return): Likewise.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm-protos.h
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/arm/arm.md

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