diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-11-06 13:51:31 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-11-06 13:51:31 +0000 |
commit | f8202f62ed65d15738e0868005c856168a302696 (patch) | |
tree | d9a16b650e62be1c15830eb41f9339485e948bd8 /cfrontend/Cshmgen.v | |
parent | f9c799143067c3197dc925f7fd916206d075a25d (diff) | |
download | compcert-f8202f62ed65d15738e0868005c856168a302696.tar.gz compcert-f8202f62ed65d15738e0868005c856168a302696.zip |
- Recognize __builtin_fabs as an operator, not just a builtin,
enabling more aggressive optimizations.
- Less aggressive CSE for EF_builtin builtins, causes problems
for __builtin_write{16,32}_reversed.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2363 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cfrontend/Cshmgen.v')
-rw-r--r-- | cfrontend/Cshmgen.v | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cfrontend/Cshmgen.v b/cfrontend/Cshmgen.v index fd349856..f37e8c77 100644 --- a/cfrontend/Cshmgen.v +++ b/cfrontend/Cshmgen.v @@ -329,6 +329,7 @@ Definition transl_unop (op: Cop.unary_operation) (a: expr) (ta: type) : res expr | Cop.Onotbool => make_notbool a ta | Cop.Onotint => make_notint a ta | Cop.Oneg => make_neg a ta + | Cop.Oabsfloat => OK (Eunop Oabsf a) end. Definition transl_binop (op: Cop.binary_operation) |