linux-mips
[Top] [All Lists]

Re: CVS Update@linux-mips.org: linux

To: linux-mips@linux-mips.org
Subject: Re: CVS Update@linux-mips.org: linux
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Tue, 12 Jul 2005 16:30:17 +0100 (BST)
In-reply-to: <20050712145438Z8226641-3678+2759@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050712145438Z8226641-3678+2759@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 12 Jul 2005 ralf@linux-mips.org wrote:

> Modified files:
>       include/asm-mips: interrupt.h 
> 
> Log message:
>       Use ei / di MIPS32 R2 instructions if available.

 Are you sure you don't want something like:

        andi    $1, \\flags, 1
        beqz    $1, 1f                                     
         di                                                     
        ei                                                      
1:                                                             

instead for local_irq_restore?

  Maciej

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