图着色基本原理
static int gcd(int a, int b) {
while (a != 0) {
int c;
c = b % a;
b = a;
a = c;
}
return b;
}...
1: _L1:
2: sne _R34,_R32,$zero
3: beqz _R34,_L3
4: rem _R36,_R33,_R32
5: move _R33,_R32
6: move _R32,_R36
7: j L1
8: L3:
9: move $v0,_R33
...
Last updated
Was this helpful?