From: David Given Date: Thu, 30 May 2013 22:50:19 +0000 (+0100) Subject: Implement NOT... X-Git-Tag: release-6-0-pre-5~10^2~17 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=86c6fa2f1e339c67c66902e5d3308e3fbd1e1679;p=ack.git Implement NOT... --HG-- branch : dtrg-videocore --- diff --git a/mach/vc4/ncg/table b/mach/vc4/ncg/table index 3c28651df..9d1e45874 100644 --- a/mach/vc4/ncg/table +++ b/mach/vc4/ncg/table @@ -144,6 +144,7 @@ INSTRUCTIONS lsr GPR:rw, GPR+CONST:ro. mov GPR:wo, GPR+CONST:ro. mul GPR:rw, GPR+CONST:ro. + mvn GPR:wo, GPR+CONST:ro. neg GPR:rw, GPR+CONST:ro. or GPR:rw, GPR+CONST:ro. pop GPR0+GPR6+GPR16+GPRFP+GPRPC:wo. @@ -837,6 +838,13 @@ PATTERNS eor %a, %2 yields %a + pat com $1==QUAD /* Complement */ + with GPR + uses reusing %1, REG=%1 + gen + mvn %a, %1 + yields %a + pat dvi $1==QUAD /* Divide word (second / top) */ with GPR GPR uses reusing %2, REG