diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2019-09-05 14:08:49 +0200 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2019-09-05 14:09:40 +0200 |
commit | 7cfc487a56aca2c1444e98a0b845ec25c9069476 (patch) | |
tree | 1e8c3017644bf1fce44f9a301f053340c510ff60 | |
parent | 43c67c98877feeb2e91cb4be3835e70834379d5a (diff) | |
download | compcert-kvx-7cfc487a56aca2c1444e98a0b845ec25c9069476.tar.gz compcert-kvx-7cfc487a56aca2c1444e98a0b845ec25c9069476.zip |
(#157) Fixing warning for desactivated afaddd builtin. No implementation yet
-rw-r--r-- | runtime/include/ccomp_k1c_fixes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/include/ccomp_k1c_fixes.h b/runtime/include/ccomp_k1c_fixes.h index 5c543d8f..718ac3e5 100644 --- a/runtime/include/ccomp_k1c_fixes.h +++ b/runtime/include/ccomp_k1c_fixes.h @@ -17,6 +17,12 @@ extern __int128 __compcert_acswapd(void *address, unsigned long long new_value, #define __builtin_k1_acswapw __compcert_acswapw extern __int128 __compcert_acswapw(void *address, unsigned long long new_value, unsigned long long old_value); + +#define __builtin_k1_afaddd __compcert_afaddd +extern long long __compcert_afaddd(void *address, unsigned long long incr); + +#define __builtin_k1_afaddw __compcert_afaddw +extern int __compcert_afaddw(void *address, unsigned int incr); #endif #define __builtin_expect(x, y) (x) |