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/70566] [4.9/5/6 Regression] Bad ARM code generated for evaluating unsigned int bitfield value


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

--- Comment #10 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Apr  8 09:39:44 2016
New Revision: 234825

URL: https://gcc.gnu.org/viewcvs?rev=234825&root=gcc&view=rev
Log:
[ARM] PR target/70566 Check that condition register is dead in tst-imm ->
lsls-imm Thumb2 peepholes

        PR target/70566
        * config/arm/thumb2.md (tst + branch-> lsls + branch
        peephole below *orsi_not_shiftsi_si): Require that condition
        register is dead after the peephole.
        (second peephole after the above): Likewise.

        * gcc.c-torture/execute/pr70566.c: New test.


Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr70566.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/thumb2.md
    trunk/gcc/testsuite/ChangeLog

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