branch.c (10d962d5342e84630b258dbd89668c359549b5b5) branch.c (84fef630127aa90ef547ddd018d3dc47b1e79a1e)
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1996, 97, 2000, 2001 by Ralf Baechle
7 * Copyright (C) 2001 MIPS Technologies, Inc.
8 */

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

784 case bc6_op:
785 /* Only valid for MIPS R6 */
786 if (!cpu_has_mips_r6) {
787 ret = -SIGILL;
788 break;
789 }
790 regs->cp0_epc += 8;
791 break;
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1996, 97, 2000, 2001 by Ralf Baechle
7 * Copyright (C) 2001 MIPS Technologies, Inc.
8 */

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

784 case bc6_op:
785 /* Only valid for MIPS R6 */
786 if (!cpu_has_mips_r6) {
787 ret = -SIGILL;
788 break;
789 }
790 regs->cp0_epc += 8;
791 break;
792 case balc6_op:
793 if (!cpu_has_mips_r6) {
794 ret = -SIGILL;
795 break;
796 }
797 /* Compact branch: BALC */
798 regs->regs[31] = epc + 4;
799 epc += 4 + (insn.i_format.simmediate << 2);
800 regs->cp0_epc = epc;
801 break;
792#endif
793 case cbcond0_op:
794 case cbcond1_op:
795 /* Only valid for MIPS R6 */
796 if (!cpu_has_mips_r6) {
797 ret = -SIGILL;
798 break;
799 }

--- 50 unchanged lines hidden ---
802#endif
803 case cbcond0_op:
804 case cbcond1_op:
805 /* Only valid for MIPS R6 */
806 if (!cpu_has_mips_r6) {
807 ret = -SIGILL;
808 break;
809 }

--- 50 unchanged lines hidden ---