|
52 | 52 | // CHECK-NOT: __riscv_xtheadsync {{.*$}}
|
53 | 53 | // CHECK-NOT: __riscv_xtheadvdot {{.*$}}
|
54 | 54 | // CHECK-NOT: __riscv_xventanacondops {{.*$}}
|
| 55 | +// CHECK-NOT: __riscv_za128rs {{.*$}} |
| 56 | +// CHECK-NOT: __riscv_za64rs {{.*$}} |
55 | 57 | // CHECK-NOT: __riscv_zawrs {{.*$}}
|
56 | 58 | // CHECK-NOT: __riscv_zba {{.*$}}
|
57 | 59 | // CHECK-NOT: __riscv_zbb {{.*$}}
|
|
73 | 75 | // CHECK-NOT: __riscv_zfinx {{.*$}}
|
74 | 76 | // CHECK-NOT: __riscv_zhinx {{.*$}}
|
75 | 77 | // CHECK-NOT: __riscv_zhinxmin {{.*$}}
|
| 78 | +// CHECK-NOT: __riscv_zic64b {{.*$}} |
76 | 79 | // CHECK-NOT: __riscv_zicbom {{.*$}}
|
77 | 80 | // CHECK-NOT: __riscv_zicbop {{.*$}}
|
78 | 81 | // CHECK-NOT: __riscv_zicboz {{.*$}}
|
| 82 | +// CHECK-NOT: __riscv_ziccamoa {{.*$}} |
| 83 | +// CHECK-NOT: __riscv_ziccif {{.*$}} |
| 84 | +// CHECK-NOT: __riscv_zicclsm {{.*$}} |
| 85 | +// CHECK-NOT: __riscv_ziccrse {{.*$}} |
79 | 86 | // CHECK-NOT: __riscv_zicntr {{.*$}}
|
80 | 87 | // CHECK-NOT: __riscv_zicsr {{.*$}}
|
81 | 88 | // CHECK-NOT: __riscv_zifencei {{.*$}}
|
|
473 | 480 | // RUN: -o - | FileCheck --check-prefix=CHECK-XVENTANACONDOPS-EXT %s
|
474 | 481 | // CHECK-XVENTANACONDOPS-EXT: __riscv_xventanacondops 1000000{{$}}
|
475 | 482 |
|
| 483 | +// RUN: %clang --target=riscv32-unknown-linux-gnu \ |
| 484 | +// RUN: -march=rv32iza128rs -x c -E -dM %s \ |
| 485 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZA128RS-EXT %s |
| 486 | +// RUN: %clang --target=riscv64-unknown-linux-gnu \ |
| 487 | +// RUN: -march=rv64iza128rs -x c -E -dM %s \ |
| 488 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZA128RS-EXT %s |
| 489 | +// CHECK-ZA128RS-EXT: __riscv_za128rs 1000000{{$}} |
| 490 | + |
| 491 | +// RUN: %clang --target=riscv32-unknown-linux-gnu \ |
| 492 | +// RUN: -march=rv32iza64rs -x c -E -dM %s \ |
| 493 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZA64RS-EXT %s |
| 494 | +// RUN: %clang --target=riscv64-unknown-linux-gnu \ |
| 495 | +// RUN: -march=rv64iza64rs -x c -E -dM %s \ |
| 496 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZA64RS-EXT %s |
| 497 | +// CHECK-ZA64RS-EXT: __riscv_za64rs 1000000{{$}} |
| 498 | + |
476 | 499 | // RUN: %clang --target=riscv32-unknown-linux-gnu \
|
477 | 500 | // RUN: -march=rv32izawrs -x c -E -dM %s \
|
478 | 501 | // RUN: -o - | FileCheck --check-prefix=CHECK-ZAWRS-EXT %s
|
|
667 | 690 | // RUN: -o - | FileCheck --check-prefix=CHECK-ZHINXMIN-EXT %s
|
668 | 691 | // CHECK-ZHINXMIN-EXT: __riscv_zhinxmin 1000000{{$}}
|
669 | 692 |
|
| 693 | +// RUN: %clang --target=riscv32-unknown-linux-gnu \ |
| 694 | +// RUN: -march=rv32izic64b -x c -E -dM %s \ |
| 695 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZIC64B-EXT %s |
| 696 | +// RUN: %clang --target=riscv64-unknown-linux-gnu \ |
| 697 | +// RUN: -march=rv64izic64b -x c -E -dM %s \ |
| 698 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZIC64B-EXT %s |
| 699 | +// CHECK-ZIC64B-EXT: __riscv_zic64b 1000000{{$}} |
| 700 | + |
670 | 701 | // RUN: %clang --target=riscv32-unknown-linux-gnu \
|
671 | 702 | // RUN: -march=rv32izicbom -x c -E -dM %s \
|
672 | 703 | // RUN: -o - | FileCheck --check-prefix=CHECK-ZICBOM-EXT %s
|
|
691 | 722 | // RUN: -o - | FileCheck --check-prefix=CHECK-ZICBOZ-EXT %s
|
692 | 723 | // CHECK-ZICBOZ-EXT: __riscv_zicboz 1000000{{$}}
|
693 | 724 |
|
| 725 | +// RUN: %clang --target=riscv32-unknown-linux-gnu \ |
| 726 | +// RUN: -march=rv32iziccamoa -x c -E -dM %s \ |
| 727 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZICCAMOA-EXT %s |
| 728 | +// RUN: %clang --target=riscv64-unknown-linux-gnu \ |
| 729 | +// RUN: -march=rv64iziccamoa -x c -E -dM %s \ |
| 730 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZICCAMOA-EXT %s |
| 731 | +// CHECK-ZICCAMOA-EXT: __riscv_ziccamoa 1000000{{$}} |
| 732 | + |
| 733 | +// RUN: %clang --target=riscv32-unknown-linux-gnu \ |
| 734 | +// RUN: -march=rv32iziccif -x c -E -dM %s \ |
| 735 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZICCIF-EXT %s |
| 736 | +// RUN: %clang --target=riscv64-unknown-linux-gnu \ |
| 737 | +// RUN: -march=rv64iziccif -x c -E -dM %s \ |
| 738 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZICCIF-EXT %s |
| 739 | +// CHECK-ZICCIF-EXT: __riscv_ziccif 1000000{{$}} |
| 740 | + |
| 741 | +// RUN: %clang --target=riscv32-unknown-linux-gnu \ |
| 742 | +// RUN: -march=rv32izicclsm -x c -E -dM %s \ |
| 743 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZICCLSM-EXT %s |
| 744 | +// RUN: %clang --target=riscv64-unknown-linux-gnu \ |
| 745 | +// RUN: -march=rv64izicclsm -x c -E -dM %s \ |
| 746 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZICCLSM-EXT %s |
| 747 | +// CHECK-ZICCLSM-EXT: __riscv_zicclsm 1000000{{$}} |
| 748 | + |
| 749 | +// RUN: %clang --target=riscv32-unknown-linux-gnu \ |
| 750 | +// RUN: -march=rv32iziccrse -x c -E -dM %s \ |
| 751 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZICCRSE-EXT %s |
| 752 | +// RUN: %clang --target=riscv64-unknown-linux-gnu \ |
| 753 | +// RUN: -march=rv64iziccrse -x c -E -dM %s \ |
| 754 | +// RUN: -o - | FileCheck --check-prefix=CHECK-ZICCRSE-EXT %s |
| 755 | +// CHECK-ZICCRSE-EXT: __riscv_ziccrse 1000000{{$}} |
| 756 | + |
694 | 757 | // RUN: %clang --target=riscv32-unknown-linux-gnu \
|
695 | 758 | // RUN: -march=rv32izicntr -x c -E -dM %s \
|
696 | 759 | // RUN: -o - | FileCheck --check-prefix=CHECK-ZICNTR-EXT %s
|
|
0 commit comments