Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755308Ab3JCTwO (ORCPT ); Thu, 3 Oct 2013 15:52:14 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:64782 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754329Ab3JCTwN (ORCPT ); Thu, 3 Oct 2013 15:52:13 -0400 Message-ID: <524DCAE6.5090601@gmail.com> Date: Thu, 03 Oct 2013 14:52:06 -0500 From: Tom Musta User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Sukadev Bhattiprolu CC: Michael Ellerman , Michael Ellerman , linux-kernel@vger.kernel.org, Stephane Eranian , linuxppc-dev@ozlabs.org, Paul Mackerras , Arnaldo Carvalho de Melo , Anshuman Khandual Subject: Re: [PATCH 5/9][v5] powerpc: implement is_instr_load_store(). References: <1380672911-12812-1-git-send-email-sukadev@linux.vnet.ibm.com> <1380672911-12812-6-git-send-email-sukadev@linux.vnet.ibm.com> <20131003053519.GC17237@concordia> <20131003190325.GB21561@us.ibm.com> In-Reply-To: <20131003190325.GB21561@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 657 Lines: 17 On 10/3/2013 2:03 PM, Sukadev Bhattiprolu wrote: > Michael Ellerman [michael@ellerman.id.au] wrote: > | > | if (lower == 6) > | if (upper <= 1) > | return true; > | return false; > v Note that this case covers the lvsl/lvsr instructions, which, despite their names are not actually loads. So you could eliminate this check and do just a little bit better. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/