>> "Akim" == Akim Demaille
<akim(a)epita.fr> writes:
tc supports these two options to decide how many $s?
and $t? there are
on the mips we target. This is a cool feature to exercise the
regallocation. But it would be even cooler if Nolimips supported
these two options too, since that would make it possible to check that
tc is not cheating, using $s7 when --callee-save=0.
src/tc/trunk % src/tc --callee-save=0 --caller-save=3
--target-display -
CPU (12)
Arguments (4): $a0, $a1, $a2, $a3
Caller Save (3): $t0 $t1 $t2
Callee Save (0):
Special (5): $fp $ra $sp $v0 $zero
src/tc/trunk % src/tc --target-display - nostromo 15:47
CPU (27)
Arguments (4): $a0, $a1, $a2, $a3
Caller Save (10): $t0 $t1 $t2 $t3 $t4 $t5 $t6 $t7 $t8 $t9
Callee Save (8): $s0 $s1 $s2 $s3 $s4 $s5 $s6 $s7
Special (5): $fp $ra $sp $v0 $zero
Je voudrais insister sur les bénéfices de telles options !