aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/Asmgen.v
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-02-24 15:49:19 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-02-24 15:49:19 +0000
commit91dcfe11ff321386f7924da053be83523073a50c (patch)
treedc8291da94c66665ca8dd2496cdd74e32e08ae92 /powerpc/Asmgen.v
parent0e76ac320601a81a67c700759526d0f8b7a8ed7b (diff)
downloadcompcert-kvx-91dcfe11ff321386f7924da053be83523073a50c.tar.gz
compcert-kvx-91dcfe11ff321386f7924da053be83523073a50c.zip
Improved instruction selection for "notint".
powerpc/PrintAsm.ml: fixed MacOS X problems with malloc and free git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1824 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc/Asmgen.v')
-rw-r--r--powerpc/Asmgen.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/powerpc/Asmgen.v b/powerpc/Asmgen.v
index 6d1a1fc0..b166d34c 100644
--- a/powerpc/Asmgen.v
+++ b/powerpc/Asmgen.v
@@ -350,12 +350,18 @@ Definition transl_op
Pxor (ireg_of r) (ireg_of a1) (ireg_of a2) :: k
| Oxorimm n, a1 :: nil =>
xorimm (ireg_of r) (ireg_of a1) n k
+ | Onot, a1 :: nil =>
+ Pnor (ireg_of r) (ireg_of a1) (ireg_of a1) :: k
| Onand, a1 :: a2 :: nil =>
Pnand (ireg_of r) (ireg_of a1) (ireg_of a2) :: k
| Onor, a1 :: a2 :: nil =>
Pnor (ireg_of r) (ireg_of a1) (ireg_of a2) :: k
| Onxor, a1 :: a2 :: nil =>
Peqv (ireg_of r) (ireg_of a1) (ireg_of a2) :: k
+ | Oandc, a1 :: a2 :: nil =>
+ Pandc (ireg_of r) (ireg_of a1) (ireg_of a2) :: k
+ | Oorc, a1 :: a2 :: nil =>
+ Porc (ireg_of r) (ireg_of a1) (ireg_of a2) :: k
| Oshl, a1 :: a2 :: nil =>
Pslw (ireg_of r) (ireg_of a1) (ireg_of a2) :: k
| Oshr, a1 :: a2 :: nil =>