diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-08-17 12:45:40 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-08-17 12:45:40 +0200 |
commit | 4d70c9820f5b840cfd7870395673723a3151e525 (patch) | |
tree | 57c10b973266294f4d1f31853a76e5e3c835503f /powerpc/Asmexpand.ml | |
parent | b1a7b024933140296c7f995d20ef840687949771 (diff) | |
download | compcert-4d70c9820f5b840cfd7870395673723a3151e525.tar.gz compcert-4d70c9820f5b840cfd7870395673723a3151e525.zip |
Added builtin for the dcbi instruction.
Diffstat (limited to 'powerpc/Asmexpand.ml')
-rw-r--r-- | powerpc/Asmexpand.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/powerpc/Asmexpand.ml b/powerpc/Asmexpand.ml index 5c4aad9d..87c0ac3e 100644 --- a/powerpc/Asmexpand.ml +++ b/powerpc/Asmexpand.ml @@ -424,6 +424,8 @@ let expand_builtin_inline name args res = | "__builtin_va_start", [IR a], _ -> expand_builtin_va_start a (* Catch-all *) + | "__builtin_dcbi", [IR a1],_ -> + emit (Pdcbi (GPR0,a1)) | "__builtin_icbi", [IR a1],_ -> emit (Picbi(GPR0,a1)) | _ -> |