aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/Asmexpand.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-08-17 16:11:47 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-08-17 16:11:47 +0200
commit7fe3c745283dcfd7cd304bca68ae2cc3ea7cd4a5 (patch)
treef9e3d36e7c1c08c8dd4d95118d268fdfa1c1244b /powerpc/Asmexpand.ml
parent2c2fca9756e38535db7697c6f53126003b624c6c (diff)
downloadcompcert-kvx-7fe3c745283dcfd7cd304bca68ae2cc3ea7cd4a5.tar.gz
compcert-kvx-7fe3c745283dcfd7cd304bca68ae2cc3ea7cd4a5.zip
Added builtin for the dcbf instruction
Diffstat (limited to 'powerpc/Asmexpand.ml')
-rw-r--r--powerpc/Asmexpand.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/powerpc/Asmexpand.ml b/powerpc/Asmexpand.ml
index 976f4e77..ae4d694a 100644
--- a/powerpc/Asmexpand.ml
+++ b/powerpc/Asmexpand.ml
@@ -394,6 +394,8 @@ let expand_builtin_inline name args res =
| "__builtin_va_start", [IR a], _ ->
expand_builtin_va_start a
(* Catch-all *)
+ | "__builtin_dcbf", [IR a1],_ ->
+ emit (Pdcbf (GPR0,a1))
| "__builtin_dcbi", [IR a1],_ ->
emit (Pdcbi (GPR0,a1))
| "__builtin_icbi", [IR a1],_ ->