cp1emu.c (e9d92d223381f1f3be5d87322b576721d3b93612) cp1emu.c (143fefc8f315cd10e046e6860913c421c3385cb1)
1/*
2 * cp1emu.c: a MIPS coprocessor 1 (FPU) instruction emulator
3 *
4 * MIPS floating point support
5 * Copyright (C) 1994-2000 Algorithmics Ltd.
6 *
7 * Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com
8 * Copyright (C) 2000 MIPS Technologies, Inc.

--- 437 unchanged lines hidden (view full) ---

446 switch (insn.r_format.func) {
447 case jalr_op:
448 regs->regs[insn.r_format.rd] =
449 regs->cp0_epc + dec_insn.pc_inc +
450 dec_insn.next_pc_inc;
451 /* Fall through */
452 case jr_op:
453 /* For R6, JR already emulated in jalr_op */
1/*
2 * cp1emu.c: a MIPS coprocessor 1 (FPU) instruction emulator
3 *
4 * MIPS floating point support
5 * Copyright (C) 1994-2000 Algorithmics Ltd.
6 *
7 * Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com
8 * Copyright (C) 2000 MIPS Technologies, Inc.

--- 437 unchanged lines hidden (view full) ---

446 switch (insn.r_format.func) {
447 case jalr_op:
448 regs->regs[insn.r_format.rd] =
449 regs->cp0_epc + dec_insn.pc_inc +
450 dec_insn.next_pc_inc;
451 /* Fall through */
452 case jr_op:
453 /* For R6, JR already emulated in jalr_op */
454 if (NO_R6EMU && insn.r_format.opcode == jr_op)
454 if (NO_R6EMU && insn.r_format.func == jr_op)
455 break;
456 *contpc = regs->regs[insn.r_format.rs];
457 return 1;
458 }
459 break;
460 case bcond_op:
461 switch (insn.i_format.rt) {
462 case bltzal_op:

--- 1756 unchanged lines hidden ---
455 break;
456 *contpc = regs->regs[insn.r_format.rs];
457 return 1;
458 }
459 break;
460 case bcond_op:
461 switch (insn.i_format.rt) {
462 case bltzal_op:

--- 1756 unchanged lines hidden ---