Showing the changes to libinterp (1 of 7 files). Show all
Unified · Split
| @@ -413,7 +413,7 @@ sub(Opcode *o, Instr *i) · 412 unmodified lines | ||
| 413 | 413 | } |
| 414 | 414 | |
| 415 | 415 | static void |
| 416 | −div(Opcode *o, Instr *i) | |
| 416 | +idiv(Opcode *o, Instr *i) | |
| 417 | 417 | { |
| 418 | 418 | format(o->mnemonic, i, 0); |
| 419 | 419 | if(i->op == 31) |
| @@ -554,8 +554,8 @@ static Opcode opcodes[] = { · 134 unmodified lines | ||
| 554 | 554 | {31, 246, ALL, "DCBTST", dcb, 0}, |
| 555 | 555 | {31, 1014, ALL, "DCBZ", dcb, 0}, |
| 556 | 556 | |
| 557 | − {31, 491, OEM, "DIVW%V%C", div, ir3}, | |
| 558 | − {31, 459, OEM, "DIVWU%V%C", div, ir3}, | |
| 557 | + {31, 491, OEM, "DIVW%V%C", idiv, ir3}, | |
| 558 | + {31, 459, OEM, "DIVWU%V%C", idiv, ir3}, | |
| 559 | 559 | |
| 560 | 560 | {31, 310, ALL, "ECIWX", ldx, 0}, |
| 561 | 561 | {31, 438, ALL, "ECOWX", stx, 0}, |
| @@ -647,7 +647,7 @@ static Opcode opcodes[] = { · 85 unmodified lines | ||
| 647 | 647 | {31, 242, ALL, "MOVW", gen, "R%s,SEG(R%b)"}, |
| 648 | 648 | |
| 649 | 649 | {31, 235, OEM, "MULLW%V%C", gencc, ir3}, |
| 650 | − {7, 0, 0, "MULLW", div, "%i,R%a,R%d"}, | |
| 650 | + {7, 0, 0, "MULLW", idiv, "%i,R%a,R%d"}, | |
| 651 | 651 | |
| 652 | 652 | {31, 476, ALL, "NAND%C", gencc, il3}, |
| 653 | 653 | {31, 104, OEM, "NEG%V%C", neg, ir2}, |