diff options
Diffstat (limited to 'vm/mterp/mips/OP_SUB_LONG.S')
-rw-r--r-- | vm/mterp/mips/OP_SUB_LONG.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vm/mterp/mips/OP_SUB_LONG.S b/vm/mterp/mips/OP_SUB_LONG.S new file mode 100644 index 000000000..700d4ea3d --- /dev/null +++ b/vm/mterp/mips/OP_SUB_LONG.S @@ -0,0 +1,10 @@ +%verify "executed" +/* + * For little endian the code sequence looks as follows: + * subu v0,a0,a2 + * subu v1,a1,a3 + * sltu a0,a0,v0 + * subu v1,v1,a0 + */ +%include "mips/binopWide.S" { "result0":"v0", "result1":"v1", "preinstr":"subu v0, a0, a2", "instr":"subu v1, a1, a3; sltu a0, a0, v0; subu v1, v1, a0" } + |