Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E5CFC433FE for ; Wed, 8 Dec 2021 08:56:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229966AbhLHI7p (ORCPT ); Wed, 8 Dec 2021 03:59:45 -0500 Received: from mxout03.lancloud.ru ([45.84.86.113]:33126 "EHLO mxout03.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhLHI7n (ORCPT ); Wed, 8 Dec 2021 03:59:43 -0500 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout03.lancloud.ru A692C20E8F18 Received: from LanCloud Received: from LanCloud Received: from LanCloud Message-ID: Date: Wed, 8 Dec 2021 11:55:59 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH] MIPS: Loongson64: Use three arguments for slti Content-Language: en-US To: Nathan Chancellor , Huacai Chen , Jiaxun Yang , "Thomas Bogendoerfer" CC: Nick Desaulniers , , , , Ryutaroh Matsumoto References: <20211207170129.578089-1-nathan@kernel.org> From: Sergey Shtylyov Organization: Open Mobile Platform In-Reply-To: <20211207170129.578089-1-nathan@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT01.lancloud.ru (fd00:f066::141) To LFEX1907.lancloud.ru (fd00:f066::207) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 07.12.2021 20:01, Nathan Chancellor wrote: > LLVM's integrated assembler does not support 'stli , ': Perhaps slti (as below)? > :16:12: error: invalid operand for instruction > slti $12, (0x6300 | 0x0008) > ^ > arch/mips/kernel/head.S:86:2: note: while in macro instantiation > kernel_entry_setup # cpu specific setup > ^ > :16:12: error: invalid operand for instruction > slti $12, (0x6300 | 0x0008) > ^ > arch/mips/kernel/head.S:150:2: note: while in macro instantiation > smp_slave_setup > ^ > > To increase compatibility with LLVM's integrated assembler, use the full > form of 'stli , , ', which matches the rest of Again, slti? > arch/mips/. This does not result in any change for GNU as. > > Link: https://github.com/ClangBuiltLinux/linux/issues/1526 > Reported-by: Ryutaroh Matsumoto > Signed-off-by: Nathan Chancellor [...] MBR, Sergey