Fixed a problem with SRU: no regs available

This commit is contained in:
ceriel 1987-03-25 16:26:58 +00:00
parent 3e694c1b9d
commit e5116f86dc

View file

@ -834,13 +834,13 @@ rmu !defined($1)| source2 |
#endif #endif
slu | | | | sli $1 | slu | | | | sli $1 |
loc slu | | | | loc $1 sli $2 | loc slu | | | | loc $1 sli $2 |
sru $1==2 | SCR_REG xsource2 | sru $1==2 | source2 xsource2 |
allocate(%[2],REG_PAIR) allocate(%[1],%[2],REG=%[1],REG_PAIR)
move(%[2],%[a.2]) move(%[2],%[b.2])
move({CONST2,0},%[a.1]) move({CONST2,0},%[b.1])
"neg %[1]" "neg %[a]"
"ashc %[1],%[a]" "ashc %[a],%[b]"
erase(%[a]) | %[a.2] | | erase(%[b]) | %[b.2] | |
loc sru $2==2 | xsource2 | loc sru $2==2 | xsource2 |
allocate(%[1],REG_PAIR) allocate(%[1],REG_PAIR)
move(%[1],%[a.2]) move(%[1],%[a.2])