@@ -167,7 +167,7 @@ pub use mips::{MipsInlineAsmReg, MipsInlineAsmRegClass};
167
167
pub use nvptx:: { NvptxInlineAsmReg , NvptxInlineAsmRegClass } ;
168
168
pub use powerpc:: { PowerPCInlineAsmReg , PowerPCInlineAsmRegClass } ;
169
169
pub use riscv:: { RiscVInlineAsmReg , RiscVInlineAsmRegClass } ;
170
- pub use s390x:: { s390xInlineAsmReg , s390xInlineAsmRegClass } ;
170
+ pub use s390x:: { S390xInlineAsmReg , S390xInlineAsmRegClass } ;
171
171
pub use spirv:: { SpirVInlineAsmReg , SpirVInlineAsmRegClass } ;
172
172
pub use wasm:: { WasmInlineAsmReg , WasmInlineAsmRegClass } ;
173
173
pub use x86:: { X86InlineAsmReg , X86InlineAsmRegClass } ;
@@ -186,7 +186,7 @@ pub enum InlineAsmArch {
186
186
Mips64 ,
187
187
PowerPC ,
188
188
PowerPC64 ,
189
- s390x ,
189
+ S390x ,
190
190
SpirV ,
191
191
Wasm32 ,
192
192
Bpf ,
@@ -209,7 +209,7 @@ impl FromStr for InlineAsmArch {
209
209
"hexagon" => Ok ( Self :: Hexagon ) ,
210
210
"mips" => Ok ( Self :: Mips ) ,
211
211
"mips64" => Ok ( Self :: Mips64 ) ,
212
- "s390x" => Ok ( Self :: s390x ) ,
212
+ "s390x" => Ok ( Self :: S390x ) ,
213
213
"spirv" => Ok ( Self :: SpirV ) ,
214
214
"wasm32" => Ok ( Self :: Wasm32 ) ,
215
215
"bpf" => Ok ( Self :: Bpf ) ,
@@ -239,7 +239,7 @@ pub enum InlineAsmReg {
239
239
PowerPC ( PowerPCInlineAsmReg ) ,
240
240
Hexagon ( HexagonInlineAsmReg ) ,
241
241
Mips ( MipsInlineAsmReg ) ,
242
- s390x ( InlineAsmReg ) ,
242
+ S390x ( S390xInlineAsmReg ) ,
243
243
SpirV ( SpirVInlineAsmReg ) ,
244
244
Wasm ( WasmInlineAsmReg ) ,
245
245
Bpf ( BpfInlineAsmReg ) ,
@@ -257,7 +257,7 @@ impl InlineAsmReg {
257
257
Self :: PowerPC ( r) => r. name ( ) ,
258
258
Self :: Hexagon ( r) => r. name ( ) ,
259
259
Self :: Mips ( r) => r. name ( ) ,
260
- Self :: s390x ( r) => r. name ( ) ,
260
+ Self :: S390x ( r) => r. name ( ) ,
261
261
Self :: Bpf ( r) => r. name ( ) ,
262
262
Self :: Err => "<reg>" ,
263
263
}
@@ -272,7 +272,7 @@ impl InlineAsmReg {
272
272
Self :: PowerPC ( r) => InlineAsmRegClass :: PowerPC ( r. reg_class ( ) ) ,
273
273
Self :: Hexagon ( r) => InlineAsmRegClass :: Hexagon ( r. reg_class ( ) ) ,
274
274
Self :: Mips ( r) => InlineAsmRegClass :: Mips ( r. reg_class ( ) ) ,
275
- Self :: s390x ( r) => InlineAsmRegClass :: s390x ( r. reg_class ( ) ) ,
275
+ Self :: S390x ( r) => InlineAsmRegClass :: S390x ( r. reg_class ( ) ) ,
276
276
Self :: Bpf ( r) => InlineAsmRegClass :: Bpf ( r. reg_class ( ) ) ,
277
277
Self :: Err => InlineAsmRegClass :: Err ,
278
278
}
@@ -312,8 +312,8 @@ impl InlineAsmReg {
312
312
InlineAsmArch :: Mips | InlineAsmArch :: Mips64 => {
313
313
Self :: Mips ( MipsInlineAsmReg :: parse ( arch, has_feature, target, & name) ?)
314
314
}
315
- InlineAsmArch :: s390x => {
316
- Self :: s390x ( s390xInlineAsmReg :: parse ( arch, has_feature, target, & name) ?)
315
+ InlineAsmArch :: S390x => {
316
+ Self :: S390x ( S390xInlineAsmReg :: parse ( arch, has_feature, target, & name) ?)
317
317
}
318
318
InlineAsmArch :: SpirV => {
319
319
Self :: SpirV ( SpirVInlineAsmReg :: parse ( arch, has_feature, target, & name) ?)
@@ -343,7 +343,7 @@ impl InlineAsmReg {
343
343
Self :: PowerPC ( r) => r. emit ( out, arch, modifier) ,
344
344
Self :: Hexagon ( r) => r. emit ( out, arch, modifier) ,
345
345
Self :: Mips ( r) => r. emit ( out, arch, modifier) ,
346
- Self :: s390x ( r) => r. emit ( out, arch, modifier) ,
346
+ Self :: S390x ( r) => r. emit ( out, arch, modifier) ,
347
347
Self :: Bpf ( r) => r. emit ( out, arch, modifier) ,
348
348
Self :: Err => unreachable ! ( "Use of InlineAsmReg::Err" ) ,
349
349
}
@@ -358,7 +358,7 @@ impl InlineAsmReg {
358
358
Self :: PowerPC ( _) => cb ( self ) ,
359
359
Self :: Hexagon ( r) => r. overlapping_regs ( |r| cb ( Self :: Hexagon ( r) ) ) ,
360
360
Self :: Mips ( _) => cb ( self ) ,
361
- Self :: s390x ( _) => cb ( self ) ,
361
+ Self :: S390x ( _) => cb ( self ) ,
362
362
Self :: Bpf ( r) => r. overlapping_regs ( |r| cb ( Self :: Bpf ( r) ) ) ,
363
363
Self :: Err => unreachable ! ( "Use of InlineAsmReg::Err" ) ,
364
364
}
@@ -386,7 +386,7 @@ pub enum InlineAsmRegClass {
386
386
PowerPC ( PowerPCInlineAsmRegClass ) ,
387
387
Hexagon ( HexagonInlineAsmRegClass ) ,
388
388
Mips ( MipsInlineAsmRegClass ) ,
389
- s390x ( s390xInlineAsmRegClass ) ,
389
+ S390x ( S390xInlineAsmRegClass ) ,
390
390
SpirV ( SpirVInlineAsmRegClass ) ,
391
391
Wasm ( WasmInlineAsmRegClass ) ,
392
392
Bpf ( BpfInlineAsmRegClass ) ,
@@ -405,7 +405,7 @@ impl InlineAsmRegClass {
405
405
Self :: PowerPC ( r) => r. name ( ) ,
406
406
Self :: Hexagon ( r) => r. name ( ) ,
407
407
Self :: Mips ( r) => r. name ( ) ,
408
- Self :: s390x ( r) => r. name ( ) ,
408
+ Self :: S390x ( r) => r. name ( ) ,
409
409
Self :: SpirV ( r) => r. name ( ) ,
410
410
Self :: Wasm ( r) => r. name ( ) ,
411
411
Self :: Bpf ( r) => r. name ( ) ,
@@ -426,7 +426,7 @@ impl InlineAsmRegClass {
426
426
Self :: PowerPC ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: PowerPC ) ,
427
427
Self :: Hexagon ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Hexagon ) ,
428
428
Self :: Mips ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Mips ) ,
429
- Self :: s390x ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: s390x ) ,
429
+ Self :: S390x ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: S390x ) ,
430
430
Self :: SpirV ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: SpirV ) ,
431
431
Self :: Wasm ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Wasm ) ,
432
432
Self :: Bpf ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Bpf ) ,
@@ -454,7 +454,7 @@ impl InlineAsmRegClass {
454
454
Self :: PowerPC ( r) => r. suggest_modifier ( arch, ty) ,
455
455
Self :: Hexagon ( r) => r. suggest_modifier ( arch, ty) ,
456
456
Self :: Mips ( r) => r. suggest_modifier ( arch, ty) ,
457
- Self :: s390x ( r) => r. suggest_modifier ( arch, ty) ,
457
+ Self :: S390x ( r) => r. suggest_modifier ( arch, ty) ,
458
458
Self :: SpirV ( r) => r. suggest_modifier ( arch, ty) ,
459
459
Self :: Wasm ( r) => r. suggest_modifier ( arch, ty) ,
460
460
Self :: Bpf ( r) => r. suggest_modifier ( arch, ty) ,
@@ -478,7 +478,7 @@ impl InlineAsmRegClass {
478
478
Self :: PowerPC ( r) => r. default_modifier ( arch) ,
479
479
Self :: Hexagon ( r) => r. default_modifier ( arch) ,
480
480
Self :: Mips ( r) => r. default_modifier ( arch) ,
481
- Self :: s390x ( r) => r. default_modifier ( arch) ,
481
+ Self :: S390x ( r) => r. default_modifier ( arch) ,
482
482
Self :: SpirV ( r) => r. default_modifier ( arch) ,
483
483
Self :: Wasm ( r) => r. default_modifier ( arch) ,
484
484
Self :: Bpf ( r) => r. default_modifier ( arch) ,
@@ -501,7 +501,7 @@ impl InlineAsmRegClass {
501
501
Self :: PowerPC ( r) => r. supported_types ( arch) ,
502
502
Self :: Hexagon ( r) => r. supported_types ( arch) ,
503
503
Self :: Mips ( r) => r. supported_types ( arch) ,
504
- Self :: s390x ( r) => r. supported_types ( arch) ,
504
+ Self :: S390x ( r) => r. supported_types ( arch) ,
505
505
Self :: SpirV ( r) => r. supported_types ( arch) ,
506
506
Self :: Wasm ( r) => r. supported_types ( arch) ,
507
507
Self :: Bpf ( r) => r. supported_types ( arch) ,
@@ -527,7 +527,7 @@ impl InlineAsmRegClass {
527
527
InlineAsmArch :: Mips | InlineAsmArch :: Mips64 => {
528
528
Self :: Mips ( MipsInlineAsmRegClass :: parse ( arch, name) ?)
529
529
}
530
- InlineAsmArch :: s390x => Self :: s390x ( s390xInlineAsmRegClass :: parse ( arch, name) ?) ,
530
+ InlineAsmArch :: S390x => Self :: S390x ( S390xInlineAsmRegClass :: parse ( arch, name) ?) ,
531
531
InlineAsmArch :: SpirV => Self :: SpirV ( SpirVInlineAsmRegClass :: parse ( arch, name) ?) ,
532
532
InlineAsmArch :: Wasm32 => Self :: Wasm ( WasmInlineAsmRegClass :: parse ( arch, name) ?) ,
533
533
InlineAsmArch :: Bpf => Self :: Bpf ( BpfInlineAsmRegClass :: parse ( arch, name) ?) ,
@@ -546,7 +546,7 @@ impl InlineAsmRegClass {
546
546
Self :: PowerPC ( r) => r. valid_modifiers ( arch) ,
547
547
Self :: Hexagon ( r) => r. valid_modifiers ( arch) ,
548
548
Self :: Mips ( r) => r. valid_modifiers ( arch) ,
549
- Self :: s390x ( r) => r. valid_modifiers ( arch) ,
549
+ Self :: S390x ( r) => r. valid_modifiers ( arch) ,
550
550
Self :: SpirV ( r) => r. valid_modifiers ( arch) ,
551
551
Self :: Wasm ( r) => r. valid_modifiers ( arch) ,
552
552
Self :: Bpf ( r) => r. valid_modifiers ( arch) ,
@@ -715,11 +715,11 @@ pub fn allocatable_registers(
715
715
mips:: fill_reg_map ( arch, has_feature, target, & mut map) ;
716
716
map
717
717
}
718
- InlineAsmArch :: s390x => {
719
- let mut map = s390x:: regclass_map ( ) ;
718
+ InlineAsmArch :: S390x => {
719
+ let mut map = s390x:: regclass_map ( ) ;
720
720
s390x:: fill_reg_map ( arch, has_feature, target, & mut map) ;
721
721
map
722
- }
722
+ }
723
723
InlineAsmArch :: SpirV => {
724
724
let mut map = spirv:: regclass_map ( ) ;
725
725
spirv:: fill_reg_map ( arch, has_feature, target, & mut map) ;
0 commit comments