aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/x86_64/i64_utod.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/x86_64/i64_utod.S
parent95ed4ea7df3e4b05d623afb9cb65f0eb2653361b (diff)
downloadcompcert-kvx-4affb2b02e486681b39add0dbaf4f873a91885c8.tar.gz
compcert-kvx-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/x86_64/i64_utod.S')
-rw-r--r--runtime/x86_64/i64_utod.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/x86_64/i64_utod.S b/runtime/x86_64/i64_utod.S
index 96b77a64..62e6e484 100644
--- a/runtime/x86_64/i64_utod.S
+++ b/runtime/x86_64/i64_utod.S
@@ -38,7 +38,7 @@
// Conversion unsigned long -> double-precision float
-FUNCTION(__i64_utod)
+FUNCTION(__compcert_i64_utod)
testq %rdi, %rdi
js 1f
pxor %xmm0, %xmm0 // if < 2^63,
@@ -53,4 +53,4 @@ FUNCTION(__i64_utod)
cvtsi2sdq %rax, %xmm0 // convert as if signed
addsd %xmm0, %xmm0 // multiply result by 2.0
ret
-ENDFUNCTION(__i64_utod)
+ENDFUNCTION(__compcert_i64_utod)