|
365 | 365 | // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZFHMIN %s |
366 | 366 | // RV32-ZFHMIN: "-target-feature" "+zfhmin" |
367 | 367 |
|
368 | | -// RUN: not %clang --target=riscv32-unknown-elf -march=rv32iztso -### %s \ |
| 368 | +// RUN: not %clang --target=riscv32-unknown-elf -march=rv32izalasr -### %s \ |
369 | 369 | // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-EXPERIMENTAL-NOFLAG %s |
370 | | -// RV32-EXPERIMENTAL-NOFLAG: error: invalid arch name 'rv32iztso' |
| 370 | +// RV32-EXPERIMENTAL-NOFLAG: error: invalid arch name 'rv32izalasr' |
371 | 371 | // RV32-EXPERIMENTAL-NOFLAG: requires '-menable-experimental-extensions' |
372 | 372 |
|
373 | | -// RUN: not %clang --target=riscv32-unknown-elf -march=rv32iztso -menable-experimental-extensions -### %s \ |
| 373 | +// RUN: not %clang --target=riscv32-unknown-elf -march=rv32izalasr -menable-experimental-extensions -### %s \ |
374 | 374 | // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-EXPERIMENTAL-NOVERS %s |
375 | | -// RV32-EXPERIMENTAL-NOVERS: error: invalid arch name 'rv32iztso' |
| 375 | +// RV32-EXPERIMENTAL-NOVERS: error: invalid arch name 'rv32izalasr' |
376 | 376 | // RV32-EXPERIMENTAL-NOVERS: experimental extension requires explicit version number |
377 | 377 |
|
378 | | -// RUN: not %clang --target=riscv32-unknown-elf -march=rv32iztso0p7 -menable-experimental-extensions -### %s \ |
| 378 | +// RUN: not %clang --target=riscv32-unknown-elf -march=rv32izalasr0p7 -menable-experimental-extensions -### %s \ |
379 | 379 | // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-EXPERIMENTAL-BADVERS %s |
380 | | -// RV32-EXPERIMENTAL-BADVERS: error: invalid arch name 'rv32iztso0p7' |
381 | | -// RV32-EXPERIMENTAL-BADVERS: unsupported version number 0.7 for experimental extension 'ztso' (this compiler supports 0.1) |
| 380 | +// RV32-EXPERIMENTAL-BADVERS: error: invalid arch name 'rv32izalasr0p7' |
| 381 | +// RV32-EXPERIMENTAL-BADVERS: unsupported version number 0.7 for experimental extension 'zalasr' (this compiler supports 0.1) |
382 | 382 |
|
383 | | -// RUN: %clang --target=riscv32-unknown-elf -march=rv32iztso0p1 -menable-experimental-extensions -### %s \ |
| 383 | +// RUN: %clang --target=riscv32-unknown-elf -march=rv32izalasr0p1 -menable-experimental-extensions -### %s \ |
384 | 384 | // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-EXPERIMENTAL-GOODVERS %s |
385 | | -// RV32-EXPERIMENTAL-GOODVERS: "-target-feature" "+experimental-ztso" |
| 385 | +// RV32-EXPERIMENTAL-GOODVERS: "-target-feature" "+experimental-zalasr" |
| 386 | + |
| 387 | +// RUN: %clang --target=riscv32-unknown-elf -march=rv32iztso1p0 -### %s \ |
| 388 | +// RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZTSO %s |
| 389 | +// RUN: %clang --target=riscv32-unknown-elf -march=rv32iztso -### %s \ |
| 390 | +// RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZTSO %s |
| 391 | +// RV32-ZTSO: "-target-feature" "+ztso" |
386 | 392 |
|
387 | 393 | // RUN: %clang --target=riscv32-unknown-elf -march=rv32izbb1p0 -### %s \ |
388 | 394 | // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZBB %s |
|
0 commit comments