aboutsummaryrefslogtreecommitdiffstats
path: root/mppa_k1c/TargetPrinter.ml
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2018-04-04 16:01:32 +0200
committerCyril SIX <cyril.six@kalray.eu>2018-04-04 16:30:10 +0200
commitd72fcc2c96f665d0c7608797b1707f2d19daa892 (patch)
tree52c094e7c5a0449a877a9a7bd8925ee36ea3263c /mppa_k1c/TargetPrinter.ml
parentca090744f399788a81f103206947d4d56cba9d87 (diff)
downloadcompcert-kvx-d72fcc2c96f665d0c7608797b1707f2d19daa892.tar.gz
compcert-kvx-d72fcc2c96f665d0c7608797b1707f2d19daa892.zip
MPPA - Long comparisons
Diffstat (limited to 'mppa_k1c/TargetPrinter.ml')
-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 2c7b8cc8..2fafb127 100644
--- a/mppa_k1c/TargetPrinter.ml
+++ b/mppa_k1c/TargetPrinter.ml
@@ -210,6 +210,8 @@ module Target : TARGET =
| Pcompw (it, rd, rs1, rs2) ->
fprintf oc " compw.%a %a = %a, %a\n;;\n" icond it ireg rd ireg rs1 ireg rs2
+ | Pcompd (it, rd, rs1, rs2) ->
+ fprintf oc " compd.%a %a = %a, %a\n;;\n" icond it ireg rd ireg rs1 ireg rs2
| Pcb (bt, r, lbl) ->
fprintf oc " cb.%a %a?%a\n;;\n" bcond bt ireg r print_label lbl