diff options
Diffstat (limited to 'cfrontend')
-rw-r--r-- | cfrontend/C2Clight.ml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cfrontend/C2Clight.ml b/cfrontend/C2Clight.ml index 100c72b1..614ad770 100644 --- a/cfrontend/C2Clight.ml +++ b/cfrontend/C2Clight.ml @@ -841,6 +841,19 @@ let builtins_generic = { (TVoid [], [TPtr(TVoid [], []); TFloat(FDouble, [])], false); "__builtin_volatile_write_pointer", (TVoid [], [TPtr(TVoid [], []); TPtr(TVoid [], [])], false) + (* Block copy *) + "__builtin_memcpy", + (TPtr(TVoid [], []), + [TPtr(TVoid [], []); + TPtr(TVoid [AConst], []); + TInt(Cutil.size_t_ikind, [])], + false); + "__builtin_memcpy_words", + (TPtr(TVoid [], []), + [TPtr(TVoid [], []); + TPtr(TVoid [AConst], []); + TInt(Cutil.size_t_ikind, [])], + false) ] } |