summaryrefslogtreecommitdiff
path: root/utils/ql/Notes
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 21:39:35 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 21:39:35 +0000
commit74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a (patch)
treec6e220ba61db3a6ea4052e6841296d829654e664 /utils/ql/Notes
parent46439007cf417cbd9ac8049bb4122c890097a0fa (diff)
20060303
Diffstat (limited to 'utils/ql/Notes')
-rw-r--r--utils/ql/Notes21
1 files changed, 21 insertions, 0 deletions
diff --git a/utils/ql/Notes b/utils/ql/Notes
new file mode 100644
index 00000000..1620b508
--- /dev/null
+++ b/utils/ql/Notes
@@ -0,0 +1,21 @@
+possible input transformations
+ adde $-1,X => addme X
+ adde $0,X => addze X
+ subw $s,X => addw $-s,X
+ orn $v,X => or $~v,X
+
+qa:
+ subc r1,$s,r2 => subc $s,r1,r2
+ movw sreg(Rn),Rm => movw sreg(NREG),Rn,Rm [and v.v.]
+
+others?
+ andn $m => and $~m
+ slw $sh,s,a => rliwnm
+ srw $sh,s,a => rliwnm
+
+support for C_LCON needed since addresses are literals?
+
+- moves
+- branch distance
+
+- could rewrite movwu x,d(r) as movw $d,tmp; movwu x,(tmp+d) when d is large?