aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/CBuiltins.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-09-03 13:22:28 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-09-03 13:22:28 +0200
commitc74211d87eb53cb310703dec2c504b26d7f24bdf (patch)
tree02ba6656583426df8fc43bd1d005f57326c7ea32 /powerpc/CBuiltins.ml
parent38959ad2b2d35a7d1b3479ef4298a5d754350cd8 (diff)
downloadcompcert-kvx-c74211d87eb53cb310703dec2c504b26d7f24bdf.tar.gz
compcert-kvx-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.ml2
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 *)