summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/branch.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-04 03:33:34 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-04 03:33:34 +0000
commitebfdb241d4dd590106da11da02e35d0d28b455f2 (patch)
tree61a20c04a3f486a49a8d0e525b28f43077b433f2 /arch/mips/kernel/branch.c
parentac5ff8f4a72f7b4e66f73c3c6cb9fe7758cf6f12 (diff)
cop1 branch emulation will fail for MIPS IV. Add comment about that.
Diffstat (limited to 'arch/mips/kernel/branch.c')
-rw-r--r--arch/mips/kernel/branch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/kernel/branch.c b/arch/mips/kernel/branch.c
index a1e302711..b9d138a32 100644
--- a/arch/mips/kernel/branch.c
+++ b/arch/mips/kernel/branch.c
@@ -162,6 +162,9 @@ int __compute_return_epc(struct pt_regs *regs)
/*
* And now the FPA/cp1 branch instructions.
+ *
+ * FIXME: This will silently fail for MIPS IV cop1 branches with
+ * the cc field != 0.
*/
case cop1_op:
asm ("cfc1\t%0,$31":"=r" (fcr31));