linux-mips
[Top] [All Lists]

Re: [PATCH 2/2] MIPS: lib: csum_partial: use wsbh/movn on ls3

To: chenj <chenj@lemote.com>
Subject: Re: [PATCH 2/2] MIPS: lib: csum_partial: use wsbh/movn on ls3
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 3 Jun 2014 13:03:21 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <1400137743-8806-2-git-send-email-chenj@lemote.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1400137743-8806-1-git-send-email-chenj@lemote.com> <1400137743-8806-2-git-send-email-chenj@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, May 15, 2014 at 03:09:03PM +0800, chenj wrote:

> wsbh & movn are available on loongson3 CPU.
> ---
>  arch/mips/lib/csum_partial.S | 10 ++++++++--

Does Loongson 3 also have both the DSBH and DSHD instructions?

  Ralf

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