aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/powerpc64/i64_stof.s
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-08-25 14:55:22 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2017-08-25 14:55:22 +0200
commit4affb2b02e486681b39add0dbaf4f873a91885c8 (patch)
tree06b045ee98934b00c341071758c9b905ecad057f /runtime/powerpc64/i64_stof.s
parent95ed4ea7df3e4b05d623afb9cb65f0eb2653361b (diff)
downloadcompcert-4affb2b02e486681b39add0dbaf4f873a91885c8.tar.gz
compcert-4affb2b02e486681b39add0dbaf4f873a91885c8.zip
Prefixed runtime functions.
The runtime functions are prefixed with compcert in order to avoid potential clashes with runtime/builtin functions of other compilers. Bug 22062
Diffstat (limited to 'runtime/powerpc64/i64_stof.s')
-rw-r--r--runtime/powerpc64/i64_stof.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/powerpc64/i64_stof.s b/runtime/powerpc64/i64_stof.s
index 8830d594..779cbc18 100644
--- a/runtime/powerpc64/i64_stof.s
+++ b/runtime/powerpc64/i64_stof.s
@@ -39,8 +39,8 @@
### Conversion from signed long to single float
.balign 16
- .globl __i64_stof
-__i64_stof:
+ .globl __compcert_i64_stof
+__compcert_i64_stof:
rldimi r4, r3, 32, 0 # reassemble (r3,r4) as a 64-bit integer in r4
# Check whether -2^53 <= X < 2^53
sradi r5, r4, 53
@@ -63,6 +63,6 @@ __i64_stof:
frsp f1, f1
addi r1, r1, 16
blr
- .type __i64_stof, @function
- .size __i64_stof, .-__i64_stof
+ .type __compcert_i64_stof, @function
+ .size __compcert_i64_stof, .-__compcert_i64_stof