aboutsummaryrefslogtreecommitdiffstats
path: root/mppa_k1c
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-15 18:01:25 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-15 18:01:25 +0200
commit2981acd39bb23b783339fa6848aa284bfae938c0 (patch)
treeb77505e39137a289843ab7a915eb8dff694ec8e5 /mppa_k1c
parent72becdf730fb3b5ae2502d1eb19b7c61f047728d (diff)
downloadcompcert-kvx-2981acd39bb23b783339fa6848aa284bfae938c0.tar.gz
compcert-kvx-2981acd39bb23b783339fa6848aa284bfae938c0.zip
directly call float and double division from gcc lib instead of a stub
Diffstat (limited to 'mppa_k1c')
-rw-r--r--mppa_k1c/TargetPrinter.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mppa_k1c/TargetPrinter.ml b/mppa_k1c/TargetPrinter.ml
index 3c46ef16..15f05960 100644
--- a/mppa_k1c/TargetPrinter.ml
+++ b/mppa_k1c/TargetPrinter.ml
@@ -39,6 +39,8 @@ module Target (*: TARGET*) =
| "__compcert_i64_sdiv" -> "__divdi3"
| "__compcert_i64_umod" -> "__umoddi3"
| "__compcert_i64_smod" -> "__moddi3"
+ | "__compcert_f64_div" -> "__divdf3"
+ | "__compcert_f32_div" -> "__divsf3"
| x -> x;;
let symbol oc symb =