Add missing instances of "kills ALL" or "with STACK".

This commit is contained in:
George Koehler 2017-02-13 16:38:26 -05:00
parent ba9b021253
commit 89dd80e34d

View file

@ -1952,11 +1952,13 @@ PATTERNS
pat csa /* Array-lookup switch */ pat csa /* Array-lookup switch */
with STACK with STACK
kills ALL
gen gen
b {LABEL, ".csa"} b {LABEL, ".csa"}
pat csb /* Table-lookup switch */ pat csb /* Table-lookup switch */
with STACK with STACK
kills ALL
gen gen
b {LABEL, ".csb"} b {LABEL, ".csb"}
@ -1987,6 +1989,7 @@ PATTERNS
pat trp /* Raise EM trap */ pat trp /* Raise EM trap */
with GPR3 with GPR3
kills ALL
gen gen
bl {LABEL, ".trap"} bl {LABEL, ".trap"}
@ -2024,6 +2027,7 @@ PATTERNS
lpb lpb
pat gto /* longjmp */ pat gto /* longjmp */
with STACK
uses REG uses REG
gen gen
move {LABEL, $1}, %a move {LABEL, $1}, %a
@ -2084,6 +2088,7 @@ PATTERNS
pat lae rck $2==4 /* Range check */ pat lae rck $2==4 /* Range check */
with REG with REG
kills ALL
gen gen
cmpwi %1, {CONST, rom($1, 1)} cmpwi %1, {CONST, rom($1, 1)}
blt {LABEL, ".trap_erange"} blt {LABEL, ".trap_erange"}
@ -2355,9 +2360,8 @@ PATTERNS
/* Convert double to unsigned int */ /* Convert double to unsigned int */
pat loc loc cfu $1==8 && $2==4 pat loc loc cfu $1==8 && $2==4
with STACK leaving
gen cal ".cfu8"
bl {LABEL, ".cfu8"}
/* /*
* To convert integer to IEEE double, we pack the integer in * To convert integer to IEEE double, we pack the integer in