stabilize s390x_target_feature_vector
This commit is contained in:
parent
c59298da36
commit
7516645928
19 changed files with 229 additions and 256 deletions
|
|
@ -387,6 +387,8 @@ declare_features! (
|
||||||
(accepted, return_position_impl_trait_in_trait, "1.75.0", Some(91611)),
|
(accepted, return_position_impl_trait_in_trait, "1.75.0", Some(91611)),
|
||||||
/// Allows code like `let x: &'static u32 = &42` to work (RFC 1414).
|
/// Allows code like `let x: &'static u32 = &42` to work (RFC 1414).
|
||||||
(accepted, rvalue_static_promotion, "1.21.0", Some(38865)),
|
(accepted, rvalue_static_promotion, "1.21.0", Some(38865)),
|
||||||
|
/// Allows use of the `vector` and related s390x target features.
|
||||||
|
(accepted, s390x_target_feature_vector, "CURRENT_RUSTC_VERSION", Some(145649)),
|
||||||
/// Allows `Self` in type definitions (RFC 2300).
|
/// Allows `Self` in type definitions (RFC 2300).
|
||||||
(accepted, self_in_typedefs, "1.32.0", Some(49303)),
|
(accepted, self_in_typedefs, "1.32.0", Some(49303)),
|
||||||
/// Allows `Self` struct constructor (RFC 2302).
|
/// Allows `Self` struct constructor (RFC 2302).
|
||||||
|
|
|
||||||
|
|
@ -343,7 +343,6 @@ declare_features! (
|
||||||
(unstable, riscv_target_feature, "1.45.0", Some(44839)),
|
(unstable, riscv_target_feature, "1.45.0", Some(44839)),
|
||||||
(unstable, rtm_target_feature, "1.35.0", Some(44839)),
|
(unstable, rtm_target_feature, "1.35.0", Some(44839)),
|
||||||
(unstable, s390x_target_feature, "1.82.0", Some(44839)),
|
(unstable, s390x_target_feature, "1.82.0", Some(44839)),
|
||||||
(unstable, s390x_target_feature_vector, "CURRENT_RUSTC_VERSION", Some(145649)),
|
|
||||||
(unstable, sparc_target_feature, "1.84.0", Some(132783)),
|
(unstable, sparc_target_feature, "1.84.0", Some(132783)),
|
||||||
(unstable, wasm_target_feature, "1.30.0", Some(44839)),
|
(unstable, wasm_target_feature, "1.30.0", Some(44839)),
|
||||||
(unstable, x87_target_feature, "1.85.0", Some(44839)),
|
(unstable, x87_target_feature, "1.85.0", Some(44839)),
|
||||||
|
|
|
||||||
|
|
@ -844,20 +844,20 @@ const IBMZ_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
|
||||||
("message-security-assist-extension8", Unstable(sym::s390x_target_feature), &["message-security-assist-extension3"]),
|
("message-security-assist-extension8", Unstable(sym::s390x_target_feature), &["message-security-assist-extension3"]),
|
||||||
("message-security-assist-extension9", Unstable(sym::s390x_target_feature), &["message-security-assist-extension3", "message-security-assist-extension4"]),
|
("message-security-assist-extension9", Unstable(sym::s390x_target_feature), &["message-security-assist-extension3", "message-security-assist-extension4"]),
|
||||||
("message-security-assist-extension12", Unstable(sym::s390x_target_feature), &[]),
|
("message-security-assist-extension12", Unstable(sym::s390x_target_feature), &[]),
|
||||||
("miscellaneous-extensions-2", Unstable(sym::s390x_target_feature_vector), &[]),
|
("miscellaneous-extensions-2", Stable, &[]),
|
||||||
("miscellaneous-extensions-3", Unstable(sym::s390x_target_feature_vector), &[]),
|
("miscellaneous-extensions-3", Stable, &[]),
|
||||||
("miscellaneous-extensions-4", Unstable(sym::s390x_target_feature_vector), &[]),
|
("miscellaneous-extensions-4", Stable, &[]),
|
||||||
("nnp-assist", Unstable(sym::s390x_target_feature_vector), &["vector"]),
|
("nnp-assist", Stable, &["vector"]),
|
||||||
("soft-float", Forbidden { reason: "currently unsupported ABI-configuration feature" }, &[]),
|
("soft-float", Forbidden { reason: "currently unsupported ABI-configuration feature" }, &[]),
|
||||||
("transactional-execution", Unstable(sym::s390x_target_feature), &[]),
|
("transactional-execution", Unstable(sym::s390x_target_feature), &[]),
|
||||||
("vector", Unstable(sym::s390x_target_feature_vector), &[]),
|
("vector", Stable, &[]),
|
||||||
("vector-enhancements-1", Unstable(sym::s390x_target_feature_vector), &["vector"]),
|
("vector-enhancements-1", Stable, &["vector"]),
|
||||||
("vector-enhancements-2", Unstable(sym::s390x_target_feature_vector), &["vector-enhancements-1"]),
|
("vector-enhancements-2", Stable, &["vector-enhancements-1"]),
|
||||||
("vector-enhancements-3", Unstable(sym::s390x_target_feature_vector), &["vector-enhancements-2"]),
|
("vector-enhancements-3", Stable, &["vector-enhancements-2"]),
|
||||||
("vector-packed-decimal", Unstable(sym::s390x_target_feature_vector), &["vector"]),
|
("vector-packed-decimal", Stable, &["vector"]),
|
||||||
("vector-packed-decimal-enhancement", Unstable(sym::s390x_target_feature_vector), &["vector-packed-decimal"]),
|
("vector-packed-decimal-enhancement", Stable, &["vector-packed-decimal"]),
|
||||||
("vector-packed-decimal-enhancement-2", Unstable(sym::s390x_target_feature_vector), &["vector-packed-decimal-enhancement"]),
|
("vector-packed-decimal-enhancement-2", Stable, &["vector-packed-decimal-enhancement"]),
|
||||||
("vector-packed-decimal-enhancement-3", Unstable(sym::s390x_target_feature_vector), &["vector-packed-decimal-enhancement-2"]),
|
("vector-packed-decimal-enhancement-3", Stable, &["vector-packed-decimal-enhancement-2"]),
|
||||||
// tidy-alphabetical-end
|
// tidy-alphabetical-end
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -204,7 +204,6 @@
|
||||||
#![feature(riscv_target_feature)]
|
#![feature(riscv_target_feature)]
|
||||||
#![feature(rtm_target_feature)]
|
#![feature(rtm_target_feature)]
|
||||||
#![feature(s390x_target_feature)]
|
#![feature(s390x_target_feature)]
|
||||||
#![feature(s390x_target_feature_vector)]
|
|
||||||
#![feature(wasm_target_feature)]
|
#![feature(wasm_target_feature)]
|
||||||
#![feature(x86_amx_intrinsics)]
|
#![feature(x86_amx_intrinsics)]
|
||||||
// tidy-alphabetical-end
|
// tidy-alphabetical-end
|
||||||
|
|
|
||||||
|
|
@ -32,30 +32,30 @@ features! {
|
||||||
/// s390x message-security-assist-extension9 facility
|
/// s390x message-security-assist-extension9 facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature", issue = "44839")] message_security_assist_extension12: "message-security-assist-extension12";
|
@FEATURE: #[unstable(feature = "s390x_target_feature", issue = "44839")] message_security_assist_extension12: "message-security-assist-extension12";
|
||||||
/// s390x message-security-assist-extension12 facility
|
/// s390x message-security-assist-extension12 facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] miscellaneous_extensions_2: "miscellaneous-extensions-2";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] miscellaneous_extensions_2: "miscellaneous-extensions-2";
|
||||||
/// s390x miscellaneous-extensions-2 facility
|
/// s390x miscellaneous-extensions-2 facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] miscellaneous_extensions_3: "miscellaneous-extensions-3";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] miscellaneous_extensions_3: "miscellaneous-extensions-3";
|
||||||
/// s390x miscellaneous-extensions-3 facility
|
/// s390x miscellaneous-extensions-3 facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] miscellaneous_extensions_4: "miscellaneous-extensions-4";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] miscellaneous_extensions_4: "miscellaneous-extensions-4";
|
||||||
/// s390x miscellaneous-extensions-4 facility
|
/// s390x miscellaneous-extensions-4 facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] nnp_assist: "nnp-assist";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] nnp_assist: "nnp-assist";
|
||||||
/// s390x nnp-assist facility
|
/// s390x nnp-assist facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature", issue = "44839")] transactional_execution: "transactional-execution";
|
@FEATURE: #[unstable(feature = "s390x_target_feature", issue = "44839")] transactional_execution: "transactional-execution";
|
||||||
/// s390x transactional-execution facility
|
/// s390x transactional-execution facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] vector: "vector";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] vector: "vector";
|
||||||
/// s390x vector facility
|
/// s390x vector facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] vector_enhancements_1: "vector-enhancements-1";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] vector_enhancements_1: "vector-enhancements-1";
|
||||||
/// s390x vector-enhancements-1 facility
|
/// s390x vector-enhancements-1 facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] vector_enhancements_2: "vector-enhancements-2";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] vector_enhancements_2: "vector-enhancements-2";
|
||||||
/// s390x vector-enhancements-2 facility
|
/// s390x vector-enhancements-2 facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] vector_enhancements_3: "vector-enhancements-3";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] vector_enhancements_3: "vector-enhancements-3";
|
||||||
/// s390x vector-enhancements-3 facility
|
/// s390x vector-enhancements-3 facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] vector_packed_decimal: "vector-packed-decimal";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] vector_packed_decimal: "vector-packed-decimal";
|
||||||
/// s390x vector-packed-decimal facility
|
/// s390x vector-packed-decimal facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] vector_packed_decimal_enhancement: "vector-packed-decimal-enhancement";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] vector_packed_decimal_enhancement: "vector-packed-decimal-enhancement";
|
||||||
/// s390x vector-packed-decimal-enhancement facility
|
/// s390x vector-packed-decimal-enhancement facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] vector_packed_decimal_enhancement_2: "vector-packed-decimal-enhancement-2";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] vector_packed_decimal_enhancement_2: "vector-packed-decimal-enhancement-2";
|
||||||
/// s390x vector-packed-decimal-enhancement-2 facility
|
/// s390x vector-packed-decimal-enhancement-2 facility
|
||||||
@FEATURE: #[unstable(feature = "s390x_target_feature_vector", issue = "145649")] vector_packed_decimal_enhancement_3: "vector-packed-decimal-enhancement-3";
|
@FEATURE: #[stable(feature = "s390x_target_feature_vector", since = "CURRENT_RUSTC_VERSION")] vector_packed_decimal_enhancement_3: "vector-packed-decimal-enhancement-3";
|
||||||
/// s390x vector-packed-decimal-enhancement-3 facility
|
/// s390x vector-packed-decimal-enhancement-3 facility
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
arm_target_feature,
|
arm_target_feature,
|
||||||
mips_target_feature,
|
mips_target_feature,
|
||||||
powerpc_target_feature,
|
powerpc_target_feature,
|
||||||
s390x_target_feature_vector,
|
|
||||||
loongarch_target_feature,
|
loongarch_target_feature,
|
||||||
wasm_target_feature,
|
wasm_target_feature,
|
||||||
abi_unadjusted,
|
abi_unadjusted,
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
//@[z13_no_vector] compile-flags: --target s390x-unknown-linux-gnu -C target-cpu=z13 -C target-feature=-vector --cfg no_vector
|
//@[z13_no_vector] compile-flags: --target s390x-unknown-linux-gnu -C target-cpu=z13 -C target-feature=-vector --cfg no_vector
|
||||||
//@[z13_no_vector] needs-llvm-components: systemz
|
//@[z13_no_vector] needs-llvm-components: systemz
|
||||||
|
|
||||||
#![feature(no_core, lang_items, repr_simd, s390x_target_feature_vector)]
|
#![feature(no_core, lang_items, repr_simd)]
|
||||||
#![no_core]
|
#![no_core]
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
#![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![feature(no_core, asm_experimental_arch)]
|
#![feature(no_core, asm_experimental_arch)]
|
||||||
#![feature(s390x_target_feature_vector, simd_ffi, intrinsics, repr_simd)]
|
#![feature(simd_ffi, intrinsics, repr_simd)]
|
||||||
#![no_core]
|
#![no_core]
|
||||||
|
|
||||||
extern crate minicore;
|
extern crate minicore;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
repr_simd,
|
repr_simd,
|
||||||
arm_target_feature,
|
arm_target_feature,
|
||||||
mips_target_feature,
|
mips_target_feature,
|
||||||
s390x_target_feature_vector,
|
|
||||||
riscv_target_feature
|
riscv_target_feature
|
||||||
)]
|
)]
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,9 @@
|
||||||
//@[z13_soft_float] needs-llvm-components: systemz
|
//@[z13_soft_float] needs-llvm-components: systemz
|
||||||
//@ ignore-backends: gcc
|
//@ ignore-backends: gcc
|
||||||
//[z13_soft_float]~? WARN must be disabled to ensure that the ABI of the current target can be implemented correctly
|
//[z13_soft_float]~? WARN must be disabled to ensure that the ABI of the current target can be implemented correctly
|
||||||
|
|
||||||
//[z13_no_vector,z13_soft_float]~? WARN unstable feature specified for `-Ctarget-feature`
|
|
||||||
//[z13_soft_float]~? WARN target feature `soft-float` cannot be enabled with `-Ctarget-feature`
|
//[z13_soft_float]~? WARN target feature `soft-float` cannot be enabled with `-Ctarget-feature`
|
||||||
|
|
||||||
#![feature(no_core, repr_simd, s390x_target_feature_vector)]
|
#![feature(no_core, repr_simd)]
|
||||||
#![no_core]
|
#![no_core]
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
#![allow(non_camel_case_types, improper_ctypes_definitions)]
|
#![allow(non_camel_case_types, improper_ctypes_definitions)]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:43:1
|
--> $DIR/simd-abi-checks-s390x.rs:41:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_ret_small(x: &i8x8) -> i8x8 {
|
LL | extern "C" fn vector_ret_small(x: &i8x8) -> i8x8 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -7,7 +7,7 @@ LL | extern "C" fn vector_ret_small(x: &i8x8) -> i8x8 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:48:1
|
--> $DIR/simd-abi-checks-s390x.rs:46:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_ret(x: &i8x16) -> i8x16 {
|
LL | extern "C" fn vector_ret(x: &i8x16) -> i8x16 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -15,7 +15,7 @@ LL | extern "C" fn vector_ret(x: &i8x16) -> i8x16 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:94:1
|
--> $DIR/simd-abi-checks-s390x.rs:92:1
|
||||||
|
|
|
|
||||||
LL | / extern "C" fn vector_transparent_wrapper_ret_small(
|
LL | / extern "C" fn vector_transparent_wrapper_ret_small(
|
||||||
LL | | x: &TransparentWrapper<i8x8>,
|
LL | | x: &TransparentWrapper<i8x8>,
|
||||||
|
|
@ -25,7 +25,7 @@ LL | | ) -> TransparentWrapper<i8x8> {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:101:1
|
--> $DIR/simd-abi-checks-s390x.rs:99:1
|
||||||
|
|
|
|
||||||
LL | / extern "C" fn vector_transparent_wrapper_ret(
|
LL | / extern "C" fn vector_transparent_wrapper_ret(
|
||||||
LL | | x: &TransparentWrapper<i8x16>,
|
LL | | x: &TransparentWrapper<i8x16>,
|
||||||
|
|
@ -35,7 +35,7 @@ LL | | ) -> TransparentWrapper<i8x16> {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:116:1
|
--> $DIR/simd-abi-checks-s390x.rs:114:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_arg_small(x: i8x8) -> i64 {
|
LL | extern "C" fn vector_arg_small(x: i8x8) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -43,7 +43,7 @@ LL | extern "C" fn vector_arg_small(x: i8x8) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:121:1
|
--> $DIR/simd-abi-checks-s390x.rs:119:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_arg(x: i8x16) -> i64 {
|
LL | extern "C" fn vector_arg(x: i8x16) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -51,7 +51,7 @@ LL | extern "C" fn vector_arg(x: i8x16) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `Wrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `Wrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:132:1
|
--> $DIR/simd-abi-checks-s390x.rs:130:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_wrapper_arg_small(x: Wrapper<i8x8>) -> i64 {
|
LL | extern "C" fn vector_wrapper_arg_small(x: Wrapper<i8x8>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -59,7 +59,7 @@ LL | extern "C" fn vector_wrapper_arg_small(x: Wrapper<i8x8>) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `Wrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `Wrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:137:1
|
--> $DIR/simd-abi-checks-s390x.rs:135:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_wrapper_arg(x: Wrapper<i8x16>) -> i64 {
|
LL | extern "C" fn vector_wrapper_arg(x: Wrapper<i8x16>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -67,7 +67,7 @@ LL | extern "C" fn vector_wrapper_arg(x: Wrapper<i8x16>) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:148:1
|
--> $DIR/simd-abi-checks-s390x.rs:146:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_transparent_wrapper_arg_small(x: TransparentWrapper<i8x8>) -> i64 {
|
LL | extern "C" fn vector_transparent_wrapper_arg_small(x: TransparentWrapper<i8x8>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -75,7 +75,7 @@ LL | extern "C" fn vector_transparent_wrapper_arg_small(x: TransparentWrapper<i8
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:153:1
|
--> $DIR/simd-abi-checks-s390x.rs:151:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_transparent_wrapper_arg(x: TransparentWrapper<i8x16>) -> i64 {
|
LL | extern "C" fn vector_transparent_wrapper_arg(x: TransparentWrapper<i8x16>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,5 @@
|
||||||
warning: unstable feature specified for `-Ctarget-feature`: `vector`
|
|
||||||
|
|
|
||||||
= note: this feature is not stably supported; its behavior can change in the future
|
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:43:1
|
--> $DIR/simd-abi-checks-s390x.rs:41:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_ret_small(x: &i8x8) -> i8x8 {
|
LL | extern "C" fn vector_ret_small(x: &i8x8) -> i8x8 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -11,7 +7,7 @@ LL | extern "C" fn vector_ret_small(x: &i8x8) -> i8x8 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:48:1
|
--> $DIR/simd-abi-checks-s390x.rs:46:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_ret(x: &i8x16) -> i8x16 {
|
LL | extern "C" fn vector_ret(x: &i8x16) -> i8x16 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -19,7 +15,7 @@ LL | extern "C" fn vector_ret(x: &i8x16) -> i8x16 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:94:1
|
--> $DIR/simd-abi-checks-s390x.rs:92:1
|
||||||
|
|
|
|
||||||
LL | / extern "C" fn vector_transparent_wrapper_ret_small(
|
LL | / extern "C" fn vector_transparent_wrapper_ret_small(
|
||||||
LL | | x: &TransparentWrapper<i8x8>,
|
LL | | x: &TransparentWrapper<i8x8>,
|
||||||
|
|
@ -29,7 +25,7 @@ LL | | ) -> TransparentWrapper<i8x8> {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:101:1
|
--> $DIR/simd-abi-checks-s390x.rs:99:1
|
||||||
|
|
|
|
||||||
LL | / extern "C" fn vector_transparent_wrapper_ret(
|
LL | / extern "C" fn vector_transparent_wrapper_ret(
|
||||||
LL | | x: &TransparentWrapper<i8x16>,
|
LL | | x: &TransparentWrapper<i8x16>,
|
||||||
|
|
@ -39,7 +35,7 @@ LL | | ) -> TransparentWrapper<i8x16> {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:116:1
|
--> $DIR/simd-abi-checks-s390x.rs:114:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_arg_small(x: i8x8) -> i64 {
|
LL | extern "C" fn vector_arg_small(x: i8x8) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -47,7 +43,7 @@ LL | extern "C" fn vector_arg_small(x: i8x8) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:121:1
|
--> $DIR/simd-abi-checks-s390x.rs:119:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_arg(x: i8x16) -> i64 {
|
LL | extern "C" fn vector_arg(x: i8x16) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -55,7 +51,7 @@ LL | extern "C" fn vector_arg(x: i8x16) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `Wrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `Wrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:132:1
|
--> $DIR/simd-abi-checks-s390x.rs:130:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_wrapper_arg_small(x: Wrapper<i8x8>) -> i64 {
|
LL | extern "C" fn vector_wrapper_arg_small(x: Wrapper<i8x8>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -63,7 +59,7 @@ LL | extern "C" fn vector_wrapper_arg_small(x: Wrapper<i8x8>) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `Wrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `Wrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:137:1
|
--> $DIR/simd-abi-checks-s390x.rs:135:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_wrapper_arg(x: Wrapper<i8x16>) -> i64 {
|
LL | extern "C" fn vector_wrapper_arg(x: Wrapper<i8x16>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -71,7 +67,7 @@ LL | extern "C" fn vector_wrapper_arg(x: Wrapper<i8x16>) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:148:1
|
--> $DIR/simd-abi-checks-s390x.rs:146:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_transparent_wrapper_arg_small(x: TransparentWrapper<i8x8>) -> i64 {
|
LL | extern "C" fn vector_transparent_wrapper_arg_small(x: TransparentWrapper<i8x8>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -79,12 +75,12 @@ LL | extern "C" fn vector_transparent_wrapper_arg_small(x: TransparentWrapper<i8
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:153:1
|
--> $DIR/simd-abi-checks-s390x.rs:151:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_transparent_wrapper_arg(x: TransparentWrapper<i8x16>) -> i64 {
|
LL | extern "C" fn vector_transparent_wrapper_arg(x: TransparentWrapper<i8x16>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
|
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: aborting due to 10 previous errors; 1 warning emitted
|
error: aborting due to 10 previous errors
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
warning: unstable feature specified for `-Ctarget-feature`: `vector`
|
|
||||||
|
|
|
||||||
= note: this feature is not stably supported; its behavior can change in the future
|
|
||||||
|
|
||||||
warning: target feature `soft-float` cannot be enabled with `-Ctarget-feature`: currently unsupported ABI-configuration feature
|
warning: target feature `soft-float` cannot be enabled with `-Ctarget-feature`: currently unsupported ABI-configuration feature
|
||||||
|
|
|
|
||||||
= note: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
= note: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||||
|
|
@ -13,7 +9,7 @@ warning: target feature `soft-float` must be disabled to ensure that the ABI of
|
||||||
= note: for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344>
|
= note: for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344>
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:43:1
|
--> $DIR/simd-abi-checks-s390x.rs:41:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_ret_small(x: &i8x8) -> i8x8 {
|
LL | extern "C" fn vector_ret_small(x: &i8x8) -> i8x8 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -21,7 +17,7 @@ LL | extern "C" fn vector_ret_small(x: &i8x8) -> i8x8 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:48:1
|
--> $DIR/simd-abi-checks-s390x.rs:46:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_ret(x: &i8x16) -> i8x16 {
|
LL | extern "C" fn vector_ret(x: &i8x16) -> i8x16 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -29,7 +25,7 @@ LL | extern "C" fn vector_ret(x: &i8x16) -> i8x16 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:94:1
|
--> $DIR/simd-abi-checks-s390x.rs:92:1
|
||||||
|
|
|
|
||||||
LL | / extern "C" fn vector_transparent_wrapper_ret_small(
|
LL | / extern "C" fn vector_transparent_wrapper_ret_small(
|
||||||
LL | | x: &TransparentWrapper<i8x8>,
|
LL | | x: &TransparentWrapper<i8x8>,
|
||||||
|
|
@ -39,7 +35,7 @@ LL | | ) -> TransparentWrapper<i8x8> {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:101:1
|
--> $DIR/simd-abi-checks-s390x.rs:99:1
|
||||||
|
|
|
|
||||||
LL | / extern "C" fn vector_transparent_wrapper_ret(
|
LL | / extern "C" fn vector_transparent_wrapper_ret(
|
||||||
LL | | x: &TransparentWrapper<i8x16>,
|
LL | | x: &TransparentWrapper<i8x16>,
|
||||||
|
|
@ -49,7 +45,7 @@ LL | | ) -> TransparentWrapper<i8x16> {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:116:1
|
--> $DIR/simd-abi-checks-s390x.rs:114:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_arg_small(x: i8x8) -> i64 {
|
LL | extern "C" fn vector_arg_small(x: i8x8) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -57,7 +53,7 @@ LL | extern "C" fn vector_arg_small(x: i8x8) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `i8x16` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:121:1
|
--> $DIR/simd-abi-checks-s390x.rs:119:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_arg(x: i8x16) -> i64 {
|
LL | extern "C" fn vector_arg(x: i8x16) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -65,7 +61,7 @@ LL | extern "C" fn vector_arg(x: i8x16) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `Wrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `Wrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:132:1
|
--> $DIR/simd-abi-checks-s390x.rs:130:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_wrapper_arg_small(x: Wrapper<i8x8>) -> i64 {
|
LL | extern "C" fn vector_wrapper_arg_small(x: Wrapper<i8x8>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -73,7 +69,7 @@ LL | extern "C" fn vector_wrapper_arg_small(x: Wrapper<i8x8>) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `Wrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `Wrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:137:1
|
--> $DIR/simd-abi-checks-s390x.rs:135:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_wrapper_arg(x: Wrapper<i8x16>) -> i64 {
|
LL | extern "C" fn vector_wrapper_arg(x: Wrapper<i8x16>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -81,7 +77,7 @@ LL | extern "C" fn vector_wrapper_arg(x: Wrapper<i8x16>) -> i64 {
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x8>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:148:1
|
--> $DIR/simd-abi-checks-s390x.rs:146:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_transparent_wrapper_arg_small(x: TransparentWrapper<i8x8>) -> i64 {
|
LL | extern "C" fn vector_transparent_wrapper_arg_small(x: TransparentWrapper<i8x8>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
@ -89,12 +85,12 @@ LL | extern "C" fn vector_transparent_wrapper_arg_small(x: TransparentWrapper<i8
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
error: this function definition uses SIMD vector type `TransparentWrapper<i8x16>` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
|
||||||
--> $DIR/simd-abi-checks-s390x.rs:153:1
|
--> $DIR/simd-abi-checks-s390x.rs:151:1
|
||||||
|
|
|
|
||||||
LL | extern "C" fn vector_transparent_wrapper_arg(x: TransparentWrapper<i8x16>) -> i64 {
|
LL | extern "C" fn vector_transparent_wrapper_arg(x: TransparentWrapper<i8x16>) -> i64 {
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
||||||
|
|
|
|
||||||
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
= help: consider enabling it globally (`-C target-feature=+vector`) or locally (`#[target_feature(enable="vector")]`)
|
||||||
|
|
||||||
error: aborting due to 10 previous errors; 3 warnings emitted
|
error: aborting due to 10 previous errors; 2 warnings emitted
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
//@[s390x_vector_stable] needs-llvm-components: systemz
|
//@[s390x_vector_stable] needs-llvm-components: systemz
|
||||||
//@ ignore-backends: gcc
|
//@ ignore-backends: gcc
|
||||||
|
|
||||||
//~? WARN unstable feature specified for `-Ctarget-feature`
|
|
||||||
|
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![feature(no_core, repr_simd)]
|
#![feature(no_core, repr_simd)]
|
||||||
#![cfg_attr(not(s390x_vector_stable), feature(asm_experimental_reg))]
|
#![cfg_attr(not(s390x_vector_stable), feature(asm_experimental_reg))]
|
||||||
|
|
|
||||||
|
|
@ -1,153 +1,149 @@
|
||||||
warning: unstable feature specified for `-Ctarget-feature`: `vector`
|
|
||||||
|
|
|
||||||
= note: this feature is not stably supported; its behavior can change in the future
|
|
||||||
|
|
||||||
error: invalid register `r11`: The frame pointer cannot be used as an operand for inline asm
|
error: invalid register `r11`: The frame pointer cannot be used as an operand for inline asm
|
||||||
--> $DIR/bad-reg.rs:33:18
|
--> $DIR/bad-reg.rs:31:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("r11") _);
|
LL | asm!("", out("r11") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `r15`: The stack pointer cannot be used as an operand for inline asm
|
error: invalid register `r15`: The stack pointer cannot be used as an operand for inline asm
|
||||||
--> $DIR/bad-reg.rs:35:18
|
--> $DIR/bad-reg.rs:33:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("r15") _);
|
LL | asm!("", out("r15") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c0`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c0`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:37:18
|
--> $DIR/bad-reg.rs:35:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c0") _);
|
LL | asm!("", out("c0") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c1`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c1`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:39:18
|
--> $DIR/bad-reg.rs:37:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c1") _);
|
LL | asm!("", out("c1") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c2`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c2`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:41:18
|
--> $DIR/bad-reg.rs:39:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c2") _);
|
LL | asm!("", out("c2") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c3`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c3`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:43:18
|
--> $DIR/bad-reg.rs:41:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c3") _);
|
LL | asm!("", out("c3") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c4`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c4`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:45:18
|
--> $DIR/bad-reg.rs:43:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c4") _);
|
LL | asm!("", out("c4") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c5`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c5`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:47:18
|
--> $DIR/bad-reg.rs:45:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c5") _);
|
LL | asm!("", out("c5") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c6`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c6`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:49:18
|
--> $DIR/bad-reg.rs:47:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c6") _);
|
LL | asm!("", out("c6") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c7`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c7`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:51:18
|
--> $DIR/bad-reg.rs:49:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c7") _);
|
LL | asm!("", out("c7") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c8`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c8`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:53:18
|
--> $DIR/bad-reg.rs:51:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c8") _);
|
LL | asm!("", out("c8") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c9`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c9`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:55:18
|
--> $DIR/bad-reg.rs:53:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c9") _);
|
LL | asm!("", out("c9") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c10`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c10`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:57:18
|
--> $DIR/bad-reg.rs:55:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c10") _);
|
LL | asm!("", out("c10") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c11`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c11`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:59:18
|
--> $DIR/bad-reg.rs:57:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c11") _);
|
LL | asm!("", out("c11") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c12`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c12`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:61:18
|
--> $DIR/bad-reg.rs:59:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c12") _);
|
LL | asm!("", out("c12") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c13`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c13`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:63:18
|
--> $DIR/bad-reg.rs:61:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c13") _);
|
LL | asm!("", out("c13") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c14`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c14`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:65:18
|
--> $DIR/bad-reg.rs:63:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c14") _);
|
LL | asm!("", out("c14") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c15`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c15`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:67:18
|
--> $DIR/bad-reg.rs:65:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c15") _);
|
LL | asm!("", out("c15") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `a0`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
error: invalid register `a0`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:69:18
|
--> $DIR/bad-reg.rs:67:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a0") _);
|
LL | asm!("", out("a0") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `a1`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
error: invalid register `a1`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:71:18
|
--> $DIR/bad-reg.rs:69:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a1") _);
|
LL | asm!("", out("a1") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:122:18
|
--> $DIR/bad-reg.rs:120:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("a2") x);
|
LL | asm!("", in("a2") x);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:125:18
|
--> $DIR/bad-reg.rs:123:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a2") x);
|
LL | asm!("", out("a2") x);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:128:26
|
--> $DIR/bad-reg.rs:126:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(areg) x);
|
LL | asm!("/* {} */", in(areg) x);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:131:26
|
--> $DIR/bad-reg.rs:129:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", out(areg) _);
|
LL | asm!("/* {} */", out(areg) _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register `f0` conflicts with register `v0`
|
error: register `f0` conflicts with register `v0`
|
||||||
--> $DIR/bad-reg.rs:136:31
|
--> $DIR/bad-reg.rs:134:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") _, out("f0") _);
|
LL | asm!("", out("v0") _, out("f0") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f0`
|
| ----------- ^^^^^^^^^^^ register `f0`
|
||||||
|
|
@ -155,7 +151,7 @@ LL | asm!("", out("v0") _, out("f0") _);
|
||||||
| register `v0`
|
| register `v0`
|
||||||
|
|
||||||
error: register `f1` conflicts with register `v1`
|
error: register `f1` conflicts with register `v1`
|
||||||
--> $DIR/bad-reg.rs:138:31
|
--> $DIR/bad-reg.rs:136:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v1") _, out("f1") _);
|
LL | asm!("", out("v1") _, out("f1") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f1`
|
| ----------- ^^^^^^^^^^^ register `f1`
|
||||||
|
|
@ -163,7 +159,7 @@ LL | asm!("", out("v1") _, out("f1") _);
|
||||||
| register `v1`
|
| register `v1`
|
||||||
|
|
||||||
error: register `f2` conflicts with register `v2`
|
error: register `f2` conflicts with register `v2`
|
||||||
--> $DIR/bad-reg.rs:140:31
|
--> $DIR/bad-reg.rs:138:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v2") _, out("f2") _);
|
LL | asm!("", out("v2") _, out("f2") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f2`
|
| ----------- ^^^^^^^^^^^ register `f2`
|
||||||
|
|
@ -171,7 +167,7 @@ LL | asm!("", out("v2") _, out("f2") _);
|
||||||
| register `v2`
|
| register `v2`
|
||||||
|
|
||||||
error: register `f3` conflicts with register `v3`
|
error: register `f3` conflicts with register `v3`
|
||||||
--> $DIR/bad-reg.rs:142:31
|
--> $DIR/bad-reg.rs:140:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v3") _, out("f3") _);
|
LL | asm!("", out("v3") _, out("f3") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f3`
|
| ----------- ^^^^^^^^^^^ register `f3`
|
||||||
|
|
@ -179,7 +175,7 @@ LL | asm!("", out("v3") _, out("f3") _);
|
||||||
| register `v3`
|
| register `v3`
|
||||||
|
|
||||||
error: register `f4` conflicts with register `v4`
|
error: register `f4` conflicts with register `v4`
|
||||||
--> $DIR/bad-reg.rs:144:31
|
--> $DIR/bad-reg.rs:142:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v4") _, out("f4") _);
|
LL | asm!("", out("v4") _, out("f4") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f4`
|
| ----------- ^^^^^^^^^^^ register `f4`
|
||||||
|
|
@ -187,7 +183,7 @@ LL | asm!("", out("v4") _, out("f4") _);
|
||||||
| register `v4`
|
| register `v4`
|
||||||
|
|
||||||
error: register `f5` conflicts with register `v5`
|
error: register `f5` conflicts with register `v5`
|
||||||
--> $DIR/bad-reg.rs:146:31
|
--> $DIR/bad-reg.rs:144:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v5") _, out("f5") _);
|
LL | asm!("", out("v5") _, out("f5") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f5`
|
| ----------- ^^^^^^^^^^^ register `f5`
|
||||||
|
|
@ -195,7 +191,7 @@ LL | asm!("", out("v5") _, out("f5") _);
|
||||||
| register `v5`
|
| register `v5`
|
||||||
|
|
||||||
error: register `f6` conflicts with register `v6`
|
error: register `f6` conflicts with register `v6`
|
||||||
--> $DIR/bad-reg.rs:148:31
|
--> $DIR/bad-reg.rs:146:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v6") _, out("f6") _);
|
LL | asm!("", out("v6") _, out("f6") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f6`
|
| ----------- ^^^^^^^^^^^ register `f6`
|
||||||
|
|
@ -203,7 +199,7 @@ LL | asm!("", out("v6") _, out("f6") _);
|
||||||
| register `v6`
|
| register `v6`
|
||||||
|
|
||||||
error: register `f7` conflicts with register `v7`
|
error: register `f7` conflicts with register `v7`
|
||||||
--> $DIR/bad-reg.rs:150:31
|
--> $DIR/bad-reg.rs:148:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v7") _, out("f7") _);
|
LL | asm!("", out("v7") _, out("f7") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f7`
|
| ----------- ^^^^^^^^^^^ register `f7`
|
||||||
|
|
@ -211,7 +207,7 @@ LL | asm!("", out("v7") _, out("f7") _);
|
||||||
| register `v7`
|
| register `v7`
|
||||||
|
|
||||||
error: register `f8` conflicts with register `v8`
|
error: register `f8` conflicts with register `v8`
|
||||||
--> $DIR/bad-reg.rs:152:31
|
--> $DIR/bad-reg.rs:150:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v8") _, out("f8") _);
|
LL | asm!("", out("v8") _, out("f8") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f8`
|
| ----------- ^^^^^^^^^^^ register `f8`
|
||||||
|
|
@ -219,7 +215,7 @@ LL | asm!("", out("v8") _, out("f8") _);
|
||||||
| register `v8`
|
| register `v8`
|
||||||
|
|
||||||
error: register `f9` conflicts with register `v9`
|
error: register `f9` conflicts with register `v9`
|
||||||
--> $DIR/bad-reg.rs:154:31
|
--> $DIR/bad-reg.rs:152:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v9") _, out("f9") _);
|
LL | asm!("", out("v9") _, out("f9") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f9`
|
| ----------- ^^^^^^^^^^^ register `f9`
|
||||||
|
|
@ -227,7 +223,7 @@ LL | asm!("", out("v9") _, out("f9") _);
|
||||||
| register `v9`
|
| register `v9`
|
||||||
|
|
||||||
error: register `f10` conflicts with register `v10`
|
error: register `f10` conflicts with register `v10`
|
||||||
--> $DIR/bad-reg.rs:156:32
|
--> $DIR/bad-reg.rs:154:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v10") _, out("f10") _);
|
LL | asm!("", out("v10") _, out("f10") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f10`
|
| ------------ ^^^^^^^^^^^^ register `f10`
|
||||||
|
|
@ -235,7 +231,7 @@ LL | asm!("", out("v10") _, out("f10") _);
|
||||||
| register `v10`
|
| register `v10`
|
||||||
|
|
||||||
error: register `f11` conflicts with register `v11`
|
error: register `f11` conflicts with register `v11`
|
||||||
--> $DIR/bad-reg.rs:158:32
|
--> $DIR/bad-reg.rs:156:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v11") _, out("f11") _);
|
LL | asm!("", out("v11") _, out("f11") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f11`
|
| ------------ ^^^^^^^^^^^^ register `f11`
|
||||||
|
|
@ -243,7 +239,7 @@ LL | asm!("", out("v11") _, out("f11") _);
|
||||||
| register `v11`
|
| register `v11`
|
||||||
|
|
||||||
error: register `f12` conflicts with register `v12`
|
error: register `f12` conflicts with register `v12`
|
||||||
--> $DIR/bad-reg.rs:160:32
|
--> $DIR/bad-reg.rs:158:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v12") _, out("f12") _);
|
LL | asm!("", out("v12") _, out("f12") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f12`
|
| ------------ ^^^^^^^^^^^^ register `f12`
|
||||||
|
|
@ -251,7 +247,7 @@ LL | asm!("", out("v12") _, out("f12") _);
|
||||||
| register `v12`
|
| register `v12`
|
||||||
|
|
||||||
error: register `f13` conflicts with register `v13`
|
error: register `f13` conflicts with register `v13`
|
||||||
--> $DIR/bad-reg.rs:162:32
|
--> $DIR/bad-reg.rs:160:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v13") _, out("f13") _);
|
LL | asm!("", out("v13") _, out("f13") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f13`
|
| ------------ ^^^^^^^^^^^^ register `f13`
|
||||||
|
|
@ -259,7 +255,7 @@ LL | asm!("", out("v13") _, out("f13") _);
|
||||||
| register `v13`
|
| register `v13`
|
||||||
|
|
||||||
error: register `f14` conflicts with register `v14`
|
error: register `f14` conflicts with register `v14`
|
||||||
--> $DIR/bad-reg.rs:164:32
|
--> $DIR/bad-reg.rs:162:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v14") _, out("f14") _);
|
LL | asm!("", out("v14") _, out("f14") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f14`
|
| ------------ ^^^^^^^^^^^^ register `f14`
|
||||||
|
|
@ -267,7 +263,7 @@ LL | asm!("", out("v14") _, out("f14") _);
|
||||||
| register `v14`
|
| register `v14`
|
||||||
|
|
||||||
error: register `f15` conflicts with register `v15`
|
error: register `f15` conflicts with register `v15`
|
||||||
--> $DIR/bad-reg.rs:166:32
|
--> $DIR/bad-reg.rs:164:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v15") _, out("f15") _);
|
LL | asm!("", out("v15") _, out("f15") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f15`
|
| ------------ ^^^^^^^^^^^^ register `f15`
|
||||||
|
|
@ -275,73 +271,73 @@ LL | asm!("", out("v15") _, out("f15") _);
|
||||||
| register `v15`
|
| register `v15`
|
||||||
|
|
||||||
error: invalid register `f16`: unknown register
|
error: invalid register `f16`: unknown register
|
||||||
--> $DIR/bad-reg.rs:169:32
|
--> $DIR/bad-reg.rs:167:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v16") _, out("f16") _);
|
LL | asm!("", out("v16") _, out("f16") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:76:18
|
--> $DIR/bad-reg.rs:74:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") v); // requires vector & asm_experimental_reg
|
LL | asm!("", in("v0") v); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:80:18
|
--> $DIR/bad-reg.rs:78:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") v); // requires vector & asm_experimental_reg
|
LL | asm!("", out("v0") v); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:84:18
|
--> $DIR/bad-reg.rs:82:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") x); // requires vector & asm_experimental_reg
|
LL | asm!("", in("v0") x); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:88:18
|
--> $DIR/bad-reg.rs:86:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") x); // requires vector & asm_experimental_reg
|
LL | asm!("", out("v0") x); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:92:18
|
--> $DIR/bad-reg.rs:90:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") b);
|
LL | asm!("", in("v0") b);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:97:18
|
--> $DIR/bad-reg.rs:95:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") b);
|
LL | asm!("", out("v0") b);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:102:26
|
--> $DIR/bad-reg.rs:100:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) v); // requires vector & asm_experimental_reg
|
LL | asm!("/* {} */", in(vreg) v); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:106:26
|
--> $DIR/bad-reg.rs:104:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) x); // requires vector & asm_experimental_reg
|
LL | asm!("/* {} */", in(vreg) x); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:110:26
|
--> $DIR/bad-reg.rs:108:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) b);
|
LL | asm!("/* {} */", in(vreg) b);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `vreg` requires the `vector` target feature
|
error: register class `vreg` requires the `vector` target feature
|
||||||
--> $DIR/bad-reg.rs:115:26
|
--> $DIR/bad-reg.rs:113:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", out(vreg) _); // requires vector & asm_experimental_reg
|
LL | asm!("/* {} */", out(vreg) _); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: type `i32` cannot be used with this register class
|
error: type `i32` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:122:27
|
--> $DIR/bad-reg.rs:120:27
|
||||||
|
|
|
|
||||||
LL | asm!("", in("a2") x);
|
LL | asm!("", in("a2") x);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -349,7 +345,7 @@ LL | asm!("", in("a2") x);
|
||||||
= note: register class `areg` supports these types:
|
= note: register class `areg` supports these types:
|
||||||
|
|
||||||
error: type `i32` cannot be used with this register class
|
error: type `i32` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:125:28
|
--> $DIR/bad-reg.rs:123:28
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a2") x);
|
LL | asm!("", out("a2") x);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -357,12 +353,12 @@ LL | asm!("", out("a2") x);
|
||||||
= note: register class `areg` supports these types:
|
= note: register class `areg` supports these types:
|
||||||
|
|
||||||
error: type `i32` cannot be used with this register class
|
error: type `i32` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:128:35
|
--> $DIR/bad-reg.rs:126:35
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(areg) x);
|
LL | asm!("/* {} */", in(areg) x);
|
||||||
| ^
|
| ^
|
||||||
|
|
|
|
||||||
= note: register class `areg` supports these types:
|
= note: register class `areg` supports these types:
|
||||||
|
|
||||||
error: aborting due to 54 previous errors; 1 warning emitted
|
error: aborting due to 54 previous errors
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,153 +1,149 @@
|
||||||
warning: unstable feature specified for `-Ctarget-feature`: `vector`
|
|
||||||
|
|
|
||||||
= note: this feature is not stably supported; its behavior can change in the future
|
|
||||||
|
|
||||||
error: invalid register `r11`: The frame pointer cannot be used as an operand for inline asm
|
error: invalid register `r11`: The frame pointer cannot be used as an operand for inline asm
|
||||||
--> $DIR/bad-reg.rs:33:18
|
--> $DIR/bad-reg.rs:31:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("r11") _);
|
LL | asm!("", out("r11") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `r15`: The stack pointer cannot be used as an operand for inline asm
|
error: invalid register `r15`: The stack pointer cannot be used as an operand for inline asm
|
||||||
--> $DIR/bad-reg.rs:35:18
|
--> $DIR/bad-reg.rs:33:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("r15") _);
|
LL | asm!("", out("r15") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c0`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c0`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:37:18
|
--> $DIR/bad-reg.rs:35:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c0") _);
|
LL | asm!("", out("c0") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c1`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c1`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:39:18
|
--> $DIR/bad-reg.rs:37:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c1") _);
|
LL | asm!("", out("c1") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c2`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c2`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:41:18
|
--> $DIR/bad-reg.rs:39:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c2") _);
|
LL | asm!("", out("c2") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c3`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c3`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:43:18
|
--> $DIR/bad-reg.rs:41:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c3") _);
|
LL | asm!("", out("c3") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c4`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c4`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:45:18
|
--> $DIR/bad-reg.rs:43:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c4") _);
|
LL | asm!("", out("c4") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c5`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c5`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:47:18
|
--> $DIR/bad-reg.rs:45:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c5") _);
|
LL | asm!("", out("c5") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c6`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c6`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:49:18
|
--> $DIR/bad-reg.rs:47:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c6") _);
|
LL | asm!("", out("c6") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c7`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c7`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:51:18
|
--> $DIR/bad-reg.rs:49:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c7") _);
|
LL | asm!("", out("c7") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c8`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c8`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:53:18
|
--> $DIR/bad-reg.rs:51:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c8") _);
|
LL | asm!("", out("c8") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c9`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c9`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:55:18
|
--> $DIR/bad-reg.rs:53:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c9") _);
|
LL | asm!("", out("c9") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c10`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c10`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:57:18
|
--> $DIR/bad-reg.rs:55:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c10") _);
|
LL | asm!("", out("c10") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c11`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c11`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:59:18
|
--> $DIR/bad-reg.rs:57:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c11") _);
|
LL | asm!("", out("c11") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c12`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c12`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:61:18
|
--> $DIR/bad-reg.rs:59:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c12") _);
|
LL | asm!("", out("c12") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c13`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c13`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:63:18
|
--> $DIR/bad-reg.rs:61:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c13") _);
|
LL | asm!("", out("c13") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c14`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c14`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:65:18
|
--> $DIR/bad-reg.rs:63:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c14") _);
|
LL | asm!("", out("c14") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c15`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c15`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:67:18
|
--> $DIR/bad-reg.rs:65:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c15") _);
|
LL | asm!("", out("c15") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `a0`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
error: invalid register `a0`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:69:18
|
--> $DIR/bad-reg.rs:67:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a0") _);
|
LL | asm!("", out("a0") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `a1`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
error: invalid register `a1`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:71:18
|
--> $DIR/bad-reg.rs:69:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a1") _);
|
LL | asm!("", out("a1") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:122:18
|
--> $DIR/bad-reg.rs:120:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("a2") x);
|
LL | asm!("", in("a2") x);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:125:18
|
--> $DIR/bad-reg.rs:123:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a2") x);
|
LL | asm!("", out("a2") x);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:128:26
|
--> $DIR/bad-reg.rs:126:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(areg) x);
|
LL | asm!("/* {} */", in(areg) x);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:131:26
|
--> $DIR/bad-reg.rs:129:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", out(areg) _);
|
LL | asm!("/* {} */", out(areg) _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register `f0` conflicts with register `v0`
|
error: register `f0` conflicts with register `v0`
|
||||||
--> $DIR/bad-reg.rs:136:31
|
--> $DIR/bad-reg.rs:134:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") _, out("f0") _);
|
LL | asm!("", out("v0") _, out("f0") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f0`
|
| ----------- ^^^^^^^^^^^ register `f0`
|
||||||
|
|
@ -155,7 +151,7 @@ LL | asm!("", out("v0") _, out("f0") _);
|
||||||
| register `v0`
|
| register `v0`
|
||||||
|
|
||||||
error: register `f1` conflicts with register `v1`
|
error: register `f1` conflicts with register `v1`
|
||||||
--> $DIR/bad-reg.rs:138:31
|
--> $DIR/bad-reg.rs:136:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v1") _, out("f1") _);
|
LL | asm!("", out("v1") _, out("f1") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f1`
|
| ----------- ^^^^^^^^^^^ register `f1`
|
||||||
|
|
@ -163,7 +159,7 @@ LL | asm!("", out("v1") _, out("f1") _);
|
||||||
| register `v1`
|
| register `v1`
|
||||||
|
|
||||||
error: register `f2` conflicts with register `v2`
|
error: register `f2` conflicts with register `v2`
|
||||||
--> $DIR/bad-reg.rs:140:31
|
--> $DIR/bad-reg.rs:138:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v2") _, out("f2") _);
|
LL | asm!("", out("v2") _, out("f2") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f2`
|
| ----------- ^^^^^^^^^^^ register `f2`
|
||||||
|
|
@ -171,7 +167,7 @@ LL | asm!("", out("v2") _, out("f2") _);
|
||||||
| register `v2`
|
| register `v2`
|
||||||
|
|
||||||
error: register `f3` conflicts with register `v3`
|
error: register `f3` conflicts with register `v3`
|
||||||
--> $DIR/bad-reg.rs:142:31
|
--> $DIR/bad-reg.rs:140:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v3") _, out("f3") _);
|
LL | asm!("", out("v3") _, out("f3") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f3`
|
| ----------- ^^^^^^^^^^^ register `f3`
|
||||||
|
|
@ -179,7 +175,7 @@ LL | asm!("", out("v3") _, out("f3") _);
|
||||||
| register `v3`
|
| register `v3`
|
||||||
|
|
||||||
error: register `f4` conflicts with register `v4`
|
error: register `f4` conflicts with register `v4`
|
||||||
--> $DIR/bad-reg.rs:144:31
|
--> $DIR/bad-reg.rs:142:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v4") _, out("f4") _);
|
LL | asm!("", out("v4") _, out("f4") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f4`
|
| ----------- ^^^^^^^^^^^ register `f4`
|
||||||
|
|
@ -187,7 +183,7 @@ LL | asm!("", out("v4") _, out("f4") _);
|
||||||
| register `v4`
|
| register `v4`
|
||||||
|
|
||||||
error: register `f5` conflicts with register `v5`
|
error: register `f5` conflicts with register `v5`
|
||||||
--> $DIR/bad-reg.rs:146:31
|
--> $DIR/bad-reg.rs:144:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v5") _, out("f5") _);
|
LL | asm!("", out("v5") _, out("f5") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f5`
|
| ----------- ^^^^^^^^^^^ register `f5`
|
||||||
|
|
@ -195,7 +191,7 @@ LL | asm!("", out("v5") _, out("f5") _);
|
||||||
| register `v5`
|
| register `v5`
|
||||||
|
|
||||||
error: register `f6` conflicts with register `v6`
|
error: register `f6` conflicts with register `v6`
|
||||||
--> $DIR/bad-reg.rs:148:31
|
--> $DIR/bad-reg.rs:146:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v6") _, out("f6") _);
|
LL | asm!("", out("v6") _, out("f6") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f6`
|
| ----------- ^^^^^^^^^^^ register `f6`
|
||||||
|
|
@ -203,7 +199,7 @@ LL | asm!("", out("v6") _, out("f6") _);
|
||||||
| register `v6`
|
| register `v6`
|
||||||
|
|
||||||
error: register `f7` conflicts with register `v7`
|
error: register `f7` conflicts with register `v7`
|
||||||
--> $DIR/bad-reg.rs:150:31
|
--> $DIR/bad-reg.rs:148:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v7") _, out("f7") _);
|
LL | asm!("", out("v7") _, out("f7") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f7`
|
| ----------- ^^^^^^^^^^^ register `f7`
|
||||||
|
|
@ -211,7 +207,7 @@ LL | asm!("", out("v7") _, out("f7") _);
|
||||||
| register `v7`
|
| register `v7`
|
||||||
|
|
||||||
error: register `f8` conflicts with register `v8`
|
error: register `f8` conflicts with register `v8`
|
||||||
--> $DIR/bad-reg.rs:152:31
|
--> $DIR/bad-reg.rs:150:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v8") _, out("f8") _);
|
LL | asm!("", out("v8") _, out("f8") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f8`
|
| ----------- ^^^^^^^^^^^ register `f8`
|
||||||
|
|
@ -219,7 +215,7 @@ LL | asm!("", out("v8") _, out("f8") _);
|
||||||
| register `v8`
|
| register `v8`
|
||||||
|
|
||||||
error: register `f9` conflicts with register `v9`
|
error: register `f9` conflicts with register `v9`
|
||||||
--> $DIR/bad-reg.rs:154:31
|
--> $DIR/bad-reg.rs:152:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v9") _, out("f9") _);
|
LL | asm!("", out("v9") _, out("f9") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f9`
|
| ----------- ^^^^^^^^^^^ register `f9`
|
||||||
|
|
@ -227,7 +223,7 @@ LL | asm!("", out("v9") _, out("f9") _);
|
||||||
| register `v9`
|
| register `v9`
|
||||||
|
|
||||||
error: register `f10` conflicts with register `v10`
|
error: register `f10` conflicts with register `v10`
|
||||||
--> $DIR/bad-reg.rs:156:32
|
--> $DIR/bad-reg.rs:154:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v10") _, out("f10") _);
|
LL | asm!("", out("v10") _, out("f10") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f10`
|
| ------------ ^^^^^^^^^^^^ register `f10`
|
||||||
|
|
@ -235,7 +231,7 @@ LL | asm!("", out("v10") _, out("f10") _);
|
||||||
| register `v10`
|
| register `v10`
|
||||||
|
|
||||||
error: register `f11` conflicts with register `v11`
|
error: register `f11` conflicts with register `v11`
|
||||||
--> $DIR/bad-reg.rs:158:32
|
--> $DIR/bad-reg.rs:156:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v11") _, out("f11") _);
|
LL | asm!("", out("v11") _, out("f11") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f11`
|
| ------------ ^^^^^^^^^^^^ register `f11`
|
||||||
|
|
@ -243,7 +239,7 @@ LL | asm!("", out("v11") _, out("f11") _);
|
||||||
| register `v11`
|
| register `v11`
|
||||||
|
|
||||||
error: register `f12` conflicts with register `v12`
|
error: register `f12` conflicts with register `v12`
|
||||||
--> $DIR/bad-reg.rs:160:32
|
--> $DIR/bad-reg.rs:158:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v12") _, out("f12") _);
|
LL | asm!("", out("v12") _, out("f12") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f12`
|
| ------------ ^^^^^^^^^^^^ register `f12`
|
||||||
|
|
@ -251,7 +247,7 @@ LL | asm!("", out("v12") _, out("f12") _);
|
||||||
| register `v12`
|
| register `v12`
|
||||||
|
|
||||||
error: register `f13` conflicts with register `v13`
|
error: register `f13` conflicts with register `v13`
|
||||||
--> $DIR/bad-reg.rs:162:32
|
--> $DIR/bad-reg.rs:160:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v13") _, out("f13") _);
|
LL | asm!("", out("v13") _, out("f13") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f13`
|
| ------------ ^^^^^^^^^^^^ register `f13`
|
||||||
|
|
@ -259,7 +255,7 @@ LL | asm!("", out("v13") _, out("f13") _);
|
||||||
| register `v13`
|
| register `v13`
|
||||||
|
|
||||||
error: register `f14` conflicts with register `v14`
|
error: register `f14` conflicts with register `v14`
|
||||||
--> $DIR/bad-reg.rs:164:32
|
--> $DIR/bad-reg.rs:162:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v14") _, out("f14") _);
|
LL | asm!("", out("v14") _, out("f14") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f14`
|
| ------------ ^^^^^^^^^^^^ register `f14`
|
||||||
|
|
@ -267,7 +263,7 @@ LL | asm!("", out("v14") _, out("f14") _);
|
||||||
| register `v14`
|
| register `v14`
|
||||||
|
|
||||||
error: register `f15` conflicts with register `v15`
|
error: register `f15` conflicts with register `v15`
|
||||||
--> $DIR/bad-reg.rs:166:32
|
--> $DIR/bad-reg.rs:164:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v15") _, out("f15") _);
|
LL | asm!("", out("v15") _, out("f15") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f15`
|
| ------------ ^^^^^^^^^^^^ register `f15`
|
||||||
|
|
@ -275,13 +271,13 @@ LL | asm!("", out("v15") _, out("f15") _);
|
||||||
| register `v15`
|
| register `v15`
|
||||||
|
|
||||||
error: invalid register `f16`: unknown register
|
error: invalid register `f16`: unknown register
|
||||||
--> $DIR/bad-reg.rs:169:32
|
--> $DIR/bad-reg.rs:167:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v16") _, out("f16") _);
|
LL | asm!("", out("v16") _, out("f16") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: type `u8` cannot be used with this register class
|
error: type `u8` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:92:27
|
--> $DIR/bad-reg.rs:90:27
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") b);
|
LL | asm!("", in("v0") b);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -289,7 +285,7 @@ LL | asm!("", in("v0") b);
|
||||||
= note: register class `vreg` supports these types: i32, f32, i64, f64, i128, f128, i8x16, i16x8, i32x4, i64x2, f32x4, f64x2
|
= note: register class `vreg` supports these types: i32, f32, i64, f64, i128, f128, i8x16, i16x8, i32x4, i64x2, f32x4, f64x2
|
||||||
|
|
||||||
error: type `u8` cannot be used with this register class
|
error: type `u8` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:97:28
|
--> $DIR/bad-reg.rs:95:28
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") b);
|
LL | asm!("", out("v0") b);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -297,7 +293,7 @@ LL | asm!("", out("v0") b);
|
||||||
= note: register class `vreg` supports these types: i32, f32, i64, f64, i128, f128, i8x16, i16x8, i32x4, i64x2, f32x4, f64x2
|
= note: register class `vreg` supports these types: i32, f32, i64, f64, i128, f128, i8x16, i16x8, i32x4, i64x2, f32x4, f64x2
|
||||||
|
|
||||||
error: type `u8` cannot be used with this register class
|
error: type `u8` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:110:35
|
--> $DIR/bad-reg.rs:108:35
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) b);
|
LL | asm!("/* {} */", in(vreg) b);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -305,7 +301,7 @@ LL | asm!("/* {} */", in(vreg) b);
|
||||||
= note: register class `vreg` supports these types: i32, f32, i64, f64, i128, f128, i8x16, i16x8, i32x4, i64x2, f32x4, f64x2
|
= note: register class `vreg` supports these types: i32, f32, i64, f64, i128, f128, i8x16, i16x8, i32x4, i64x2, f32x4, f64x2
|
||||||
|
|
||||||
error: type `i32` cannot be used with this register class
|
error: type `i32` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:122:27
|
--> $DIR/bad-reg.rs:120:27
|
||||||
|
|
|
|
||||||
LL | asm!("", in("a2") x);
|
LL | asm!("", in("a2") x);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -313,7 +309,7 @@ LL | asm!("", in("a2") x);
|
||||||
= note: register class `areg` supports these types:
|
= note: register class `areg` supports these types:
|
||||||
|
|
||||||
error: type `i32` cannot be used with this register class
|
error: type `i32` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:125:28
|
--> $DIR/bad-reg.rs:123:28
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a2") x);
|
LL | asm!("", out("a2") x);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -321,12 +317,12 @@ LL | asm!("", out("a2") x);
|
||||||
= note: register class `areg` supports these types:
|
= note: register class `areg` supports these types:
|
||||||
|
|
||||||
error: type `i32` cannot be used with this register class
|
error: type `i32` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:128:35
|
--> $DIR/bad-reg.rs:126:35
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(areg) x);
|
LL | asm!("/* {} */", in(areg) x);
|
||||||
| ^
|
| ^
|
||||||
|
|
|
|
||||||
= note: register class `areg` supports these types:
|
= note: register class `areg` supports these types:
|
||||||
|
|
||||||
error: aborting due to 47 previous errors; 1 warning emitted
|
error: aborting due to 47 previous errors
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,129 +1,125 @@
|
||||||
warning: unstable feature specified for `-Ctarget-feature`: `vector`
|
|
||||||
|
|
|
||||||
= note: this feature is not stably supported; its behavior can change in the future
|
|
||||||
|
|
||||||
error: invalid register `r11`: The frame pointer cannot be used as an operand for inline asm
|
error: invalid register `r11`: The frame pointer cannot be used as an operand for inline asm
|
||||||
--> $DIR/bad-reg.rs:33:18
|
--> $DIR/bad-reg.rs:31:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("r11") _);
|
LL | asm!("", out("r11") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `r15`: The stack pointer cannot be used as an operand for inline asm
|
error: invalid register `r15`: The stack pointer cannot be used as an operand for inline asm
|
||||||
--> $DIR/bad-reg.rs:35:18
|
--> $DIR/bad-reg.rs:33:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("r15") _);
|
LL | asm!("", out("r15") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c0`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c0`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:37:18
|
--> $DIR/bad-reg.rs:35:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c0") _);
|
LL | asm!("", out("c0") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c1`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c1`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:39:18
|
--> $DIR/bad-reg.rs:37:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c1") _);
|
LL | asm!("", out("c1") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c2`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c2`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:41:18
|
--> $DIR/bad-reg.rs:39:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c2") _);
|
LL | asm!("", out("c2") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c3`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c3`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:43:18
|
--> $DIR/bad-reg.rs:41:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c3") _);
|
LL | asm!("", out("c3") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c4`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c4`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:45:18
|
--> $DIR/bad-reg.rs:43:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c4") _);
|
LL | asm!("", out("c4") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c5`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c5`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:47:18
|
--> $DIR/bad-reg.rs:45:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c5") _);
|
LL | asm!("", out("c5") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c6`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c6`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:49:18
|
--> $DIR/bad-reg.rs:47:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c6") _);
|
LL | asm!("", out("c6") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c7`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c7`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:51:18
|
--> $DIR/bad-reg.rs:49:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c7") _);
|
LL | asm!("", out("c7") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c8`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c8`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:53:18
|
--> $DIR/bad-reg.rs:51:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c8") _);
|
LL | asm!("", out("c8") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c9`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c9`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:55:18
|
--> $DIR/bad-reg.rs:53:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c9") _);
|
LL | asm!("", out("c9") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c10`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c10`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:57:18
|
--> $DIR/bad-reg.rs:55:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c10") _);
|
LL | asm!("", out("c10") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c11`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c11`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:59:18
|
--> $DIR/bad-reg.rs:57:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c11") _);
|
LL | asm!("", out("c11") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c12`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c12`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:61:18
|
--> $DIR/bad-reg.rs:59:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c12") _);
|
LL | asm!("", out("c12") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c13`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c13`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:63:18
|
--> $DIR/bad-reg.rs:61:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c13") _);
|
LL | asm!("", out("c13") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c14`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c14`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:65:18
|
--> $DIR/bad-reg.rs:63:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c14") _);
|
LL | asm!("", out("c14") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `c15`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
error: invalid register `c15`: control registers are reserved by the kernel and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:67:18
|
--> $DIR/bad-reg.rs:65:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("c15") _);
|
LL | asm!("", out("c15") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `a0`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
error: invalid register `a0`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:69:18
|
--> $DIR/bad-reg.rs:67:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a0") _);
|
LL | asm!("", out("a0") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: invalid register `a1`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
error: invalid register `a1`: a0 and a1 are reserved for system use and cannot be used as operands for inline asm
|
||||||
--> $DIR/bad-reg.rs:71:18
|
--> $DIR/bad-reg.rs:69:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a1") _);
|
LL | asm!("", out("a1") _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:76:18
|
--> $DIR/bad-reg.rs:74:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") v); // requires vector & asm_experimental_reg
|
LL | asm!("", in("v0") v); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
@ -133,7 +129,7 @@ LL | asm!("", in("v0") v); // requires vector & asm_experimental_reg
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:80:18
|
--> $DIR/bad-reg.rs:78:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") v); // requires vector & asm_experimental_reg
|
LL | asm!("", out("v0") v); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
@ -143,7 +139,7 @@ LL | asm!("", out("v0") v); // requires vector & asm_experimental_reg
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:84:18
|
--> $DIR/bad-reg.rs:82:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") x); // requires vector & asm_experimental_reg
|
LL | asm!("", in("v0") x); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
@ -153,7 +149,7 @@ LL | asm!("", in("v0") x); // requires vector & asm_experimental_reg
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:88:18
|
--> $DIR/bad-reg.rs:86:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") x); // requires vector & asm_experimental_reg
|
LL | asm!("", out("v0") x); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
@ -163,7 +159,7 @@ LL | asm!("", out("v0") x); // requires vector & asm_experimental_reg
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:92:18
|
--> $DIR/bad-reg.rs:90:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") b);
|
LL | asm!("", in("v0") b);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
@ -173,7 +169,7 @@ LL | asm!("", in("v0") b);
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:97:18
|
--> $DIR/bad-reg.rs:95:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") b);
|
LL | asm!("", out("v0") b);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
@ -183,7 +179,7 @@ LL | asm!("", out("v0") b);
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:102:26
|
--> $DIR/bad-reg.rs:100:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) v); // requires vector & asm_experimental_reg
|
LL | asm!("/* {} */", in(vreg) v); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
@ -193,7 +189,7 @@ LL | asm!("/* {} */", in(vreg) v); // requires vector & asm_experimental
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:106:26
|
--> $DIR/bad-reg.rs:104:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) x); // requires vector & asm_experimental_reg
|
LL | asm!("/* {} */", in(vreg) x); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
@ -203,7 +199,7 @@ LL | asm!("/* {} */", in(vreg) x); // requires vector & asm_experimental
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:110:26
|
--> $DIR/bad-reg.rs:108:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) b);
|
LL | asm!("/* {} */", in(vreg) b);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
@ -213,7 +209,7 @@ LL | asm!("/* {} */", in(vreg) b);
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
error[E0658]: register class `vreg` can only be used as a clobber in stable
|
||||||
--> $DIR/bad-reg.rs:115:26
|
--> $DIR/bad-reg.rs:113:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", out(vreg) _); // requires vector & asm_experimental_reg
|
LL | asm!("/* {} */", out(vreg) _); // requires vector & asm_experimental_reg
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
@ -223,31 +219,31 @@ LL | asm!("/* {} */", out(vreg) _); // requires vector & asm_experimenta
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:122:18
|
--> $DIR/bad-reg.rs:120:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("a2") x);
|
LL | asm!("", in("a2") x);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:125:18
|
--> $DIR/bad-reg.rs:123:18
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a2") x);
|
LL | asm!("", out("a2") x);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:128:26
|
--> $DIR/bad-reg.rs:126:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(areg) x);
|
LL | asm!("/* {} */", in(areg) x);
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
|
||||||
error: register class `areg` can only be used as a clobber, not as an input or output
|
error: register class `areg` can only be used as a clobber, not as an input or output
|
||||||
--> $DIR/bad-reg.rs:131:26
|
--> $DIR/bad-reg.rs:129:26
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", out(areg) _);
|
LL | asm!("/* {} */", out(areg) _);
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: register `f0` conflicts with register `v0`
|
error: register `f0` conflicts with register `v0`
|
||||||
--> $DIR/bad-reg.rs:136:31
|
--> $DIR/bad-reg.rs:134:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") _, out("f0") _);
|
LL | asm!("", out("v0") _, out("f0") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f0`
|
| ----------- ^^^^^^^^^^^ register `f0`
|
||||||
|
|
@ -255,7 +251,7 @@ LL | asm!("", out("v0") _, out("f0") _);
|
||||||
| register `v0`
|
| register `v0`
|
||||||
|
|
||||||
error: register `f1` conflicts with register `v1`
|
error: register `f1` conflicts with register `v1`
|
||||||
--> $DIR/bad-reg.rs:138:31
|
--> $DIR/bad-reg.rs:136:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v1") _, out("f1") _);
|
LL | asm!("", out("v1") _, out("f1") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f1`
|
| ----------- ^^^^^^^^^^^ register `f1`
|
||||||
|
|
@ -263,7 +259,7 @@ LL | asm!("", out("v1") _, out("f1") _);
|
||||||
| register `v1`
|
| register `v1`
|
||||||
|
|
||||||
error: register `f2` conflicts with register `v2`
|
error: register `f2` conflicts with register `v2`
|
||||||
--> $DIR/bad-reg.rs:140:31
|
--> $DIR/bad-reg.rs:138:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v2") _, out("f2") _);
|
LL | asm!("", out("v2") _, out("f2") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f2`
|
| ----------- ^^^^^^^^^^^ register `f2`
|
||||||
|
|
@ -271,7 +267,7 @@ LL | asm!("", out("v2") _, out("f2") _);
|
||||||
| register `v2`
|
| register `v2`
|
||||||
|
|
||||||
error: register `f3` conflicts with register `v3`
|
error: register `f3` conflicts with register `v3`
|
||||||
--> $DIR/bad-reg.rs:142:31
|
--> $DIR/bad-reg.rs:140:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v3") _, out("f3") _);
|
LL | asm!("", out("v3") _, out("f3") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f3`
|
| ----------- ^^^^^^^^^^^ register `f3`
|
||||||
|
|
@ -279,7 +275,7 @@ LL | asm!("", out("v3") _, out("f3") _);
|
||||||
| register `v3`
|
| register `v3`
|
||||||
|
|
||||||
error: register `f4` conflicts with register `v4`
|
error: register `f4` conflicts with register `v4`
|
||||||
--> $DIR/bad-reg.rs:144:31
|
--> $DIR/bad-reg.rs:142:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v4") _, out("f4") _);
|
LL | asm!("", out("v4") _, out("f4") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f4`
|
| ----------- ^^^^^^^^^^^ register `f4`
|
||||||
|
|
@ -287,7 +283,7 @@ LL | asm!("", out("v4") _, out("f4") _);
|
||||||
| register `v4`
|
| register `v4`
|
||||||
|
|
||||||
error: register `f5` conflicts with register `v5`
|
error: register `f5` conflicts with register `v5`
|
||||||
--> $DIR/bad-reg.rs:146:31
|
--> $DIR/bad-reg.rs:144:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v5") _, out("f5") _);
|
LL | asm!("", out("v5") _, out("f5") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f5`
|
| ----------- ^^^^^^^^^^^ register `f5`
|
||||||
|
|
@ -295,7 +291,7 @@ LL | asm!("", out("v5") _, out("f5") _);
|
||||||
| register `v5`
|
| register `v5`
|
||||||
|
|
||||||
error: register `f6` conflicts with register `v6`
|
error: register `f6` conflicts with register `v6`
|
||||||
--> $DIR/bad-reg.rs:148:31
|
--> $DIR/bad-reg.rs:146:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v6") _, out("f6") _);
|
LL | asm!("", out("v6") _, out("f6") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f6`
|
| ----------- ^^^^^^^^^^^ register `f6`
|
||||||
|
|
@ -303,7 +299,7 @@ LL | asm!("", out("v6") _, out("f6") _);
|
||||||
| register `v6`
|
| register `v6`
|
||||||
|
|
||||||
error: register `f7` conflicts with register `v7`
|
error: register `f7` conflicts with register `v7`
|
||||||
--> $DIR/bad-reg.rs:150:31
|
--> $DIR/bad-reg.rs:148:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v7") _, out("f7") _);
|
LL | asm!("", out("v7") _, out("f7") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f7`
|
| ----------- ^^^^^^^^^^^ register `f7`
|
||||||
|
|
@ -311,7 +307,7 @@ LL | asm!("", out("v7") _, out("f7") _);
|
||||||
| register `v7`
|
| register `v7`
|
||||||
|
|
||||||
error: register `f8` conflicts with register `v8`
|
error: register `f8` conflicts with register `v8`
|
||||||
--> $DIR/bad-reg.rs:152:31
|
--> $DIR/bad-reg.rs:150:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v8") _, out("f8") _);
|
LL | asm!("", out("v8") _, out("f8") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f8`
|
| ----------- ^^^^^^^^^^^ register `f8`
|
||||||
|
|
@ -319,7 +315,7 @@ LL | asm!("", out("v8") _, out("f8") _);
|
||||||
| register `v8`
|
| register `v8`
|
||||||
|
|
||||||
error: register `f9` conflicts with register `v9`
|
error: register `f9` conflicts with register `v9`
|
||||||
--> $DIR/bad-reg.rs:154:31
|
--> $DIR/bad-reg.rs:152:31
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v9") _, out("f9") _);
|
LL | asm!("", out("v9") _, out("f9") _);
|
||||||
| ----------- ^^^^^^^^^^^ register `f9`
|
| ----------- ^^^^^^^^^^^ register `f9`
|
||||||
|
|
@ -327,7 +323,7 @@ LL | asm!("", out("v9") _, out("f9") _);
|
||||||
| register `v9`
|
| register `v9`
|
||||||
|
|
||||||
error: register `f10` conflicts with register `v10`
|
error: register `f10` conflicts with register `v10`
|
||||||
--> $DIR/bad-reg.rs:156:32
|
--> $DIR/bad-reg.rs:154:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v10") _, out("f10") _);
|
LL | asm!("", out("v10") _, out("f10") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f10`
|
| ------------ ^^^^^^^^^^^^ register `f10`
|
||||||
|
|
@ -335,7 +331,7 @@ LL | asm!("", out("v10") _, out("f10") _);
|
||||||
| register `v10`
|
| register `v10`
|
||||||
|
|
||||||
error: register `f11` conflicts with register `v11`
|
error: register `f11` conflicts with register `v11`
|
||||||
--> $DIR/bad-reg.rs:158:32
|
--> $DIR/bad-reg.rs:156:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v11") _, out("f11") _);
|
LL | asm!("", out("v11") _, out("f11") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f11`
|
| ------------ ^^^^^^^^^^^^ register `f11`
|
||||||
|
|
@ -343,7 +339,7 @@ LL | asm!("", out("v11") _, out("f11") _);
|
||||||
| register `v11`
|
| register `v11`
|
||||||
|
|
||||||
error: register `f12` conflicts with register `v12`
|
error: register `f12` conflicts with register `v12`
|
||||||
--> $DIR/bad-reg.rs:160:32
|
--> $DIR/bad-reg.rs:158:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v12") _, out("f12") _);
|
LL | asm!("", out("v12") _, out("f12") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f12`
|
| ------------ ^^^^^^^^^^^^ register `f12`
|
||||||
|
|
@ -351,7 +347,7 @@ LL | asm!("", out("v12") _, out("f12") _);
|
||||||
| register `v12`
|
| register `v12`
|
||||||
|
|
||||||
error: register `f13` conflicts with register `v13`
|
error: register `f13` conflicts with register `v13`
|
||||||
--> $DIR/bad-reg.rs:162:32
|
--> $DIR/bad-reg.rs:160:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v13") _, out("f13") _);
|
LL | asm!("", out("v13") _, out("f13") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f13`
|
| ------------ ^^^^^^^^^^^^ register `f13`
|
||||||
|
|
@ -359,7 +355,7 @@ LL | asm!("", out("v13") _, out("f13") _);
|
||||||
| register `v13`
|
| register `v13`
|
||||||
|
|
||||||
error: register `f14` conflicts with register `v14`
|
error: register `f14` conflicts with register `v14`
|
||||||
--> $DIR/bad-reg.rs:164:32
|
--> $DIR/bad-reg.rs:162:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v14") _, out("f14") _);
|
LL | asm!("", out("v14") _, out("f14") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f14`
|
| ------------ ^^^^^^^^^^^^ register `f14`
|
||||||
|
|
@ -367,7 +363,7 @@ LL | asm!("", out("v14") _, out("f14") _);
|
||||||
| register `v14`
|
| register `v14`
|
||||||
|
|
||||||
error: register `f15` conflicts with register `v15`
|
error: register `f15` conflicts with register `v15`
|
||||||
--> $DIR/bad-reg.rs:166:32
|
--> $DIR/bad-reg.rs:164:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v15") _, out("f15") _);
|
LL | asm!("", out("v15") _, out("f15") _);
|
||||||
| ------------ ^^^^^^^^^^^^ register `f15`
|
| ------------ ^^^^^^^^^^^^ register `f15`
|
||||||
|
|
@ -375,13 +371,13 @@ LL | asm!("", out("v15") _, out("f15") _);
|
||||||
| register `v15`
|
| register `v15`
|
||||||
|
|
||||||
error: invalid register `f16`: unknown register
|
error: invalid register `f16`: unknown register
|
||||||
--> $DIR/bad-reg.rs:169:32
|
--> $DIR/bad-reg.rs:167:32
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v16") _, out("f16") _);
|
LL | asm!("", out("v16") _, out("f16") _);
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0658]: type `i64x2` cannot be used with this register class in stable
|
error[E0658]: type `i64x2` cannot be used with this register class in stable
|
||||||
--> $DIR/bad-reg.rs:76:27
|
--> $DIR/bad-reg.rs:74:27
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") v); // requires vector & asm_experimental_reg
|
LL | asm!("", in("v0") v); // requires vector & asm_experimental_reg
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -391,7 +387,7 @@ LL | asm!("", in("v0") v); // requires vector & asm_experimental_reg
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: type `i64x2` cannot be used with this register class in stable
|
error[E0658]: type `i64x2` cannot be used with this register class in stable
|
||||||
--> $DIR/bad-reg.rs:80:28
|
--> $DIR/bad-reg.rs:78:28
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") v); // requires vector & asm_experimental_reg
|
LL | asm!("", out("v0") v); // requires vector & asm_experimental_reg
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -401,7 +397,7 @@ LL | asm!("", out("v0") v); // requires vector & asm_experimental_reg
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: type `i32` cannot be used with this register class in stable
|
error[E0658]: type `i32` cannot be used with this register class in stable
|
||||||
--> $DIR/bad-reg.rs:84:27
|
--> $DIR/bad-reg.rs:82:27
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") x); // requires vector & asm_experimental_reg
|
LL | asm!("", in("v0") x); // requires vector & asm_experimental_reg
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -411,7 +407,7 @@ LL | asm!("", in("v0") x); // requires vector & asm_experimental_reg
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: type `i32` cannot be used with this register class in stable
|
error[E0658]: type `i32` cannot be used with this register class in stable
|
||||||
--> $DIR/bad-reg.rs:88:28
|
--> $DIR/bad-reg.rs:86:28
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") x); // requires vector & asm_experimental_reg
|
LL | asm!("", out("v0") x); // requires vector & asm_experimental_reg
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -421,7 +417,7 @@ LL | asm!("", out("v0") x); // requires vector & asm_experimental_reg
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error: type `u8` cannot be used with this register class
|
error: type `u8` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:92:27
|
--> $DIR/bad-reg.rs:90:27
|
||||||
|
|
|
|
||||||
LL | asm!("", in("v0") b);
|
LL | asm!("", in("v0") b);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -429,7 +425,7 @@ LL | asm!("", in("v0") b);
|
||||||
= note: register class `vreg` supports these types:
|
= note: register class `vreg` supports these types:
|
||||||
|
|
||||||
error: type `u8` cannot be used with this register class
|
error: type `u8` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:97:28
|
--> $DIR/bad-reg.rs:95:28
|
||||||
|
|
|
|
||||||
LL | asm!("", out("v0") b);
|
LL | asm!("", out("v0") b);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -437,7 +433,7 @@ LL | asm!("", out("v0") b);
|
||||||
= note: register class `vreg` supports these types:
|
= note: register class `vreg` supports these types:
|
||||||
|
|
||||||
error[E0658]: type `i64x2` cannot be used with this register class in stable
|
error[E0658]: type `i64x2` cannot be used with this register class in stable
|
||||||
--> $DIR/bad-reg.rs:102:35
|
--> $DIR/bad-reg.rs:100:35
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) v); // requires vector & asm_experimental_reg
|
LL | asm!("/* {} */", in(vreg) v); // requires vector & asm_experimental_reg
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -447,7 +443,7 @@ LL | asm!("/* {} */", in(vreg) v); // requires vector & asm_experimental
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error[E0658]: type `i32` cannot be used with this register class in stable
|
error[E0658]: type `i32` cannot be used with this register class in stable
|
||||||
--> $DIR/bad-reg.rs:106:35
|
--> $DIR/bad-reg.rs:104:35
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) x); // requires vector & asm_experimental_reg
|
LL | asm!("/* {} */", in(vreg) x); // requires vector & asm_experimental_reg
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -457,7 +453,7 @@ LL | asm!("/* {} */", in(vreg) x); // requires vector & asm_experimental
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
error: type `u8` cannot be used with this register class
|
error: type `u8` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:110:35
|
--> $DIR/bad-reg.rs:108:35
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(vreg) b);
|
LL | asm!("/* {} */", in(vreg) b);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -465,7 +461,7 @@ LL | asm!("/* {} */", in(vreg) b);
|
||||||
= note: register class `vreg` supports these types:
|
= note: register class `vreg` supports these types:
|
||||||
|
|
||||||
error: type `i32` cannot be used with this register class
|
error: type `i32` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:122:27
|
--> $DIR/bad-reg.rs:120:27
|
||||||
|
|
|
|
||||||
LL | asm!("", in("a2") x);
|
LL | asm!("", in("a2") x);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -473,7 +469,7 @@ LL | asm!("", in("a2") x);
|
||||||
= note: register class `areg` supports these types:
|
= note: register class `areg` supports these types:
|
||||||
|
|
||||||
error: type `i32` cannot be used with this register class
|
error: type `i32` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:125:28
|
--> $DIR/bad-reg.rs:123:28
|
||||||
|
|
|
|
||||||
LL | asm!("", out("a2") x);
|
LL | asm!("", out("a2") x);
|
||||||
| ^
|
| ^
|
||||||
|
|
@ -481,13 +477,13 @@ LL | asm!("", out("a2") x);
|
||||||
= note: register class `areg` supports these types:
|
= note: register class `areg` supports these types:
|
||||||
|
|
||||||
error: type `i32` cannot be used with this register class
|
error: type `i32` cannot be used with this register class
|
||||||
--> $DIR/bad-reg.rs:128:35
|
--> $DIR/bad-reg.rs:126:35
|
||||||
|
|
|
|
||||||
LL | asm!("/* {} */", in(areg) x);
|
LL | asm!("/* {} */", in(areg) x);
|
||||||
| ^
|
| ^
|
||||||
|
|
|
|
||||||
= note: register class `areg` supports these types:
|
= note: register class `areg` supports these types:
|
||||||
|
|
||||||
error: aborting due to 63 previous errors; 1 warning emitted
|
error: aborting due to 63 previous errors
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0658`.
|
For more information about this error, try `rustc --explain E0658`.
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@
|
||||||
// gate-test-lahfsahf_target_feature
|
// gate-test-lahfsahf_target_feature
|
||||||
// gate-test-prfchw_target_feature
|
// gate-test-prfchw_target_feature
|
||||||
// gate-test-s390x_target_feature
|
// gate-test-s390x_target_feature
|
||||||
// gate-test-s390x_target_feature_vector
|
|
||||||
// gate-test-sparc_target_feature
|
// gate-test-sparc_target_feature
|
||||||
// gate-test-x87_target_feature
|
// gate-test-x87_target_feature
|
||||||
// gate-test-m68k_target_feature
|
// gate-test-m68k_target_feature
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
error[E0658]: the target feature `x87` is currently unstable
|
error[E0658]: the target feature `x87` is currently unstable
|
||||||
--> $DIR/gate.rs:25:18
|
--> $DIR/gate.rs:24:18
|
||||||
|
|
|
|
||||||
LL | #[target_feature(enable = "x87")]
|
LL | #[target_feature(enable = "x87")]
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue