linux-mips
[Top] [All Lists]

Re: [PATCH] Vr41xx unaligned access update

To: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: [PATCH] Vr41xx unaligned access update
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Fri, 23 May 2003 16:12:20 +0200 (MET DST)
Cc: Ralf Baechle <ralf@linux-mips.org>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <Pine.GSO.4.21.0305231553070.26586-100000@vervain.sonytel.be>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 23 May 2003, Geert Uytterhoeven wrote:

> @@ -145,8 +146,6 @@
>        * but the BD bit in the cause register is not set.
>        */
>       case bcond_op:
> -     case j_op:
> -     case jal_op:
>       case beq_op:
>       case bne_op:
>       case blez_op:
> @@ -155,7 +154,11 @@
>       case bnel_op:
>       case blezl_op:
>       case bgtzl_op:
> -     case jalx_op:
> +             if (branch) {
> +                 /* branch in a branch delay slot */
> +                 goto sigill;
> +             }
> +             branch = 1;
>               pc += 4;
>               goto retry;

 Hmm, what tree is it against?  I can't see code matching these hunks in
our tree at linux-mips.org.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>