From 74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 21:39:35 +0000 Subject: 20060303 --- utils/ql/Notes | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 utils/ql/Notes (limited to 'utils/ql/Notes') 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? -- cgit v1.2.3