aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/CBuiltins.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-09-03 11:08:25 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-09-03 11:08:25 +0200
commit38959ad2b2d35a7d1b3479ef4298a5d754350cd8 (patch)
treebfbdcf57b3035b1de721b6a900c70f1ddf94e3b7 /powerpc/CBuiltins.ml
parentcfee340dc514e2cfbc5df910f7aa687e78a54d41 (diff)
downloadcompcert-kvx-38959ad2b2d35a7d1b3479ef4298a5d754350cd8.tar.gz
compcert-kvx-38959ad2b2d35a7d1b3479ef4298a5d754350cd8.zip
New builtin for dcbz instruction.
This commit adds a builtin for the dcbz instructions. Additionally the dcbt,dcbtst,dcbtls and icbtls instruction are changed to their actually form all taking one additional register in Asm.v.
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 012e4d32..0785c7fa 100644
--- a/powerpc/CBuiltins.ml
+++ b/powerpc/CBuiltins.ml
@@ -100,6 +100,8 @@ let builtins = {
(TVoid[], [TPtr (TVoid [],[]);TInt (IInt,[])],false);
"__builtin_icbtls",
(TVoid[], [TPtr (TVoid [],[]);TInt (IInt,[])],false);
+ "__builtin_dcbz",
+ (TVoid[], [TPtr (TVoid [],[])],false);
(* Access to special registers *)
"__builtin_get_spr",
(TInt(IUInt, []), [TInt(IInt, [])], false);