[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    [MIPS] Fix branch emulation for floating-point exceptions.
From:       linux-mips () linux-mips ! org
Date:       2006-04-26 21:05:47
Message-ID: S8133683AbWDZVFy/20060426210554Z+444 () ftp ! linux-mips ! org
[Download RAW message or body]

Author: Ralf Baechle <ralf@linux-mips.org> Wed Apr 26 21:33:03 2006 +0100
Commit: ee0f0aaf884b03afcc8ce8676692e15428b4f501
Gitweb: http://www.linux-mips.org/g/linux/ee0f0aaf
Branch: linux-2.4

In the branch emulation for floating-point exceptions, __compute_return_epc
must determine for bc1f et al which condition code bit to test. This is
based on bits <4:2> of the rt field. The switch statement to distinguish
bc1f et al needs to use only the two low bits of rt, but the old code tests
on the whole rt field.  This patch masks off the proper bits.

Signed-off-by: Win Treese <treese@acm.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from 088247332c0a9751cf186e9554332ef31741671e commit)

---

 arch/mips/kernel/branch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic