diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-10-05 15:52:58 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-10-05 15:52:58 +0200 |
commit | 26ddb90280b45e92d90eead89edb237f2922824a (patch) | |
tree | ff18b31abdbb97133f9708ca085467f25758e507 /runtime/x86_64/i64_dtou.S | |
parent | e9c738e3bd156f68905968e25c70ec796d3119c4 (diff) | |
download | compcert-26ddb90280b45e92d90eead89edb237f2922824a.tar.gz compcert-26ddb90280b45e92d90eead89edb237f2922824a.zip |
Support Cygwin 64 bits
- Add support for the Win64 ABI to the x86_64 port
- Update vararg support to handle Win64 conventions
- Configure support for x86_64-cygwin64
Diffstat (limited to 'runtime/x86_64/i64_dtou.S')
-rw-r--r-- | runtime/x86_64/i64_dtou.S | 10 |
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 |