beetle-psx-libretro/insts.td.cache

1 line
16 KiB
Plaintext
Raw Normal View History

2016-06-05 06:20:40 +00:00
[["ADD", "RType", 0, 32, "add %$rd, %$rs, %$rt", ["block", ["check_overflow", ["add", ["gpr", "$rs"], ["gpr", "$rt"]]], ["set", ["gpr", "$rd"], ["add", ["gpr", "$rs"], ["gpr", "$rt"]]]]], ["ADDI", "IType", 8, null, "addi %$rt, %$rs, $eimm", ["let", "$eimm", ["signext", 16, "$imm"], ["block", ["check_overflow", ["add", ["gpr", "$rs"], "$eimm"]], ["set", ["gpr", "$rt"], ["add", ["gpr", "$rs"], "$eimm"]]]]], ["ADDIU", "IType", 9, null, "addiu %$rt, %$rs, $eimm", ["let", "$eimm", ["signext", 16, "$imm"], ["set", ["gpr", "$rt"], ["add", ["gpr", "$rs"], "$eimm"]]]], ["ADDU", "RType", 0, 33, "addu %$rd, %$rs, %$rt", ["set", ["gpr", "$rd"], ["add", ["gpr", "$rs"], ["gpr", "$rt"]]]], ["AND", "RType", 0, 36, "and %$rd, %$rs, %$rt", ["set", ["gpr", "$rd"], ["and", ["gpr", "$rs"], ["gpr", "$rt"]]]], ["ANDI", "IType", 12, null, "andi %$rt, %$rs, $eimm", ["let", "$eimm", ["zeroext", 16, "$imm"], ["set", ["gpr", "$rt"], ["and", ["gpr", "$rs"], "$eimm"]]]], ["BEQ", "IType", 4, null, "beq %$rs, %$rt, $target", ["let", "$target", ["add", ["pcd"], ["signext", 18, ["shl", "$imm", 2]]], ["when", ["eq", ["unsigned", ["gpr", "$rs"]], ["unsigned", ["gpr", "$rt"]]], ["branch", "$target"]]]], ["BGEZ", "RIType", 1, 1, "bgez %$rs, $target", ["let", "$target", ["add", ["pcd"], ["signext", 18, ["shl", "$imm", 2]]], ["when", ["ge", ["signed", ["gpr", "$rs"]], 0], ["branch", "$target"]]]], ["BGEZAL", "RIType", 1, 17, "bgezal %$rs, $target", ["block", ["set", ["gpr", 31], ["pcd"]], ["let", "$target", ["add", ["pcd"], ["signext", 18, ["shl", "$imm", 2]]], ["when", ["ge", ["signed", ["gpr", "$rs"]], 0], ["branch", "$target"]]]]], ["BGTZ", "RIType", 7, 0, "bgtz %$rs, $target", ["let", "$target", ["add", ["pcd"], ["signext", 18, ["shl", "$imm", 2]]], ["when", ["gt", ["signed", ["gpr", "$rs"]], 0], ["branch", "$target"]]]], ["BLEZ", "RIType", 6, 0, "blez %$rs, $target", ["let", "$target", ["add", ["pcd"], ["signext", 18, ["shl", "$imm", 2]]], ["when", ["le", ["signed", ["gpr", "$rs"]], 0], ["branch", "$target"]]]], ["BLTZ", "RIType", 1, 0, "bltz %$rs, $target", ["let", "$target", ["add", ["pcd"], ["signext", 18, ["shl", "$imm", 2]]], ["when", ["lt", ["signed", ["gpr", "$rs"]], 0], ["branch", "$target"]]]], ["BLTZAL", "RIType", 1, 16, "bltzal %$rs, $target", ["block", ["set", ["gpr", 31], ["pcd"]], ["let", "$target", ["add", ["pcd"], ["signext", 18, ["shl", "$imm", 2]]], ["when", ["lt", ["signed", ["gpr", "$rs"]], 0], ["branch", "$target"]]]]], ["BNE", "IType", 5, null, "bne %$rs, %$rt, $target", ["let", "$target", ["add", ["pcd"], ["signext", 18, ["shl", "$imm", 2]]], ["when", ["neq", ["gpr", "$rs"], ["gpr", "$rt"]], ["branch", "$target"]]]], ["BREAK", "SType", 0, 13, "break $code", ["break", "$code"]], ["CFCzanonymous_0", "CFType", 16, 2, "cfc$cop %$rt, $rd", ["set", ["gpr", "$rt"], ["copcreg", "$cop", "$rd"]]], ["CFCzanonymous_1", "CFType", 17, 2, "cfc$cop %$rt, $rd", ["set", ["gpr", "$rt"], ["copcreg", "$cop", "$rd"]]], ["CFCzanonymous_2", "CFType", 18, 2, "cfc$cop %$rt, $rd", ["set", ["gpr", "$rt"], ["copcreg", "$cop", "$rd"]]], ["CFCzanonymous_3", "CFType", 19, 2, "cfc$cop %$rt, $rd", ["set", ["gpr", "$rt"], ["copcreg", "$cop", "$rd"]]], ["COPzanonymous_4anonymous_0", "CFType", 16, 16, "cop$cop $cofun", ["copfun", "$cop", "$cofun"]], ["COPzanonymous_4anonymous_1", "CFType", 17, 16, "cop$cop $cofun", ["copfun", "$cop", "$cofun"]], ["COPzanonymous_4anonymous_2", "CFType", 18, 16, "cop$cop $cofun", ["copfun", "$cop", "$cofun"]], ["COPzanonymous_4anonymous_3", "CFType", 19, 16, "cop$cop $cofun", ["copfun", "$cop", "$cofun"]], ["COPzanonymous_5anonymous_0", "CFType", 16, 17, "cop$cop $cofun", ["copfun", "$cop", "$cofun"]], ["COPzanonymous_5anonymous_1", "CFType", 17, 17, "cop$cop $cofun", ["copfun", "$cop", "$cofun"]], ["COPzanonymous_5anonymous_2", "CFType", 18, 17, "cop$cop $cofun", ["copfun", "$cop", "$cofun"]], ["COPzanonymous_5anonymous_3", "CFType", 19, 17, "cop$cop $cofun", ["copfun", "$cop", "$cofun"]], ["COPzanonymous_6anonymous_0", "CFType", 16, 18, "cop$cop $cofun", ["copfun", "$cop", "$cofun"]], ["COPzanonymous_6anonymous_1", "CFType", 17, 18, "