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

            Bug ID: 66075
           Summary: [6.0 regression] FAIL: gcc.target/aarch64/adds1.c
                    scan-assembler adds\tw[0-9]+, w[0-9]+, w[0-9]+, lsl 3
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sch...@linux-m68k.org
                CC: naveenh at gcc dot gnu.org, vekumar at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64-*-*

FAIL: gcc.target/aarch64/adds1.c scan-assembler adds\tw[0-9]+, w[0-9]+,
w[0-9]+, lsl 3
FAIL: gcc.target/aarch64/adds1.c scan-assembler adds\tx[0-9]+, x[0-9]+,
x[0-9]+, lsl 3

--- gcc-20150507/Build/adds1.s  2015-05-08 18:01:52.723445982 +0200
+++ gcc-20150508/Build/adds1.s  2015-05-08 18:01:41.383829842 +0200
@@ -30,8 +30,8 @@
        .global adds_si_test3
        .type   adds_si_test3, %function
 adds_si_test3:
-       adds    w3, w0, w1, lsl 3
-       beq     .L13
+       add     w3, w0, w1, lsl 3
+       cbz     w3, .L13
        add     w0, w1, w3
 .L13:
        add     w0, w0, w2
@@ -66,8 +66,8 @@
        .global adds_di_test3
        .type   adds_di_test3, %function
 adds_di_test3:
-       adds    x3, x0, x1, lsl 3
-       beq     .L25
+       add     x3, x0, x1, lsl 3
+       cbz     x3, .L25
        add     x0, x1, x3
 .L25:
        add     x0, x0, x2
@@ -209,5 +209,5 @@
 .L28:
        bl      abort
        .size   main, .-main
-       .ident  "GCC: (GNU) 6.0.0 20150507 (experimental)"
+       .ident  "GCC: (GNU) 6.0.0 20150508 (experimental)"
        .section        .note.GNU-stack,"",%progbits

fabf26080cb4cc3fecd30d409ec9c63f0ec42eff is the first bad commit
commit fabf26080cb4cc3fecd30d409ec9c63f0ec42eff
Author: vekumar <vekumar@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu May 7 10:47:54 2015 +0000

    2015-05-07  Venkataramanan Kumar  <venkataramanan.ku...@amd.com>

            * combine.c (make_compound_operation): Remove checks for PLUS/MINUS
            rtx type.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222874
138bc75d-0d04-0410-961f-82ee72b054a4

Reply via email to