diff options
author | Michael Schmidt <github@mschmidt.me> | 2015-12-14 16:07:50 +0100 |
---|---|---|
committer | Michael Schmidt <github@mschmidt.me> | 2015-12-14 16:07:50 +0100 |
commit | 64ccfbf0a2337f191b16d1126aa096fc27dd98f7 (patch) | |
tree | 2c2acef2bdf5350b89096b3eb1b74e71ab931100 /powerpc/Machregs.v | |
parent | 08365cdd07e1b688b5a3885b9cf69626af63baf2 (diff) | |
download | compcert-64ccfbf0a2337f191b16d1126aa096fc27dd98f7.tar.gz compcert-64ccfbf0a2337f191b16d1126aa096fc27dd98f7.zip |
bug 17752, add builtin_mr for PowerPC
Diffstat (limited to 'powerpc/Machregs.v')
-rw-r--r-- | powerpc/Machregs.v | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/powerpc/Machregs.v b/powerpc/Machregs.v index fe209627..b56812e5 100644 --- a/powerpc/Machregs.v +++ b/powerpc/Machregs.v @@ -222,9 +222,10 @@ Definition builtin_constraints (ef: external_function) : if string_dec id "__builtin_get_spr" then OK_const :: nil else if string_dec id "__builtin_set_spr" then OK_const :: OK_default :: nil else if string_dec id "__builtin_prefetch" then OK_default :: OK_const :: OK_const :: nil - else if string_dec id "__builtin_dcbtls" then OK_default::OK_const::nil - else if string_dec id "__builtin_icbtls" then OK_default::OK_const::nil - else if string_dec id "__builtin_mbar" then OK_const::nil + else if string_dec id "__builtin_dcbtls" then OK_default :: OK_const :: nil + else if string_dec id "__builtin_icbtls" then OK_default :: OK_const :: nil + else if string_dec id "__builtin_mbar" then OK_const :: nil + else if string_dec id "__builtin_mr" then OK_const :: OK_const :: nil else nil | EF_vload _ => OK_addrany :: nil | EF_vstore _ => OK_addrany :: OK_default :: nil |