diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-08-17 16:11:47 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-08-17 16:11:47 +0200 |
commit | 7fe3c745283dcfd7cd304bca68ae2cc3ea7cd4a5 (patch) | |
tree | f9e3d36e7c1c08c8dd4d95118d268fdfa1c1244b /powerpc/Asmexpand.ml | |
parent | 2c2fca9756e38535db7697c6f53126003b624c6c (diff) | |
download | compcert-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.ml | 2 |
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],_ -> |