mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 11:54:02 +00:00
register windows). Also added a bunch of scripts to test which registers really do get clobbered, so that we don't have to completely rely on the unreliable documentation.
16 lines
365 B
Bash
Executable File
16 lines
365 B
Bash
Executable File
#!/bin/sh
|
|
|
|
for regname in \
|
|
\$0 at v0 v1 a0 a1 a2 a3 \
|
|
t0 t1 t2 t3 t4 t5 t6 t7 \
|
|
s0 s1 s2 s3 s4 s5 s6 s7 \
|
|
t8 t9 k0 k1 gp sp fp ra \
|
|
\$f0 \$f1 \$f2 \$f3 \$f4 \$f5 \$f6 \$f7 \
|
|
\$f8 \$f9 \$f10 \$f11 \$f12 \$f13 \$f14 \$f15 \
|
|
\$f16 \$f17 \$f18 \$f19 \$f20 \$f21 \$f22 \$f23 \
|
|
\$f24 \$f25 \$f26 \$f27 \$f28 \$f29 \$f30 \$f31
|
|
do
|
|
./doregtest "$regname"
|
|
done
|
|
|