From nobody Sun Dec 19 12:57:48 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9AEA918FE447; Sun, 19 Dec 2021 12:57:55 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JH2nZ57rqz4l2d; Sun, 19 Dec 2021 12:57:54 +0000 (UTC) (envelope-from hps@selasky.org) Received: from [10.36.2.165] (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id B54792603F8; Sun, 19 Dec 2021 13:57:53 +0100 (CET) Message-ID: Date: Sun, 19 Dec 2021 13:57:48 +0100 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: git: 48014c667902 - main - Try to fix syntax of "strht" instruction so that clang is happy. Content-Language: en-US From: Hans Petter Selasky To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org, Ed Maste References: <202112191253.1BJCrbLc026202@gitrepo.freebsd.org> In-Reply-To: <202112191253.1BJCrbLc026202@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4JH2nZ57rqz4l2d X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [0.20 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-0.85)[-0.849]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(0.36)[0.360]; NEURAL_SPAM_SHORT(0.99)[0.991]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N On 12/19/21 13:53, Hans Petter Selasky wrote: > The branch main has been updated by hselasky: > > URL: https://cgit.FreeBSD.org/src/commit/?id=48014c6679024f5f1b8217508915fbcd69c2041b > > commit 48014c6679024f5f1b8217508915fbcd69c2041b > Author: Hans Petter Selasky > AuthorDate: 2021-12-19 12:51:37 +0000 > Commit: Hans Petter Selasky > CommitDate: 2021-12-19 12:52:36 +0000 > > Try to fix syntax of "strht" instruction so that clang is happy. > > This fixes compilation of usb(4) after 0ec590d24e415dd36e38648630a0b963412ad87e . > > MFC after: 1 week > Sponsored by: NVIDIA Networking > --- > sys/arm/arm/fusu.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sys/arm/arm/fusu.S b/sys/arm/arm/fusu.S > index 300ccb5f020f..fd366542b283 100644 > --- a/sys/arm/arm/fusu.S > +++ b/sys/arm/arm/fusu.S > @@ -234,7 +234,7 @@ ENTRY(suword16) > adr r3, .Lfusufault > str r3, [r2, #PCB_ONFAULT] > > - strht r1, [r0] > + strht r1, [r0], #0 Hi, GCC 4.8 understands the former syntax, so maybe a hint for the clang ARM maintainers. --HPS