-
Notifications
You must be signed in to change notification settings - Fork 289
add neon instruction vmaxnm_f* vpmaxnm_f* vminnm_f* vpminnm_f* #1105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi, thanks for reviewing. I check these instructions in https://godbolt.org/ and get Compilation failed. https://godbolt.org/z/1nM7eYvrz |
These instruction were added in ARMv8 for both 32-bit and 64-bit mode. If you change |
Hi, Thank you for your guidance. #[inline] |
I think you need to enable the |
Ok, Thank you very much. |
☔ The latest upstream changes (presumably 15babf5) made this pull request unmergeable. Please resolve the merge conflicts. |
I looked into the compiler crash. You need to enable the |
Hi, Thank you very much. I'll try |
…ochenkov add fp-armv8 for ARM_ALLOWED_FEATURES For fixing err in rust-lang/stdarch#1105.
…d_vpmaxnm # Conflicts: # crates/stdarch-gen/src/main.rs
You need both |
vmaxnm_f* : Floating-point Maximum Number (vector). This instruction compares corresponding vector elements in the two source SIMD&FP registers, writes the larger of the two floating-point values into a vector, and writes the vector to the destination SIMD&FP register.
vpmaxnm_f* : Floating-point Maximum Number Pairwise (vector). This instruction creates a vector by concatenating the vector elements of the first source SIMD&FP register after the vector elements of the second source SIMD&FP register, reads each pair of adjacent vector elements in the two source SIMD&FP registers, writes the largest of each pair of values into a vector, and writes the vector to the destination SIMD&FP register. All the values in this instruction are floating-point values.
vminnm_f* : Floating-point Minimum Number (vector). This instruction compares corresponding vector elements in the two source SIMD&FP registers, writes the smaller of the two floating-point values into a vector, and writes the vector to the destination SIMD&FP register.
vpminnm_f* : Floating-point Minimum Number Pairwise (vector). This instruction creates a vector by concatenating the vector elements of the first source SIMD&FP register after the vector elements of the second source SIMD&FP register, reads each pair of adjacent vector elements in the two source SIMD&FP registers, writes the smallest of each pair of floating-point values into a vector, and writes the vector to the destination SIMD&FP register. All the values in this instruction are floating-point values.