linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Define __arch_swab64 for all mips r2 cpus.

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH] MIPS: Define __arch_swab64 for all mips r2 cpus.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 18 Dec 2008 17:06:02 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <494A7D5F.6060103@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1229546644-3030-1-git-send-email-ddaney@caviumnetworks.com> <20081218080740.GA15338@linux-mips.org> <494A7D5F.6060103@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Thu, Dec 18, 2008 at 08:42:07AM -0800, David Daney wrote:

>> This breaks every non-R2 64-bit processor.
>>
> I disagree. As I said before, the entire block is wrapped by #ifdef  
> MIPS_R2.  non-R2 processors will not get any of the optimized byte  
> swapping code.  I just want to allow all 64 bit R2 processors to use the  
> optimized code.

Whops sorry.  I missed that this was wrapped into yet another #ifdef.

  Ralf

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