From 86c6fa2f1e339c67c66902e5d3308e3fbd1e1679 Mon Sep 17 00:00:00 2001 From: David Given Date: Thu, 30 May 2013 23:50:19 +0100 Subject: [PATCH] Implement NOT... --HG-- branch : dtrg-videocore --- mach/vc4/ncg/table | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.34.1