ine and ste are now declared to modify memory (preventing cached values being

propagated across the modification).
This commit is contained in:
David Given 2017-01-07 13:25:09 +01:00
parent 7710c76d56
commit 6b4f8d72b8

View file

@ -1073,6 +1073,7 @@ PATTERNS
ste $1 ste $1
pat ine /* Increment external */ pat ine /* Increment external */
kills MEMORY
uses REG={LABEL, $1}, REG uses REG={LABEL, $1}, REG
gen gen
lwz %b, {GPRINDIRECT, %a, 0} lwz %b, {GPRINDIRECT, %a, 0}
@ -1080,6 +1081,7 @@ PATTERNS
stw %b, {GPRINDIRECT, %a, 0} stw %b, {GPRINDIRECT, %a, 0}
pat dee /* Decrement external */ pat dee /* Decrement external */
kills MEMORY
uses REG={LABEL, $1}, REG uses REG={LABEL, $1}, REG
gen gen
lwz %b, {GPRINDIRECT, %a, 0} lwz %b, {GPRINDIRECT, %a, 0}