@@ -167,7 +167,7 @@ pub use mips::{MipsInlineAsmReg, MipsInlineAsmRegClass};
167167pub use nvptx:: { NvptxInlineAsmReg , NvptxInlineAsmRegClass } ;
168168pub use powerpc:: { PowerPCInlineAsmReg , PowerPCInlineAsmRegClass } ;
169169pub use riscv:: { RiscVInlineAsmReg , RiscVInlineAsmRegClass } ;
170- pub use s390x:: { s390xInlineAsmReg , s390xInlineAsmRegClass } ;
170+ pub use s390x:: { S390xInlineAsmReg , S390xInlineAsmRegClass } ;
171171pub use spirv:: { SpirVInlineAsmReg , SpirVInlineAsmRegClass } ;
172172pub use wasm:: { WasmInlineAsmReg , WasmInlineAsmRegClass } ;
173173pub use x86:: { X86InlineAsmReg , X86InlineAsmRegClass } ;
@@ -186,7 +186,7 @@ pub enum InlineAsmArch {
186186 Mips64 ,
187187 PowerPC ,
188188 PowerPC64 ,
189- s390x ,
189+ S390x ,
190190 SpirV ,
191191 Wasm32 ,
192192 Bpf ,
@@ -209,7 +209,7 @@ impl FromStr for InlineAsmArch {
209209 "hexagon" => Ok ( Self :: Hexagon ) ,
210210 "mips" => Ok ( Self :: Mips ) ,
211211 "mips64" => Ok ( Self :: Mips64 ) ,
212- "s390x" => Ok ( Self :: s390x ) ,
212+ "s390x" => Ok ( Self :: S390x ) ,
213213 "spirv" => Ok ( Self :: SpirV ) ,
214214 "wasm32" => Ok ( Self :: Wasm32 ) ,
215215 "bpf" => Ok ( Self :: Bpf ) ,
@@ -239,7 +239,7 @@ pub enum InlineAsmReg {
239239 PowerPC ( PowerPCInlineAsmReg ) ,
240240 Hexagon ( HexagonInlineAsmReg ) ,
241241 Mips ( MipsInlineAsmReg ) ,
242- s390x ( InlineAsmReg ) ,
242+ S390x ( S390xInlineAsmReg ) ,
243243 SpirV ( SpirVInlineAsmReg ) ,
244244 Wasm ( WasmInlineAsmReg ) ,
245245 Bpf ( BpfInlineAsmReg ) ,
@@ -257,7 +257,7 @@ impl InlineAsmReg {
257257 Self :: PowerPC ( r) => r. name ( ) ,
258258 Self :: Hexagon ( r) => r. name ( ) ,
259259 Self :: Mips ( r) => r. name ( ) ,
260- Self :: s390x ( r) => r. name ( ) ,
260+ Self :: S390x ( r) => r. name ( ) ,
261261 Self :: Bpf ( r) => r. name ( ) ,
262262 Self :: Err => "<reg>" ,
263263 }
@@ -272,7 +272,7 @@ impl InlineAsmReg {
272272 Self :: PowerPC ( r) => InlineAsmRegClass :: PowerPC ( r. reg_class ( ) ) ,
273273 Self :: Hexagon ( r) => InlineAsmRegClass :: Hexagon ( r. reg_class ( ) ) ,
274274 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 ( ) ) ,
276276 Self :: Bpf ( r) => InlineAsmRegClass :: Bpf ( r. reg_class ( ) ) ,
277277 Self :: Err => InlineAsmRegClass :: Err ,
278278 }
@@ -312,8 +312,8 @@ impl InlineAsmReg {
312312 InlineAsmArch :: Mips | InlineAsmArch :: Mips64 => {
313313 Self :: Mips ( MipsInlineAsmReg :: parse ( arch, has_feature, target, & name) ?)
314314 }
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) ?)
317317 }
318318 InlineAsmArch :: SpirV => {
319319 Self :: SpirV ( SpirVInlineAsmReg :: parse ( arch, has_feature, target, & name) ?)
@@ -343,7 +343,7 @@ impl InlineAsmReg {
343343 Self :: PowerPC ( r) => r. emit ( out, arch, modifier) ,
344344 Self :: Hexagon ( r) => r. emit ( out, arch, modifier) ,
345345 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) ,
347347 Self :: Bpf ( r) => r. emit ( out, arch, modifier) ,
348348 Self :: Err => unreachable ! ( "Use of InlineAsmReg::Err" ) ,
349349 }
@@ -358,7 +358,7 @@ impl InlineAsmReg {
358358 Self :: PowerPC ( _) => cb ( self ) ,
359359 Self :: Hexagon ( r) => r. overlapping_regs ( |r| cb ( Self :: Hexagon ( r) ) ) ,
360360 Self :: Mips ( _) => cb ( self ) ,
361- Self :: s390x ( _) => cb ( self ) ,
361+ Self :: S390x ( _) => cb ( self ) ,
362362 Self :: Bpf ( r) => r. overlapping_regs ( |r| cb ( Self :: Bpf ( r) ) ) ,
363363 Self :: Err => unreachable ! ( "Use of InlineAsmReg::Err" ) ,
364364 }
@@ -386,7 +386,7 @@ pub enum InlineAsmRegClass {
386386 PowerPC ( PowerPCInlineAsmRegClass ) ,
387387 Hexagon ( HexagonInlineAsmRegClass ) ,
388388 Mips ( MipsInlineAsmRegClass ) ,
389- s390x ( s390xInlineAsmRegClass ) ,
389+ S390x ( S390xInlineAsmRegClass ) ,
390390 SpirV ( SpirVInlineAsmRegClass ) ,
391391 Wasm ( WasmInlineAsmRegClass ) ,
392392 Bpf ( BpfInlineAsmRegClass ) ,
@@ -405,7 +405,7 @@ impl InlineAsmRegClass {
405405 Self :: PowerPC ( r) => r. name ( ) ,
406406 Self :: Hexagon ( r) => r. name ( ) ,
407407 Self :: Mips ( r) => r. name ( ) ,
408- Self :: s390x ( r) => r. name ( ) ,
408+ Self :: S390x ( r) => r. name ( ) ,
409409 Self :: SpirV ( r) => r. name ( ) ,
410410 Self :: Wasm ( r) => r. name ( ) ,
411411 Self :: Bpf ( r) => r. name ( ) ,
@@ -426,7 +426,7 @@ impl InlineAsmRegClass {
426426 Self :: PowerPC ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: PowerPC ) ,
427427 Self :: Hexagon ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Hexagon ) ,
428428 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 ) ,
430430 Self :: SpirV ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: SpirV ) ,
431431 Self :: Wasm ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Wasm ) ,
432432 Self :: Bpf ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Bpf ) ,
@@ -454,7 +454,7 @@ impl InlineAsmRegClass {
454454 Self :: PowerPC ( r) => r. suggest_modifier ( arch, ty) ,
455455 Self :: Hexagon ( r) => r. suggest_modifier ( arch, ty) ,
456456 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) ,
458458 Self :: SpirV ( r) => r. suggest_modifier ( arch, ty) ,
459459 Self :: Wasm ( r) => r. suggest_modifier ( arch, ty) ,
460460 Self :: Bpf ( r) => r. suggest_modifier ( arch, ty) ,
@@ -478,7 +478,7 @@ impl InlineAsmRegClass {
478478 Self :: PowerPC ( r) => r. default_modifier ( arch) ,
479479 Self :: Hexagon ( r) => r. default_modifier ( arch) ,
480480 Self :: Mips ( r) => r. default_modifier ( arch) ,
481- Self :: s390x ( r) => r. default_modifier ( arch) ,
481+ Self :: S390x ( r) => r. default_modifier ( arch) ,
482482 Self :: SpirV ( r) => r. default_modifier ( arch) ,
483483 Self :: Wasm ( r) => r. default_modifier ( arch) ,
484484 Self :: Bpf ( r) => r. default_modifier ( arch) ,
@@ -501,7 +501,7 @@ impl InlineAsmRegClass {
501501 Self :: PowerPC ( r) => r. supported_types ( arch) ,
502502 Self :: Hexagon ( r) => r. supported_types ( arch) ,
503503 Self :: Mips ( r) => r. supported_types ( arch) ,
504- Self :: s390x ( r) => r. supported_types ( arch) ,
504+ Self :: S390x ( r) => r. supported_types ( arch) ,
505505 Self :: SpirV ( r) => r. supported_types ( arch) ,
506506 Self :: Wasm ( r) => r. supported_types ( arch) ,
507507 Self :: Bpf ( r) => r. supported_types ( arch) ,
@@ -527,7 +527,7 @@ impl InlineAsmRegClass {
527527 InlineAsmArch :: Mips | InlineAsmArch :: Mips64 => {
528528 Self :: Mips ( MipsInlineAsmRegClass :: parse ( arch, name) ?)
529529 }
530- InlineAsmArch :: s390x => Self :: s390x ( s390xInlineAsmRegClass :: parse ( arch, name) ?) ,
530+ InlineAsmArch :: S390x => Self :: S390x ( S390xInlineAsmRegClass :: parse ( arch, name) ?) ,
531531 InlineAsmArch :: SpirV => Self :: SpirV ( SpirVInlineAsmRegClass :: parse ( arch, name) ?) ,
532532 InlineAsmArch :: Wasm32 => Self :: Wasm ( WasmInlineAsmRegClass :: parse ( arch, name) ?) ,
533533 InlineAsmArch :: Bpf => Self :: Bpf ( BpfInlineAsmRegClass :: parse ( arch, name) ?) ,
@@ -546,7 +546,7 @@ impl InlineAsmRegClass {
546546 Self :: PowerPC ( r) => r. valid_modifiers ( arch) ,
547547 Self :: Hexagon ( r) => r. valid_modifiers ( arch) ,
548548 Self :: Mips ( r) => r. valid_modifiers ( arch) ,
549- Self :: s390x ( r) => r. valid_modifiers ( arch) ,
549+ Self :: S390x ( r) => r. valid_modifiers ( arch) ,
550550 Self :: SpirV ( r) => r. valid_modifiers ( arch) ,
551551 Self :: Wasm ( r) => r. valid_modifiers ( arch) ,
552552 Self :: Bpf ( r) => r. valid_modifiers ( arch) ,
@@ -715,11 +715,11 @@ pub fn allocatable_registers(
715715 mips:: fill_reg_map ( arch, has_feature, target, & mut map) ;
716716 map
717717 }
718- InlineAsmArch :: s390x => {
719- let mut map = s390x:: regclass_map ( ) ;
718+ InlineAsmArch :: S390x => {
719+ let mut map = s390x:: regclass_map ( ) ;
720720 s390x:: fill_reg_map ( arch, has_feature, target, & mut map) ;
721721 map
722- }
722+ }
723723 InlineAsmArch :: SpirV => {
724724 let mut map = spirv:: regclass_map ( ) ;
725725 spirv:: fill_reg_map ( arch, has_feature, target, & mut map) ;
0 commit comments