-
Notifications
You must be signed in to change notification settings - Fork 146
aarch64_be not compiling #3155
Copy link
Copy link
Closed
Description
I'm trying to run a simple example code with aarch64
#[cfg(target_arch = "aarch64")]
#[test]
fn test_aarch64() {
use core::arch::aarch64::uint16x4_t;
use crate::transmute;
let v: &[u16; 4] = &[1, 2, 3, 4];
let vec: uint16x4_t = transmute!(*v);
}But this is not working with
cargo +nightly miri test --target aarch64-unknown-linux-gnu
cargo +nightly miri test --target aarch64_be-unknown-linux-gnu
transmute(e)
^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `std::arch::aarch64::uint16x4_t`
Do you have an idea why it's not working?
Also, the issue rust-lang/stdarch#1484 linked to
Lines 1355 to 1356 in 61b2407
| // NOTE(https://github.com/rust-lang/stdarch/issues/1484): NEON intrinsics are currently | |
| // broken on big-endian platforms. |
is now closed, is this comment still useful ?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels