File tree Expand file tree Collapse file tree 8 files changed +41
-7
lines changed
clang/test/Driver/print-enabled-extensions
test/tools/llvm-mca/RISCV/Andes45 Expand file tree Collapse file tree 8 files changed +41
-7
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)
13
14
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
14
15
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
15
16
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
18
19
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
19
20
// CHECK-NEXT: zcd 1.0 'Zcd' (Compressed Double-Precision Floating-Point Instructions)
20
21
// 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)
21
26
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
22
27
// CHECK-EMPTY:
23
28
// CHECK-NEXT: Experimental extensions
24
29
// CHECK-EMPTY:
25
- // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_xandesperf5p0
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
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)
13
14
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
14
15
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
15
16
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
18
19
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
19
20
// CHECK-NEXT: zcd 1.0 'Zcd' (Compressed Double-Precision Floating-Point Instructions)
20
21
// 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)
21
25
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
22
26
// CHECK-EMPTY:
23
27
// CHECK-NEXT: Experimental extensions
24
28
// CHECK-EMPTY:
25
- // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_xandesperf5p0
29
+ // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_zba1p0_zbb1p0_zbs1p0_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)
13
14
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
14
15
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
15
16
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
16
17
// CHECK-NEXT: zaamo 1.0 'Zaamo' (Atomic Memory Operations)
17
18
// CHECK-NEXT: zalrsc 1.0 'Zalrsc' (Load-Reserved/Store-Conditional)
18
19
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
19
20
// 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)
20
25
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
21
26
// CHECK-EMPTY:
22
27
// CHECK-NEXT: Experimental extensions
23
28
// CHECK-EMPTY:
24
- // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_xandesperf5p0
29
+ // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zba1p0_zbb1p0_zbc1p0_zbs1p0_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)
13
14
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
14
15
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
15
16
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
16
17
// CHECK-NEXT: zaamo 1.0 'Zaamo' (Atomic Memory Operations)
17
18
// CHECK-NEXT: zalrsc 1.0 'Zalrsc' (Load-Reserved/Store-Conditional)
18
19
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
19
20
// 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)
20
24
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
21
25
// CHECK-EMPTY:
22
26
// CHECK-NEXT: Experimental extensions
23
27
// CHECK-EMPTY:
24
- // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_xandesperf5p0
28
+ // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zba1p0_zbb1p0_zbs1p0_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)
13
14
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
14
15
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
15
16
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
18
19
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
19
20
// CHECK-NEXT: zcd 1.0 'Zcd' (Compressed Double-Precision Floating-Point Instructions)
20
21
// 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)
21
25
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
22
26
// CHECK-EMPTY:
23
27
// CHECK-NEXT: Experimental extensions
24
28
// CHECK-EMPTY:
25
- // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_xandesperf5p0
29
+ // CHECK-NEXT: ISA String: rv32i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zcf1p0_zba1p0_zbb1p0_zbs1p0_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)
13
14
// CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
14
15
// CHECK-NEXT: zifencei 2.0 'Zifencei' (fence.i)
15
16
// CHECK-NEXT: zmmul 1.0 'Zmmul' (Integer Multiplication)
16
17
// CHECK-NEXT: zaamo 1.0 'Zaamo' (Atomic Memory Operations)
17
18
// CHECK-NEXT: zalrsc 1.0 'Zalrsc' (Load-Reserved/Store-Conditional)
18
19
// CHECK-NEXT: zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores)
19
20
// 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)
20
24
// CHECK-NEXT: xandesperf 5.0 'XAndesPerf' (Andes Performance Extension)
21
25
// CHECK-EMPTY:
22
26
// CHECK-NEXT: Experimental extensions
23
27
// CHECK-EMPTY:
24
- // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_xandesperf5p0
28
+ // CHECK-NEXT: ISA String: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_b1p0_zicsr2p0_zifencei2p0_zmmul1p0_zaamo1p0_zalrsc1p0_zca1p0_zcd1p0_zba1p0_zbb1p0_zbs1p0_xandesperf5p0
Original file line number Diff line number Diff line change @@ -703,6 +703,8 @@ def ANDES_A25 : RISCVProcessorModel<"andes-a25",
703
703
FeatureStdExtF,
704
704
FeatureStdExtD,
705
705
FeatureStdExtC,
706
+ FeatureStdExtB,
707
+ FeatureStdExtZbc,
706
708
FeatureVendorXAndesPerf]>;
707
709
708
710
def ANDES_AX25 : RISCVProcessorModel<"andes-ax25",
@@ -716,6 +718,8 @@ def ANDES_AX25 : RISCVProcessorModel<"andes-ax25",
716
718
FeatureStdExtF,
717
719
FeatureStdExtD,
718
720
FeatureStdExtC,
721
+ FeatureStdExtB,
722
+ FeatureStdExtZbc,
719
723
FeatureVendorXAndesPerf]>;
720
724
721
725
defvar Andes45TuneFeatures = [TuneAndes45,
@@ -737,6 +741,7 @@ def ANDES_N45 : RISCVProcessorModel<"andes-n45",
737
741
FeatureStdExtF,
738
742
FeatureStdExtD,
739
743
FeatureStdExtC,
744
+ FeatureStdExtB,
740
745
FeatureVendorXAndesPerf],
741
746
Andes45TuneFeatures>;
742
747
@@ -751,6 +756,7 @@ def ANDES_NX45 : RISCVProcessorModel<"andes-nx45",
751
756
FeatureStdExtF,
752
757
FeatureStdExtD,
753
758
FeatureStdExtC,
759
+ FeatureStdExtB,
754
760
FeatureVendorXAndesPerf],
755
761
Andes45TuneFeatures>;
756
762
@@ -765,6 +771,7 @@ def ANDES_A45 : RISCVProcessorModel<"andes-a45",
765
771
FeatureStdExtF,
766
772
FeatureStdExtD,
767
773
FeatureStdExtC,
774
+ FeatureStdExtB,
768
775
FeatureVendorXAndesPerf],
769
776
Andes45TuneFeatures>;
770
777
@@ -779,5 +786,6 @@ def ANDES_AX45 : RISCVProcessorModel<"andes-ax45",
779
786
FeatureStdExtF,
780
787
FeatureStdExtD,
781
788
FeatureStdExtC,
789
+ FeatureStdExtB,
782
790
FeatureVendorXAndesPerf],
783
791
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=+b,+ zbc -timeline -iterations=1 < %s | FileCheck %s
2
+ # RUN: llvm-mca -mtriple=riscv64 -mcpu=andes-nx45 -mattr=+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