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

            Bug ID: 115123
           Summary: [15 Regression] RISCV vector scan-assembler failures
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: patrick at rivosinc dot com
  Target Milestone: ---

Postcommit issue: https://github.com/patrick-rivos/gcc-postcommit-ci/issues/937
Commit range:
https://github.com/gcc-mirror/gcc/compare/43fb827f259e6fdea39bc4021950c810be769d58...1a05332bbac98a4c002bef3fb45a3ad9d56b3a71

These look like they might be brittle testcases that need to be changed.

pr114352-3.c: https://godbolt.org/z/KrGMqboMo 

FAIL: gcc.target/riscv/rvv/base/pr114352-3.c check-function-bodies test_1
FAIL: gcc.target/riscv/rvv/base/pr114352-3.c check-function-bodies test_4
FAIL: gcc.target/riscv/rvv/vsetvl/avl_multiple-7.c   -O2   scan-assembler
add\\s+\\s*[a-x0-9]+,\\s*[a-x0-9]+,\\s*[a-x0-9]+\\s+ble\\s+[a-x0-9]+,\\s*zero,\\.L[0-9]+\\s+vsetvli\\s+zero,\\s*[a-x0-9]+,\\s*e8,\\s*mf8,\\s*t[au],\\s*m[au]
FAIL: gcc.target/riscv/rvv/vsetvl/avl_multiple-7.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler
add\\s+\\s*[a-x0-9]+,\\s*[a-x0-9]+,\\s*[a-x0-9]+\\s+ble\\s+[a-x0-9]+,\\s*zero,\\.L[0-9]+\\s+vsetvli\\s+zero,\\s*[a-x0-9]+,\\s*e8,\\s*mf8,\\s*t[au],\\s*m[au]
FAIL: gcc.target/riscv/rvv/vsetvl/avl_multiple-7.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler
add\\s+\\s*[a-x0-9]+,\\s*[a-x0-9]+,\\s*[a-x0-9]+\\s+ble\\s+[a-x0-9]+,\\s*zero,\\.L[0-9]+\\s+vsetvli\\s+zero,\\s*[a-x0-9]+,\\s*e8,\\s*mf8,\\s*t[au],\\s*m[au]
FAIL: gcc.target/riscv/rvv/vsetvl/avl_multiple-8.c   -O2   scan-assembler
add\\s+\\s*[a-x0-9]+,\\s*[a-x0-9]+,\\s*[a-x0-9]+\\s+ble\\s+[a-x0-9]+,\\s*zero,\\.L[0-9]+\\s+vsetvli\\s+zero,\\s*[a-x0-9]+,\\s*e8,\\s*mf8,\\s*t[au],\\s*m[au]
FAIL: gcc.target/riscv/rvv/vsetvl/avl_multiple-8.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler
add\\s+\\s*[a-x0-9]+,\\s*[a-x0-9]+,\\s*[a-x0-9]+\\s+ble\\s+[a-x0-9]+,\\s*zero,\\.L[0-9]+\\s+vsetvli\\s+zero,\\s*[a-x0-9]+,\\s*e8,\\s*mf8,\\s*t[au],\\s*m[au]
FAIL: gcc.target/riscv/rvv/vsetvl/avl_multiple-8.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler
add\\s+\\s*[a-x0-9]+,\\s*[a-x0-9]+,\\s*[a-x0-9]+\\s+ble\\s+[a-x0-9]+,\\s*zero,\\.L[0-9]+\\s+vsetvli\\s+zero,\\s*[a-x0-9]+,\\s*e8,\\s*mf8,\\s*t[au],\\s*m[au]
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-66.c   -O2   scan-assembler-times
add\\s+\\s*[a-x0-9]+,\\s*[a-x0-9]+,\\s*[a-x0-9]+\\s+ble\\s+[a-x0-9]+,\\s*zero,\\.L[0-9]+\\s+
1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-66.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-times
add\\s+\\s*[a-x0-9]+,\\s*[a-x0-9]+,\\s*[a-x0-9]+\\s+ble\\s+[a-x0-9]+,\\s*zero,\\.L[0-9]+\\s+
1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-66.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-times
add\\s+\\s*[a-x0-9]+,\\s*[a-x0-9]+,\\s*[a-x0-9]+\\s+ble\\s+[a-x0-9]+,\\s*zero,\\.L[0-9]+\\s+
1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-82.c   -O2   scan-assembler-times
vsetivli 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-82.c   -O2   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-82.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-times vsetivli 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-82.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-82.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-times vsetivli 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-82.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-83.c   -O2   scan-assembler-times
vsetivli 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-83.c   -O2   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-83.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-times vsetivli 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-83.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-83.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-times vsetivli 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-83.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-86.c   -O2   scan-assembler-not
vsetivli
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-86.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-not vsetivli
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-86.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-not vsetivli
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-88.c   -O2   scan-assembler-not
vsetivli
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-88.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-not vsetivli
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-88.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-not vsetivli
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-90.c   -O2   scan-assembler-not
vsetivli
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-90.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-not vsetivli
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-90.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-not vsetivli
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-91.c   -O2   scan-assembler-times
vsetivli 2
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-91.c   -O2   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-91.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-times vsetivli 2
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-91.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-91.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-times vsetivli 2
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-91.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 1
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-92.c   -O2   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 2
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-92.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 2
FAIL: gcc.target/riscv/rvv/vsetvl/avl_single-92.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects   scan-assembler-times
vsetvli\\s+[a-x0-9]+,\\s*zero,\\s*e32,\\s*mf2,\\s*t[au],\\s*m[au] 2

Reply via email to