diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-08-20 14:24:42 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-08-20 14:24:42 +0000 |
commit | 626ea26cb58e50e7a42f90a6e23218d90df6dd5a (patch) | |
tree | e8214df04ff25411e435210beb8e9e188683b113 /powerpc/CBuiltins.ml | |
parent | e2fa973a4bfea5d47b0d9f41b8734a7b6744dc18 (diff) | |
download | compcert-626ea26cb58e50e7a42f90a6e23218d90df6dd5a.tar.gz compcert-626ea26cb58e50e7a42f90a6e23218d90df6dd5a.zip |
Add builtins for load with reservation and conditional store.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2613 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc/CBuiltins.ml')
-rw-r--r-- | powerpc/CBuiltins.ml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/powerpc/CBuiltins.ml b/powerpc/CBuiltins.ml index db01ae1c..f28ff8b7 100644 --- a/powerpc/CBuiltins.ml +++ b/powerpc/CBuiltins.ml @@ -84,7 +84,11 @@ let builtins = { "__builtin_isync", (TVoid [], [], false); "__builtin_trap", - (TVoid [], [], false) + (TVoid [], [], false); + "__builtin_lwar", + (TInt(IUInt, []), [TPtr(TInt(IUInt, [AConst]), [])], false); + "__builtin_stwc", + (TInt(IInt, []), [TPtr(TInt(IUInt, []), []); TInt(IUInt, [])], false) ] } |