about summary refs log tree commit diff
path: root/tests/codegen/const-vector.rs
diff options
context:
space:
mode:
authorAdrian Friedli <adrian.friedli@husqvarnagroup.com>2025-04-29 10:20:25 +0200
committerAdrian Friedli <adrian.friedli@husqvarnagroup.com>2025-04-29 10:20:25 +0200
commitcf12e290fd5e356cef3c9d95643ea4dd4b093dfd (patch)
treeb25362c62a23f6a5ab3874fe2095c1978e30f7b0 /tests/codegen/const-vector.rs
parent1b8ab72680f36e783af84c1a3c4f8508572bd9f9 (diff)
downloadrust-cf12e290fd5e356cef3c9d95643ea4dd4b093dfd.tar.gz
rust-cf12e290fd5e356cef3c9d95643ea4dd4b093dfd.zip
enable msa feature for mips in codegen tests
Diffstat (limited to 'tests/codegen/const-vector.rs')
-rw-r--r--tests/codegen/const-vector.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/codegen/const-vector.rs b/tests/codegen/const-vector.rs
index 1d4edc39b1c..289b67371ce 100644
--- a/tests/codegen/const-vector.rs
+++ b/tests/codegen/const-vector.rs
@@ -9,6 +9,7 @@
 #![feature(rustc_attrs)]
 #![feature(simd_ffi)]
 #![feature(arm_target_feature)]
+#![feature(mips_target_feature)]
 #![allow(non_camel_case_types)]
 
 // Setting up structs that can be used as const vectors
@@ -45,6 +46,7 @@ extern "unadjusted" {
 #[cfg_attr(target_family = "wasm", target_feature(enable = "simd128"))]
 #[cfg_attr(target_arch = "arm", target_feature(enable = "neon"))]
 #[cfg_attr(target_arch = "x86", target_feature(enable = "sse"))]
+#[cfg_attr(target_arch = "mips", target_feature(enable = "msa"))]
 pub fn do_call() {
     unsafe {
         // CHECK: call void @test_i8x2(<2 x i8> <i8 32, i8 64>