aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/Machregs.v
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-09-02 17:17:00 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-09-02 17:17:00 +0200
commitcfee340dc514e2cfbc5df910f7aa687e78a54d41 (patch)
tree1b6544f0dbbc628ee1b10c191a794c1ef5ab9ab8 /powerpc/Machregs.v
parent30ebbcd0731f680d1d283afb99318fb9d6e9cead (diff)
downloadcompcert-kvx-cfee340dc514e2cfbc5df910f7aa687e78a54d41.tar.gz
compcert-kvx-cfee340dc514e2cfbc5df910f7aa687e78a54d41.zip
Added builtin for the icbtls instruction.
This commit adds a builtin for the icbtls instruction.
Diffstat (limited to 'powerpc/Machregs.v')
-rw-r--r--powerpc/Machregs.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/powerpc/Machregs.v b/powerpc/Machregs.v
index 14edb89d..66d21021 100644
--- a/powerpc/Machregs.v
+++ b/powerpc/Machregs.v
@@ -208,6 +208,7 @@ Definition builtin_get_spr := ident_of_string "__builtin_get_spr".
Definition builtin_set_spr := ident_of_string "__builtin_set_spr".
Definition builtin_prefetch := ident_of_string "__builtin_prefetch".
Definition builtin_dcbtls := ident_of_string "__builtin_dcbtls".
+Definition builtin_icbtls := ident_of_string "__builtin_icbtls".
Definition builtin_constraints (ef: external_function) :
list builtin_arg_constraint :=
@@ -217,6 +218,7 @@ Definition builtin_constraints (ef: external_function) :
else if ident_eq id builtin_set_spr then OK_const :: OK_default :: nil
else if ident_eq id builtin_prefetch then OK_addrany :: OK_const :: OK_const :: nil
else if ident_eq id builtin_dcbtls then OK_addrany::OK_const::nil
+ else if ident_eq id builtin_icbtls then OK_addrany::OK_const::nil
else nil
| EF_vload _ => OK_addrany :: nil
| EF_vstore _ => OK_addrany :: OK_default :: nil