2015-02-21 15:29:28 +00:00
|
|
|
/* on mips clang doesn't support privilegied instructions, doubleword store/load
|
|
|
|
and crashes with hand-written assembly
|
|
|
|
*/
|
|
|
|
|
|
|
|
.set mips3
|
|
|
|
sync
|
2015-10-10 08:34:55 +00:00
|
|
|
ld $t2, 0($t1)
|
2015-02-21 15:29:28 +00:00
|
|
|
|
|
|
|
a:
|
2015-10-10 08:34:55 +00:00
|
|
|
addiu $t1, $s0, (b - a)
|
2015-02-21 15:29:28 +00:00
|
|
|
b: nop
|