@@ -102,6 +102,7 @@ pub enum Target {
102102 CORTEXA57 ,
103103 CORTEXA72 ,
104104 CORTEXA73 ,
105+ CORTEXA76 ,
105106 CORTEXA510 ,
106107 CORTEXA710 ,
107108 CORTEXX1 ,
@@ -128,7 +129,10 @@ pub enum Target {
128129
129130 // RISC-V 64:
130131 RISCV64_GENERIC ,
132+ RISCV64_ZVL128B ,
131133 C910V ,
134+ x280,
135+ RISCV64_ZVL236B ,
132136
133137 // LOONGARCH64:
134138 LOONGSONGENERIC ,
@@ -142,6 +146,10 @@ pub enum Target {
142146 EV4 ,
143147 EV5 ,
144148 EV6 ,
149+
150+ // CSKY
151+ CSKY ,
152+ CK860FV ,
145153}
146154
147155impl FromStr for Target {
@@ -236,6 +244,7 @@ impl FromStr for Target {
236244 "cortexa57" => Self :: CORTEXA57 ,
237245 "cortexa72" => Self :: CORTEXA72 ,
238246 "cortexa73" => Self :: CORTEXA73 ,
247+ "cortexa76" => Self :: CORTEXA76 ,
239248 "cortexa510" => Self :: CORTEXA510 ,
240249 "cortexa710" => Self :: CORTEXA710 ,
241250 "cortexx1" => Self :: CORTEXX1 ,
@@ -262,12 +271,15 @@ impl FromStr for Target {
262271
263272 // RISC-V 64:
264273 "riscv64_generic" => Self :: RISCV64_GENERIC ,
274+ "riscv64_zvl128b" => Self :: RISCV64_ZVL128B ,
265275 "c910v" => Self :: C910V ,
276+ "x280" => Self :: x280,
277+ "riscv64_zvl236B" => Self :: RISCV64_ZVL236B ,
266278
267279 // LOONGARCH64:
268280 "loongsongeneric" => Self :: LOONGSONGENERIC ,
269- "loongson3r5 " => Self :: LOONGSON3R5 ,
270- "loongson2k1000 " => Self :: LOONGSON2K1000 ,
281+ "longson3r5 " => Self :: LOONGSON3R5 ,
282+ "longson2k1000 " => Self :: LOONGSON2K1000 ,
271283
272284 // Elbrus E2000:
273285 "e2k" => Self :: E2K ,
@@ -277,6 +289,10 @@ impl FromStr for Target {
277289 "ev5" => Self :: EV5 ,
278290 "ev6" => Self :: EV6 ,
279291
292+ // CSKY
293+ "csky" => Self :: CSKY ,
294+ "ck860fv" => Self :: CK860FV ,
295+
280296 _ => {
281297 return Err ( Error :: UnsupportedTarget {
282298 target : s. to_string ( ) ,
0 commit comments