about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example
diff options
context:
space:
mode:
authorsayantn <sayantn05@gmail.com>2025-06-03 20:37:10 +0530
committersayantn <sayantn05@gmail.com>2025-06-03 20:37:10 +0530
commitd91c1af24b551d5fead9fb7b9e2125574aab8b5c (patch)
tree89a79b9fa53423df8e5301ca34a37cf4d6e8f0b4 /compiler/rustc_codegen_cranelift/example
parent41fdc80dcecded3eb4716eefbe17680db9b37e22 (diff)
downloadrust-d91c1af24b551d5fead9fb7b9e2125574aab8b5c.tar.gz
rust-d91c1af24b551d5fead9fb7b9e2125574aab8b5c.zip
Add impl for `llvm.roundeven` in cg_clif
 - remove unused `llvm.aarch64.neon.frintn` from cg_clif
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example')
-rw-r--r--compiler/rustc_codegen_cranelift/example/neon.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/neon.rs b/compiler/rustc_codegen_cranelift/example/neon.rs
index 69ce17d3d75..704f866e2c4 100644
--- a/compiler/rustc_codegen_cranelift/example/neon.rs
+++ b/compiler/rustc_codegen_cranelift/example/neon.rs
@@ -233,7 +233,7 @@ unsafe fn test_vaddvq_f32() {
 
 #[cfg(target_arch = "aarch64")]
 unsafe fn test_vrndnq_f32() {
-    // AArch64 llvm intrinsic: llvm.aarch64.neon.frintn.v4f32
+    // llvm intrinsic: llvm.roundeven.v4f32
     let a = f32x4::from([0.1, -1.9, 4.5, 5.5]);
     let e = f32x4::from([0., -2., 4., 6.]);
     let r: f32x4 = transmute(vrndnq_f32(transmute(a)));