Remainders are calculated correctly. printf now works.
--HG-- branch : dtrg-videocore
This commit is contained in:
parent
510888e6d5
commit
366cd10194
|
@ -150,6 +150,7 @@ INSTRUCTIONS
|
||||||
pop GPR0+GPR6+GPR16+GPRFP:wo, GPRPC:wo.
|
pop GPR0+GPR6+GPR16+GPRFP:wo, GPRPC:wo.
|
||||||
push GPR0+GPR6+GPR16+GPRFP+GPRLR:ro.
|
push GPR0+GPR6+GPR16+GPRFP+GPRLR:ro.
|
||||||
push GPR0+GPR6+GPR16+GPRFP:ro, GPRLR:ro.
|
push GPR0+GPR6+GPR16+GPRFP:ro, GPRLR:ro.
|
||||||
|
rsb GPR:rw, GPR+CONST:ro.
|
||||||
sub GPR:wo, GPR:ro, CONST+GPR:ro.
|
sub GPR:wo, GPR:ro, CONST+GPR:ro.
|
||||||
sub GPR:rw, GPR+CONST:ro.
|
sub GPR:rw, GPR+CONST:ro.
|
||||||
st GPR:ro, GPRINC:rw.
|
st GPR:ro, GPRINC:rw.
|
||||||
|
@ -783,7 +784,7 @@ PATTERNS
|
||||||
gen
|
gen
|
||||||
divu %a, %2, %1
|
divu %a, %2, %1
|
||||||
mul %a, %1
|
mul %a, %1
|
||||||
sub %a, %2
|
rsb %a, %2
|
||||||
yields %a
|
yields %a
|
||||||
|
|
||||||
pat rmi $1==QUAD /* Remainder signed word (second % top) */
|
pat rmi $1==QUAD /* Remainder signed word (second % top) */
|
||||||
|
@ -792,7 +793,7 @@ PATTERNS
|
||||||
gen
|
gen
|
||||||
divs %a, %2, %1
|
divs %a, %2, %1
|
||||||
mul %a, %1
|
mul %a, %1
|
||||||
sub %a, %2
|
rsb %a, %2
|
||||||
yields %a
|
yields %a
|
||||||
|
|
||||||
pat ngi $1==QUAD /* Negate word */
|
pat ngi $1==QUAD /* Negate word */
|
||||||
|
|
Loading…
Reference in a new issue