From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 0B84B2C00BB for ; Fri, 4 Oct 2013 05:52:14 +1000 (EST) Received: by mail-ie0-f176.google.com with SMTP id as1so6594173iec.21 for ; Thu, 03 Oct 2013 12:52:12 -0700 (PDT) Message-ID: <524DCAE6.5090601@gmail.com> Date: Thu, 03 Oct 2013 14:52:06 -0500 From: Tom Musta MIME-Version: 1.0 To: Sukadev Bhattiprolu 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 Cc: Michael Ellerman , linux-kernel@vger.kernel.org, Stephane Eranian , linuxppc-dev@ozlabs.org, Paul Mackerras , Arnaldo Carvalho de Melo , Anshuman Khandual List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.