diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-08-28 09:21:22 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-08-28 09:21:22 +0000 |
commit | 58045010316833fe838e8fa52bea1220126b760b (patch) | |
tree | 8f34e25bfb84e88448932650dd982b6a407d0d21 /powerpc/Asmexpand.ml | |
parent | 1e39c09cd2b680b7ba5a5fd8436a0ec514762c02 (diff) | |
download | compcert-58045010316833fe838e8fa52bea1220126b760b.tar.gz compcert-58045010316833fe838e8fa52bea1220126b760b.zip |
Cold feet: suppress builtins for load with reservation/store conditional, use case is unclear.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2622 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc/Asmexpand.ml')
-rw-r--r-- | powerpc/Asmexpand.ml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/powerpc/Asmexpand.ml b/powerpc/Asmexpand.ml index 7a45452f..c003bcd1 100644 --- a/powerpc/Asmexpand.ml +++ b/powerpc/Asmexpand.ml @@ -418,12 +418,6 @@ let expand_builtin_inline name args res = emit (Pisync) | "__builtin_trap", [], _ -> emit (Ptrap) - | "__builtin_lwar", [IR addr], [IR res] -> - emit (Plwarx(res, GPR0, addr)) - | "__builtin_stwc", [IR addr; IR src], [IR res] -> - emit (Pstwcx_(src, GPR0, addr)); - emit (Pmfcr res); - emit (Prlwinm(res, res, Z.of_uint 3, _1)) (* Vararg stuff *) | "__builtin_va_start", [IR a], _ -> expand_builtin_va_start a |