summaryrefslogtreecommitdiff
path: root/runtime/arm/i64_utof.S
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/arm/i64_utof.S')
-rw-r--r--runtime/arm/i64_utof.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/arm/i64_utof.S b/runtime/arm/i64_utof.S
index 6fb11df..a959076 100644
--- a/runtime/arm/i64_utof.S
+++ b/runtime/arm/i64_utof.S
@@ -63,8 +63,10 @@ __i64_utof:
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_utof, %function
.size __i64_utof, . - __i64_utof