add more s390x target features · rust-lang/rust@69c7e1d (original) (raw)

`@@ -611,7 +611,26 @@ static LOONGARCH_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[

`

611

611

`const IBMZ_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[

`

612

612

`// tidy-alphabetical-start

`

613

613

`("backchain", Unstable(sym::s390x_target_feature), &[]),

`

``

614

`+

("deflate-conversion", Unstable(sym::s390x_target_feature), &[]),

`

``

615

`+

("enhanced-sort", Unstable(sym::s390x_target_feature), &[]),

`

``

616

`+

("guarded-storage", Unstable(sym::s390x_target_feature), &[]),

`

``

617

`+

("high-word", Unstable(sym::s390x_target_feature), &[]),

`

``

618

`+

("nnp-assist", Unstable(sym::s390x_target_feature), &["vector"]),

`

``

619

`+

("transactional-execution", Unstable(sym::s390x_target_feature), &[]),

`

614

620

`("vector", Unstable(sym::s390x_target_feature), &[]),

`

``

621

`+

("vector-enhancements-1", Unstable(sym::s390x_target_feature), &["vector"]),

`

``

622

`+

("vector-enhancements-2", Unstable(sym::s390x_target_feature), &["vector-enhancements-1"]),

`

``

623

`+

("vector-packed-decimal", Unstable(sym::s390x_target_feature), &["vector"]),

`

``

624

`+

(

`

``

625

`+

"vector-packed-decimal-enhancement",

`

``

626

`+

Unstable(sym::s390x_target_feature),

`

``

627

`+

&["vector-packed-decimal"],

`

``

628

`+

),

`

``

629

`+

(

`

``

630

`+

"vector-packed-decimal-enhancement-2",

`

``

631

`+

Unstable(sym::s390x_target_feature),

`

``

632

`+

&["vector-packed-decimal-enhancement"],

`

``

633

`+

),

`

615

634

`// tidy-alphabetical-end

`

616

635

`];

`

617

636

``

`@@ -768,7 +787,7 @@ impl Target {

`

768

787

`/// the first list contains target features that must be enabled for ABI reasons,

`

769

788

`/// and the second list contains target feature that must be disabled for ABI reasons.

`

770

789

`///

`

771

``

`-

/// These features are automatically appended to whatever the target spec sats as default

`

``

790

`+

/// These features are automatically appended to whatever the target spec sets as default

`

772

791

`/// features for the target.

`

773

792

`///

`

774

793

`` /// All features enabled/disabled via -Ctarget-features and #[target_features] are checked

``