[compiler-rt] [compiler-rt] Make Arm builtins aware of endianness in VMOVs (PR #123204)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 07:21:18 PST 2025


================
@@ -24,7 +24,7 @@ DEFINE_COMPILERRT_FUNCTION(__floatunssidfvfp)
 #else
 	vmov	s15, r0        // move int to float register s15
 	vcvt.f64.u32 d7, s15   // convert 32-bit int in s15 to double in d7
-	vmov	r0, r1, d7     // move d7 to result register pair r0/r1
+	VMOV_FROM_DOUBLE(r0, r1, r7) // move d7 to result register pair r0/r1
----------------
smithp35 wrote:

Did you mean vmov r0, r1, d7 here?

https://github.com/llvm/llvm-project/pull/123204


More information about the llvm-commits mailing list