aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Machine.ml
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2018-02-21 17:45:44 +0100
committerCyril SIX <cyril.six@kalray.eu>2018-04-04 16:30:06 +0200
commit6a3f3a62452670380827f9e39dd28c5092741099 (patch)
tree98f3ac276cec9c64d0b8ee030e65a41713295b34 /cparser/Machine.ml
parentadbefdc338c921f1b05dcf4996d32a3ca8b5f486 (diff)
downloadcompcert-kvx-6a3f3a62452670380827f9e39dd28c5092741099.tar.gz
compcert-kvx-6a3f3a62452670380827f9e39dd28c5092741099.zip
Hook for MPPA_K1c (generates Risc-V code for now)
Diffstat (limited to 'cparser/Machine.ml')
-rw-r--r--cparser/Machine.ml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cparser/Machine.ml b/cparser/Machine.ml
index 4d1e7588..7d5a7f77 100644
--- a/cparser/Machine.ml
+++ b/cparser/Machine.ml
@@ -224,6 +224,11 @@ let rv64 =
struct_passing_style = SP_ref_callee; (* Wrong *)
struct_return_style = SR_ref } (* to check *)
+let mppa_k1c =
+ { ilp32ll64 with name = "k1c";
+ char_signed = true;
+ supports_unaligned_accesses = true }
+
(* Add GCC extensions re: sizeof and alignof *)
let gcc_extensions c =