diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-08-14 16:30:02 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-08-14 16:30:02 +0200 |
commit | c6e03d61ee776aacc859fd162e47cb7ba0fb3079 (patch) | |
tree | 9af1c4a23dfed7ab97fda219081666956a0a7e07 /powerpc/Asmexpand.ml | |
parent | 4eb7fcaf6a5e366c71d95d2152dcc1f3982c404b (diff) | |
download | compcert-c6e03d61ee776aacc859fd162e47cb7ba0fb3079.tar.gz compcert-c6e03d61ee776aacc859fd162e47cb7ba0fb3079.zip |
Added builitin for the icbi 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 487aaaae..5c4aad9d 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_icbi", [IR a1],_ -> + emit (Picbi(GPR0,a1)) | _ -> invalid_arg ("unrecognized builtin " ^ name) |