diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-04-20 15:16:34 +0200 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-04-20 15:16:34 +0200 |
commit | 09184b1ab9be700d0cb5125c113b4fb8d6be06c8 (patch) | |
tree | 027b987c7d9fd1680a1ef1a24cdffcfc3c3770c9 /runtime | |
parent | a529539e958f358cad0911cb668723749e565f58 (diff) | |
download | compcert-kvx-09184b1ab9be700d0cb5125c113b4fb8d6be06c8.tar.gz compcert-kvx-09184b1ab9be700d0cb5125c113b4fb8d6be06c8.zip |
fix int64
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/mppa_k1c/i64_udivmod_stsud.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/mppa_k1c/i64_udivmod_stsud.s b/runtime/mppa_k1c/i64_udivmod_stsud.s index b1d10326..50d0a767 100644 --- a/runtime/mppa_k1c/i64_udivmod_stsud.s +++ b/runtime/mppa_k1c/i64_udivmod_stsud.s @@ -135,6 +135,8 @@ __compcert_i64_udiv_stsud: __compcert_i64_sdiv_stsud: compd.lt $r2 = $r0, 0 compd.lt $r3 = $r1, 0 + absd $r0 = $r0 + absd $r1 = $r1 ;; xord $r2 = $r2, $r3 make $r3 = 0 @@ -144,6 +146,8 @@ __compcert_i64_sdiv_stsud: .globl __compcert_i64_smod_stsud __compcert_i64_smod_stsud: compd.lt $r2 = $r0, 0 + absd $r0 = $r0 + absd $r1 = $r1 make $r3 = 1 goto __compcert_i64_divmod_stsud ;; |