From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id 42F0F3858D1E for ; Tue, 25 Apr 2023 08:37:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 42F0F3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Q5Fk24ypNz1r1rx; Tue, 25 Apr 2023 10:37:30 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Q5Fk23yS7z1qqlS; Tue, 25 Apr 2023 10:37:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id w-fJgDtgLTSt; Tue, 25 Apr 2023 10:37:29 +0200 (CEST) X-Auth-Info: C1S9APzgoO8GvS9U+PGqHlT+W3wxpC0HeR5mqiqMQXa59HDW/CIWxYt9wpI61pR4 Received: from igel.home (aftr-82-135-86-255.dynamic.mnet-online.de [82.135.86.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 25 Apr 2023 10:37:29 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 1FB632C0249; Tue, 25 Apr 2023 10:37:29 +0200 (CEST) From: Andreas Schwab To: Jan Beulich via Binutils Cc: Jan Beulich , Palmer Dabbelt , Andrew Waterman , Jim Wilson , Nelson Chu Subject: Re: [PATCH v2 5/7] RISC-V: relax post-relocation-operator separator expectation In-Reply-To: <89f892c8-e378-b81c-7b13-322a7876a252@suse.com> (Jan Beulich via Binutils's message of "Fri, 10 Mar 2023 10:27:26 +0100") References: <89f892c8-e378-b81c-7b13-322a7876a252@suse.com> X-Yow: I'm having BEAUTIFUL THOUGHTS about the INSIPID WIVES of smug and wealthy CORPORATE LAWYERS.. Date: Tue, 25 Apr 2023 10:37:28 +0200 Message-ID: <87354otl13.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mär 10 2023, Jan Beulich via Binutils wrote: > With a blank being okay as a separator, constructs like > > lui t0, %hi sym > lui t0, %hi 0x1000 > > are accepted. But then it makes little sense to not also accept e.g. > > lui t0, %hi +sym > lui t0, %hi -0x1000 https://github.com/riscv-non-isa/riscv-asm-manual/blob/master/riscv-asm.md always includes the parens around the expression, and I don't think it should be accepted without them. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."