diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-03 13:22:28 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-03 13:22:28 +0200 |
commit | c74211d87eb53cb310703dec2c504b26d7f24bdf (patch) | |
tree | 02ba6656583426df8fc43bd1d005f57326c7ea32 /powerpc/CBuiltins.ml | |
parent | 38959ad2b2d35a7d1b3479ef4298a5d754350cd8 (diff) | |
download | compcert-c74211d87eb53cb310703dec2c504b26d7f24bdf.tar.gz compcert-c74211d87eb53cb310703dec2c504b26d7f24bdf.zip |
Added builtin for mbar instruction.
This commit adds a builtin function for the mbar instruction.
Diffstat (limited to 'powerpc/CBuiltins.ml')
-rw-r--r-- | powerpc/CBuiltins.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/powerpc/CBuiltins.ml b/powerpc/CBuiltins.ml index 0785c7fa..e18fdb2d 100644 --- a/powerpc/CBuiltins.ml +++ b/powerpc/CBuiltins.ml @@ -85,6 +85,8 @@ let builtins = { (TVoid [], [], false); "__builtin_lwsync", (TVoid [], [], false); + "__builtin_mbar", + (TVoid [], [TInt(IInt, [])], false); "__builtin_trap", (TVoid [], [], false); (* Cache isntructions *) |