summaryrefslogtreecommitdiff
path: root/runtime/arm/i64_stof.S
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/arm/i64_stof.S')
-rw-r--r--runtime/arm/i64_stof.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/arm/i64_stof.S b/runtime/arm/i64_stof.S
index 22f2687..3f33f04 100644
--- a/runtime/arm/i64_stof.S
+++ b/runtime/arm/i64_stof.S
@@ -67,8 +67,10 @@ __i64_stof:
fmacd d0, d1, d2 @ d0 = d0 + d1 * d2 = double value of int64
@ Round to single
fcvtsd s0, d0
+#ifdef VARIANT_eabi
@ Return result in r0
fmrs r0, s0
+#endif
bx lr
.type __i64_stof, %function
.size __i64_stof, . - __i64_stof