diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-04-12 04:57:21 +0200 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-04-12 04:57:21 +0200 |
commit | 525720d136acb20dca47f31655c1940cc341c69e (patch) | |
tree | 72ea6235f53eeec253e5c63a9a4e92c0071d2c40 /mppa_k1c | |
parent | 4571fc5fade196c02d68c4feb5e5a1b862d37041 (diff) | |
download | compcert-kvx-525720d136acb20dca47f31655c1940cc341c69e.tar.gz compcert-kvx-525720d136acb20dca47f31655c1940cc341c69e.zip |
fix wrongly removed builtins
Diffstat (limited to 'mppa_k1c')
-rw-r--r-- | mppa_k1c/CBuiltins.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mppa_k1c/CBuiltins.ml b/mppa_k1c/CBuiltins.ml index dfa11ba4..2f80c90f 100644 --- a/mppa_k1c/CBuiltins.ml +++ b/mppa_k1c/CBuiltins.ml @@ -42,7 +42,9 @@ let builtins = { "__builtin_k1_set", (TVoid [], [TInt(IInt, []); TInt(IULongLong, [])], false); (* DONE *) (* LSU Instructions *) - (* afaddd and afaddw done using headers and assembly *) + (* acswapd and acswapw done using headers and assembly *) + "__builtin_k1_afaddd", (TInt(IULongLong, []), [TPtr(TVoid [], []); TInt(ILongLong, [])], false); + "__builtin_k1_afaddw", (TInt(IUInt, []), [TPtr(TVoid [], []); TInt(IInt, [])], false); "__builtin_k1_alclrd", (TInt(IULongLong, []), [TPtr(TVoid [], [])], false); (* DONE *) "__builtin_k1_alclrw", (TInt(IUInt, []), [TPtr(TVoid [], [])], false); (* DONE *) "__builtin_k1_dinval", (TVoid [], [], false); (* DONE *) |