From 91dcfe11ff321386f7924da053be83523073a50c Mon Sep 17 00:00:00 2001 From: xleroy Date: Fri, 24 Feb 2012 15:49:19 +0000 Subject: 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 --- powerpc/Asmgen.v | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'powerpc/Asmgen.v') 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 => -- cgit