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

            Bug ID: 115478
           Summary: [15 Regression] gcc.target/aarch64/bitint-args.c fails
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: carlos.seo at linaro dot org
  Target Milestone: ---

With patch 2277f987979445f4390a5c6e092d79e04814d641, the testcases
(check-function-bodies f65 | check-function-bodies f127) in
gcc.target/aarch64/bitint-args.c need to be adjusted.

body: \textr    (x[0-9]+), x3, x2, 1
\tand   (x[0-9]+), x2, 1
\torr   (x[0-9]+), \2, \1, lsl 1
\tasr   (x[0-9]+), \1, 63
\tstp   \3, \4, \[x0\]
\tret

against:        lsl     x3, x3, 63
        add     x3, x3, x2, lsr 1
        and     x2, x2, 1
        add     x2, x2, x3, lsl 1
        asr     x3, x3, 63
        stp     x2, x3, [x0]
        ret

FAIL: gcc.target/aarch64/bitint-args.c check-function-bodies f65

body: \textr    (x[0-9]+), x3, x2, 63
\tand   (x[0-9]+), x2, 9223372036854775807
\torr   (x[0-9]+), \2, \1, lsl 63
\tasr   (x[0-9]+), \1, 1
\tstp   \3, \4, \[x0\]
\tret

against:        lsl     x3, x3, 1
        add     x3, x3, x2, lsr 63
        and     x2, x2, 9223372036854775807
        add     x2, x2, x3, lsl 63
        asr     x3, x3, 1
        stp     x2, x3, [x0]
        ret

FAIL: gcc.target/aarch64/bitint-args.c check-function-bodies f127

Reply via email to