aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/x86_64/i64_dtou.S
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-11-18 21:07:29 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-11-18 21:07:29 +0100
commit8384d27c122ec4ca4b7ad0f524df52b61a49c66a (patch)
treed86ff8780c4435d3b4fe92b5251e0f9b447b86c7 /runtime/x86_64/i64_dtou.S
parent362bdda28ca3c4dcc992575cbbe9400b64425990 (diff)
parente6e036b3f285d2f3ba2a5036a413eb9c7d7534cd (diff)
downloadcompcert-kvx-8384d27c122ec4ca4b7ad0f524df52b61a49c66a.tar.gz
compcert-kvx-8384d27c122ec4ca4b7ad0f524df52b61a49c66a.zip
Merge branch 'master' (Absint 3.8) into kvx-work-merge3.8
Diffstat (limited to 'runtime/x86_64/i64_dtou.S')
-rw-r--r--runtime/x86_64/i64_dtou.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/x86_64/i64_dtou.S b/runtime/x86_64/i64_dtou.S
index cc822d67..7f12ae88 100644
--- a/runtime/x86_64/i64_dtou.S
+++ b/runtime/x86_64/i64_dtou.S
@@ -39,13 +39,13 @@
// Conversion float -> unsigned long
FUNCTION(__compcert_i64_dtou)
- ucomisd .LC1(%rip), %xmm0
+ ucomisd .LC1(%rip), FP_ARG_1
jnb 1f
- cvttsd2siq %xmm0, %rax
+ cvttsd2siq FP_ARG_1, INT_RES
ret
-1: subsd .LC1(%rip), %xmm0
- cvttsd2siq %xmm0, %rax
- addq .LC2(%rip), %rax
+1: subsd .LC1(%rip), FP_ARG_1
+ cvttsd2siq FP_ARG_1, INT_RES
+ addq .LC2(%rip), INT_RES
ret
.p2align 3