public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/59289] New: [ARM] regression on unsigned-extend-2.c
@ 2013-11-25 16:07 christophe.lyon at st dot com
  2013-11-26  9:10 ` [Bug target/59289] [4.9 Regression][ARM] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: christophe.lyon at st dot com @ 2013-11-25 16:07 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59289

            Bug ID: 59289
           Summary: [ARM] regression on unsigned-extend-2.c
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: christophe.lyon at st dot com

Since commit 203160 (New rtx costs infrastructure for ARM), I have noticed that
gcc.target/arm/unsigned-extend-2.c scan-assembler ands
gcc.target/arm/unsigned-extend-2.c scan-assembler-not cmp
now FAIL (used to PASS).

I have configured GCC as:
target: arm-none-linux-gnueabihf
mode: thumb
cpu: cortex-a15
fpu: neon-vfpv4

With r203159:
    movs    r3, #8
.L3:
    lsrs    r0, r0, #1
    subs    r3, r3, #1
    ands    r3, r3, #255
    bne    .L3
    bx    lr

with r203160:
    movs    r3, #0
.L3:
    lsrs    r0, r0, #1
    adds    r3, r3, #1
    cmp    r3, #8
    bne    .L3
    bx    lr

It seems that code gen has slightly evolved in trunk since r203160, but the
test still fails.

The code sequence does not seem really worse than the original one, but the
testcase should at least be updated.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-29 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25 16:07 [Bug target/59289] New: [ARM] regression on unsigned-extend-2.c christophe.lyon at st dot com
2013-11-26  9:10 ` [Bug target/59289] [4.9 Regression][ARM] " rguenth at gcc dot gnu.org
2013-11-27  9:57 ` [Bug target/59289] [ARM] " ktkachov at gcc dot gnu.org
2013-11-29 15:19 ` ktkachov at gcc dot gnu.org
2013-11-29 15:20 ` ktkachov at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).