diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-03 11:08:25 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-03 11:08:25 +0200 |
commit | 38959ad2b2d35a7d1b3479ef4298a5d754350cd8 (patch) | |
tree | bfbdcf57b3035b1de721b6a900c70f1ddf94e3b7 /powerpc/CBuiltins.ml | |
parent | cfee340dc514e2cfbc5df910f7aa687e78a54d41 (diff) | |
download | compcert-38959ad2b2d35a7d1b3479ef4298a5d754350cd8.tar.gz compcert-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.ml | 2 |
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); |