diff options
Diffstat (limited to 'asm-tests/mips.S')
-rw-r--r-- | asm-tests/mips.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/asm-tests/mips.S b/asm-tests/mips.S new file mode 100644 index 0000000..1312d47 --- /dev/null +++ b/asm-tests/mips.S @@ -0,0 +1,11 @@ +/* on mips clang doesn't support privilegied instructions, doubleword store/load + and crashes with hand-written assembly + */ + + .set mips3 + sync + ld $t2, 0($t1) + +a: + addiu $t1, $s0, (b - a) +b: nop |