File tree Expand file tree Collapse file tree 8 files changed +7
-41
lines changed
clang/test/Driver/print-enabled-extensions
test/tools/llvm-mca/RISCV/Andes45 Expand file tree Collapse file tree 8 files changed +7
-41
lines changed Original file line number Diff line number Diff line change 10
10
// CHECK-NEXT: f 2.2 'F' (Single-Precision Floating-Point)
11
11
// CHECK-NEXT: d 2.2 'D' (Double-Precision Floating-Point)
12
12
// CHECK-NEXT: c 2.0 'C' (Compressed Instructions)
13
- // CHECK-NEXT: b 1.0 'B' (the collection of the Zba, Zbb, Zbs extensions)
14
13
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
15
14
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
16
15
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
19
18
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
20
19
// CHECK-NEXT: zcd 1.0 'Zcd' (Compressed Double-Precision Floating-Point Instructions)
21
20
// CHECK-NEXT: zcf 1.0 'Zcf' (Compressed Single-Precision Floating-Point Instructions)
22
- // CHECK-NEXT: zba 1.0 'Zba' (Address Generation Instructions)
23
- // CHECK-NEXT: zbb 1.0 'Zbb' (Basic Bit-Manipulation)
24
- // CHECK-NEXT: zbc 1.0 'Zbc' (Carry-Less Multiplication)
25
- // CHECK-NEXT: zbs 1.0 'Zbs' (Single-Bit Instructions)
26
21
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
27
22
// CHECK-EMPTY:
28
23
// CHECK-NEXT: Experimental extensions
29
24
// CHECK-EMPTY:
30
- // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_zba1p0_zbb1p0_zbc1p0_zbs1p0_xandesperf5p0
25
+ // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_xandesperf5p0
Original file line number Diff line number Diff line change 10
10
// CHECK-NEXT: f 2.2 'F' (Single-Precision Floating-Point)
11
11
// CHECK-NEXT: d 2.2 'D' (Double-Precision Floating-Point)
12
12
// CHECK-NEXT: c 2.0 'C' (Compressed Instructions)
13
- // CHECK-NEXT: b 1.0 'B' (the collection of the Zba, Zbb, Zbs extensions)
14
13
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
15
14
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
16
15
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
19
18
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
20
19
// CHECK-NEXT: zcd 1.0 'Zcd' (Compressed Double-Precision Floating-Point Instructions)
21
20
// CHECK-NEXT: zcf 1.0 'Zcf' (Compressed Single-Precision Floating-Point Instructions)
22
- // CHECK-NEXT: zba 1.0 'Zba' (Address Generation Instructions)
23
- // CHECK-NEXT: zbb 1.0 'Zbb' (Basic Bit-Manipulation)
24
- // CHECK-NEXT: zbs 1.0 'Zbs' (Single-Bit Instructions)
25
21
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
26
22
// CHECK-EMPTY:
27
23
// CHECK-NEXT: Experimental extensions
28
24
// CHECK-EMPTY:
29
- // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_zba1p0_zbb1p0_zbs1p0_xandesperf5p0
25
+ // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_xandesperf5p0
Original file line number Diff line number Diff line change 10
10
// CHECK-NEXT: f 2.2 'F' (Single-Precision Floating-Point)
11
11
// CHECK-NEXT: d 2.2 'D' (Double-Precision Floating-Point)
12
12
// CHECK-NEXT: c 2.0 'C' (Compressed Instructions)
13
- // CHECK-NEXT: b 1.0 'B' (the collection of the Zba, Zbb, Zbs extensions)
14
13
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
15
14
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
16
15
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
17
16
// CHECK-NEXT: zaamo 1.0 'Zaamo' (Atomic Memory Operations)
18
17
// CHECK-NEXT: zalrsc 1.0 'Zalrsc' (Load-Reserved/Store-Conditional)
19
18
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
20
19
// CHECK-NEXT: zcd 1.0 'Zcd' (Compressed Double-Precision Floating-Point Instructions)
21
- // CHECK-NEXT: zba 1.0 'Zba' (Address Generation Instructions)
22
- // CHECK-NEXT: zbb 1.0 'Zbb' (Basic Bit-Manipulation)
23
- // CHECK-NEXT: zbc 1.0 'Zbc' (Carry-Less Multiplication)
24
- // CHECK-NEXT: zbs 1.0 'Zbs' (Single-Bit Instructions)
25
20
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
26
21
// CHECK-EMPTY:
27
22
// CHECK-NEXT: Experimental extensions
28
23
// CHECK-EMPTY:
29
- // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zba1p0_zbb1p0_zbc1p0_zbs1p0_xandesperf5p0
24
+ // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_xandesperf5p0
Original file line number Diff line number Diff line change 10
10
// CHECK-NEXT: f 2.2 'F' (Single-Precision Floating-Point)
11
11
// CHECK-NEXT: d 2.2 'D' (Double-Precision Floating-Point)
12
12
// CHECK-NEXT: c 2.0 'C' (Compressed Instructions)
13
- // CHECK-NEXT: b 1.0 'B' (the collection of the Zba, Zbb, Zbs extensions)
14
13
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
15
14
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
16
15
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
17
16
// CHECK-NEXT: zaamo 1.0 'Zaamo' (Atomic Memory Operations)
18
17
// CHECK-NEXT: zalrsc 1.0 'Zalrsc' (Load-Reserved/Store-Conditional)
19
18
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
20
19
// CHECK-NEXT: zcd 1.0 'Zcd' (Compressed Double-Precision Floating-Point Instructions)
21
- // CHECK-NEXT: zba 1.0 'Zba' (Address Generation Instructions)
22
- // CHECK-NEXT: zbb 1.0 'Zbb' (Basic Bit-Manipulation)
23
- // CHECK-NEXT: zbs 1.0 'Zbs' (Single-Bit Instructions)
24
20
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
25
21
// CHECK-EMPTY:
26
22
// CHECK-NEXT: Experimental extensions
27
23
// CHECK-EMPTY:
28
- // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zba1p0_zbb1p0_zbs1p0_xandesperf5p0
24
+ // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_xandesperf5p0
Original file line number Diff line number Diff line change 10
10
// CHECK-NEXT: f 2.2 'F' (Single-Precision Floating-Point)
11
11
// CHECK-NEXT: d 2.2 'D' (Double-Precision Floating-Point)
12
12
// CHECK-NEXT: c 2.0 'C' (Compressed Instructions)
13
- // CHECK-NEXT: b 1.0 'B' (the collection of the Zba, Zbb, Zbs extensions)
14
13
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
15
14
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
16
15
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
19
18
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
20
19
// CHECK-NEXT: zcd 1.0 'Zcd' (Compressed Double-Precision Floating-Point Instructions)
21
20
// CHECK-NEXT: zcf 1.0 'Zcf' (Compressed Single-Precision Floating-Point Instructions)
22
- // CHECK-NEXT: zba 1.0 'Zba' (Address Generation Instructions)
23
- // CHECK-NEXT: zbb 1.0 'Zbb' (Basic Bit-Manipulation)
24
- // CHECK-NEXT: zbs 1.0 'Zbs' (Single-Bit Instructions)
25
21
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
26
22
// CHECK-EMPTY:
27
23
// CHECK-NEXT: Experimental extensions
28
24
// CHECK-EMPTY:
29
- // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_zba1p0_zbb1p0_zbs1p0_xandesperf5p0
25
+ // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_xandesperf5p0
Original file line number Diff line number Diff line change 10
10
// CHECK-NEXT: f 2.2 'F' (Single-Precision Floating-Point)
11
11
// CHECK-NEXT: d 2.2 'D' (Double-Precision Floating-Point)
12
12
// CHECK-NEXT: c 2.0 'C' (Compressed Instructions)
13
- // CHECK-NEXT: b 1.0 'B' (the collection of the Zba, Zbb, Zbs extensions)
14
13
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
15
14
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
16
15
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
17
16
// CHECK-NEXT: zaamo 1.0 'Zaamo' (Atomic Memory Operations)
18
17
// CHECK-NEXT: zalrsc 1.0 'Zalrsc' (Load-Reserved/Store-Conditional)
19
18
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
20
19
// CHECK-NEXT: zcd 1.0 'Zcd' (Compressed Double-Precision Floating-Point Instructions)
21
- // CHECK-NEXT: zba 1.0 'Zba' (Address Generation Instructions)
22
- // CHECK-NEXT: zbb 1.0 'Zbb' (Basic Bit-Manipulation)
23
- // CHECK-NEXT: zbs 1.0 'Zbs' (Single-Bit Instructions)
24
20
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
25
21
// CHECK-EMPTY:
26
22
// CHECK-NEXT: Experimental extensions
27
23
// CHECK-EMPTY:
28
- // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zba1p0_zbb1p0_zbs1p0_xandesperf5p0
24
+ // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_xandesperf5p0
Original file line number Diff line number Diff line change @@ -703,8 +703,6 @@ def ANDES_A25 : RISCVProcessorModel<"andes-a25",
703
703
FeatureStdExtF,
704
704
FeatureStdExtD,
705
705
FeatureStdExtC,
706
- FeatureStdExtB,
707
- FeatureStdExtZbc,
708
706
FeatureVendorXAndesPerf]>;
709
707
710
708
def ANDES_AX25 : RISCVProcessorModel<"andes-ax25",
@@ -718,8 +716,6 @@ def ANDES_AX25 : RISCVProcessorModel<"andes-ax25",
718
716
FeatureStdExtF,
719
717
FeatureStdExtD,
720
718
FeatureStdExtC,
721
- FeatureStdExtB,
722
- FeatureStdExtZbc,
723
719
FeatureVendorXAndesPerf]>;
724
720
725
721
defvar Andes45TuneFeatures = [TuneAndes45,
@@ -741,7 +737,6 @@ def ANDES_N45 : RISCVProcessorModel<"andes-n45",
741
737
FeatureStdExtF,
742
738
FeatureStdExtD,
743
739
FeatureStdExtC,
744
- FeatureStdExtB,
745
740
FeatureVendorXAndesPerf],
746
741
Andes45TuneFeatures>;
747
742
@@ -756,7 +751,6 @@ def ANDES_NX45 : RISCVProcessorModel<"andes-nx45",
756
751
FeatureStdExtF,
757
752
FeatureStdExtD,
758
753
FeatureStdExtC,
759
- FeatureStdExtB,
760
754
FeatureVendorXAndesPerf],
761
755
Andes45TuneFeatures>;
762
756
@@ -771,7 +765,6 @@ def ANDES_A45 : RISCVProcessorModel<"andes-a45",
771
765
FeatureStdExtF,
772
766
FeatureStdExtD,
773
767
FeatureStdExtC,
774
- FeatureStdExtB,
775
768
FeatureVendorXAndesPerf],
776
769
Andes45TuneFeatures>;
777
770
@@ -786,6 +779,5 @@ def ANDES_AX45 : RISCVProcessorModel<"andes-ax45",
786
779
FeatureStdExtF,
787
780
FeatureStdExtD,
788
781
FeatureStdExtC,
789
- FeatureStdExtB,
790
782
FeatureVendorXAndesPerf],
791
783
Andes45TuneFeatures>;
Original file line number Diff line number Diff line change 1
1
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2
- # RUN: llvm-mca -mtriple=riscv64 -mcpu=andes-nx45 -mattr=+zbc -timeline -iterations=1 < %s | FileCheck %s
2
+ # RUN: llvm-mca -mtriple=riscv64 -mcpu=andes-nx45 -mattr=+b,+ zbc -timeline -iterations=1 < %s | FileCheck %s
3
3
4
4
# Two ALUs without dependency can be dispatched in the same cycle.
5
5
add a0 , a0 , a0
You can’t perform that action at this time.
0 commit comments