Implement NOT...

--HG--
branch : dtrg-videocore
This commit is contained in:
David Given 2013-05-30 23:50:19 +01:00
parent d5a112dbfd
commit 86c6fa2f1e

View file

@ -144,6 +144,7 @@ INSTRUCTIONS
lsr GPR:rw, GPR+CONST:ro. lsr GPR:rw, GPR+CONST:ro.
mov GPR:wo, GPR+CONST:ro. mov GPR:wo, GPR+CONST:ro.
mul GPR:rw, GPR+CONST:ro. mul GPR:rw, GPR+CONST:ro.
mvn GPR:wo, GPR+CONST:ro.
neg GPR:rw, GPR+CONST:ro. neg GPR:rw, GPR+CONST:ro.
or GPR:rw, GPR+CONST:ro. or GPR:rw, GPR+CONST:ro.
pop GPR0+GPR6+GPR16+GPRFP+GPRPC:wo. pop GPR0+GPR6+GPR16+GPRFP+GPRPC:wo.
@ -837,6 +838,13 @@ PATTERNS
eor %a, %2 eor %a, %2
yields %a 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) */ pat dvi $1==QUAD /* Divide word (second / top) */
with GPR GPR with GPR GPR
uses reusing %2, REG uses reusing %2, REG