Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932563AbbKMDpM (ORCPT ); Thu, 12 Nov 2015 22:45:12 -0500 Received: from mail-io0-f194.google.com ([209.85.223.194]:36400 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754220AbbKMDpK (ORCPT ); Thu, 12 Nov 2015 22:45:10 -0500 MIME-Version: 1.0 In-Reply-To: <5644E97B.6050203@linaro.org> References: <1447195301-16757-1-git-send-email-yang.shi@linaro.org> <1447195301-16757-2-git-send-email-yang.shi@linaro.org> <20151111121256.GI9562@arm.com> <20151111123955.GK9562@arm.com> <5644E97B.6050203@linaro.org> Date: Thu, 12 Nov 2015 19:45:07 -0800 Message-ID: Subject: Re: [PATCH 1/2] arm64: bpf: add 'store immediate' instruction From: Z Lim To: "Shi, Yang" Cc: Will Deacon , Alexei Starovoitov , daniel@iogearbox.net, Catalin Marinas , Xi Wang , LKML , Network Development , "linux-arm-kernel@lists.infradead.org" , linaro-kernel@lists.linaro.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 886 Lines: 23 On Thu, Nov 12, 2015 at 11:33 AM, Shi, Yang wrote: > On 11/11/2015 4:39 AM, Will Deacon wrote: >> >> Wait a second, we're both talking rubbish here :) The STR (immediate) >> form is referring to the addressing mode, whereas this patch wants to >> store an immediate value to memory, which does need moving to a register >> first. > > > Yes, the immediate means immediate offset for addressing index. Doesn't mean > to store immediate to memory. > > I don't think any load-store architecture has store immediate instruction. > Indeed. Sorry for the noise. Somehow Will caught a whiff of whatever I was smoking then :) -- 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/