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/CBuiltins.ml | |
parent | 08365cdd07e1b688b5a3885b9cf69626af63baf2 (diff) | |
download | compcert-kvx-64ccfbf0a2337f191b16d1126aa096fc27dd98f7.tar.gz compcert-kvx-64ccfbf0a2337f191b16d1126aa096fc27dd98f7.zip |
bug 17752, add builtin_mr for PowerPC
Diffstat (limited to 'powerpc/CBuiltins.ml')
-rw-r--r-- | powerpc/CBuiltins.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/powerpc/CBuiltins.ml b/powerpc/CBuiltins.ml index 169647b6..6d5fe475 100644 --- a/powerpc/CBuiltins.ml +++ b/powerpc/CBuiltins.ml @@ -95,7 +95,7 @@ let builtins = { (TVoid [], [TInt(IInt, [])], false); "__builtin_trap", (TVoid [], [], false); - (* Cache isntructions *) + (* Cache instructions *) "__builtin_dcbf", (TVoid [],[TPtr(TVoid [], [])],false); "__builtin_dcbi", @@ -115,6 +115,9 @@ let builtins = { (TInt(IUInt, []), [TInt(IInt, [])], false); "__builtin_set_spr", (TVoid [], [TInt(IInt, []); TInt(IUInt, [])], false); + (* Move register *) + "__builtin_mr", + (TVoid [], [TInt(IUInt, []); TInt(IUInt, [])], false); (* Frame and return address *) "__builtin_call_frame", (TPtr (TVoid [],[]),[],false); |