| Message ID | 6801be76-4052-4c49-87f2-6a08950368c0@suse.com |
|---|---|
| Headers |
Return-Path: <binutils-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 53C474BA23CA for <patchwork@sourceware.org>; Fri, 24 Jul 2026 10:00:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53C474BA23CA Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256 header.s=google header.b=dUPGgngn X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id E9A184BA23F7 for <binutils@sourceware.org>; Fri, 24 Jul 2026 09:59:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E9A184BA23F7 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E9A184BA23F7 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::331 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784887200; cv=none; b=X5pyNV7JeV39GlFJUVDFOSpmWk93KFOE6vQlPNP/O8ESnQVcLZwo+3h19ULlUfXrmSlBcAotogrpOP1FKuA3pU5590nHtNmoiQKvqmRPP3v50nU8LvQ/v5whw7z+TiFIYZjbJIA8JJ8QmqTeFgLzJUAOFTZgxzau4xlmnKvjq6A= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784887200; c=relaxed/simple; bh=96kQgS/ozfrnVsmdZyCY2Bj8++aKhihSFBuvuRXb7d8=; h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To; b=ZmFD34u6MF8qV0T2mJBnPoCzzpnzzc0lgHxCtozn+YtweXzeG29bJHV/PNMUEQM5K9Pi1SbzXE45R1k9UJDv+tAZIfLK6bEcp8UgCm92QgQGfJDIJ5c479FlFJ/XQ9McPp7UuMNhHU/1Eo/xprtgdl31dgKjVnZiXKc6DuYK7PQ= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256 header.s=google header.b=dUPGgngn DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9A184BA23F7 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-495590dde14so3184695e9.0 for <binutils@sourceware.org>; Fri, 24 Jul 2026 02:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1784887199; x=1785491999; darn=sourceware.org; h=content-transfer-encoding:content-type:autocrypt:content-language :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to:content-type; bh=96kQgS/ozfrnVsmdZyCY2Bj8++aKhihSFBuvuRXb7d8=; b=dUPGgngnqpNi+WvMZrAn+dkDulvTJo8BAKmcQ2+hhOiP97G+aVsLGJHaw29akkJwv/ zDZlrwsStBFw6K6qLNvnf/i8OByXxLm9rEEtg745IAdFSKrn2Fw1jrK1I+FsNhHUgFzv Ne9LZA+k9UFTbU4kylU6ZRgOSmQRQv827xHuKyebiV0/pHbY7yDWhQQPOuBYFNs6NHx/ WQjpqKkdRhXGcBHCUuPiNdQMYx/BUgMqxtOfEXLQ8UPYecKswxZPY2Fn11LNaei7Xecu Sdk55KBc30rGj6CzfESybpXaqT7o1B2GHr0gKtNrRIO/CNXIa7rDyDfX1V/tzOduhwF1 Dfyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784887199; x=1785491999; h=content-transfer-encoding:content-type:autocrypt:content-language :cc:to:subject:from:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=96kQgS/ozfrnVsmdZyCY2Bj8++aKhihSFBuvuRXb7d8=; b=UdmIilGvqsKXdZmniHpec/fyWJ4HZ+pogAI89nZeGpF01OgQYbRsrkUt2430cpE/IS RZFOe7M8ihWPFeoJnP5n8199yu1qOTLY7MyYyaEEtv73EzNNE90OGVGuzzQAR9DPJIek yyaSpUf19LPsCrocjtv2kNK6LIKDqk3GbdHNtTmqMLyjO8oCBDBCqKJvg79aN4suFbxV vDrttr9Ol37Mrv/1Yytm8EJV2/UMMjzy5VmcXQjyexzVzikgFTXkAjGIuoEZf+a4N1qr 3dfd6u0JV5/bKbXUSRPl3q47pkDXhi5lYJx3RxqV29ffAflHa2eYUx8ba6438Th93Pcy QPhQ== X-Gm-Message-State: AOJu0Yzi6gJYfKSAHwa4fbIIV13nQU3+vL6dk9jGOphHxuchCnvXH01f m15iFoHare3MvtjkbhRbhvRUCiBkOHsWLkzLbJdwTfwig33Zsola2k4wYi5BEn6rKqyXXt5mlD7 phAPfrg== X-Gm-Gg: AR+sD107m2a67IqTopGQuzHPMvaUz/OqpUuXLMKrP3n0ZipKS65lYEc1sDH1CA6wnuB NSuFtYAUFJ8vfYkBrfZ6fdmkQJA1q8pVyXML80yNdshUoQFcIQBBXPSmj8eNIHEAfAY8hl5YXSk XeIeA6nCjQhC1QWrXtKQ3qHdgT5cIk4UZhTiuF3wosb0tmohuDdP+lpNQXGJ4ATU7WsgaFuo0zE YPgdFMd8AxQLx2OvJcwNROakenu0lv5rYmrrBI4tPC2aU57NvI5jMoA8v5RXE+/c/JLKnG4aKdk Tr4qXkoEBWUYvLQCKD/NFqpt0/0ynacX8R5oFCZa0R8gsv29vYNDJr0TU143u6Q/ZXIRNSizzdb G5j+PzhfNCBn9n2bl+XnGZyPPunssW9xdtpHTWdCPYCyvYbQ6coUA+0f+Bjae21T9hQaX8SSE0c QKBALPh+Uf2kxjyZ5mGxA1ypv5AWXKNVuBoZqoyKYEPOzzRel3VwQPxupn/RouDbLyGDG5kWF/u PAl X-Received: by 2002:a05:600c:4685:b0:495:63e4:3a91 with SMTP id 5b1f17b1804b1-49573d132f3mr76136415e9.35.1784887198898; Fri, 24 Jul 2026 02:59:58 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4957af78845sm55553345e9.8.2026.07.24.02.59.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jul 2026 02:59:58 -0700 (PDT) Message-ID: <6801be76-4052-4c49-87f2-6a08950368c0@suse.com> Date: Fri, 24 Jul 2026 11:59:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Jan Beulich <jbeulich@suse.com> Subject: [PATCH v4 00/12] RISC-V: assorted fixes and (hopefully) improvements To: Binutils <binutils@sourceware.org> Cc: Palmer Dabbelt <palmer@dabbelt.com>, Andrew Waterman <andrew@sifive.com>, Jim Wilson <jim.wilson.gcc@gmail.com>, Nelson Chu <nelson.chu1990@gmail.com>, jiawei <jiawei@iscas.ac.cn> Content-Language: en-US Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo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KwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3015.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
RISC-V: assorted fixes and (hopefully) improvements
|
|
Message
Jan Beulich
July 24, 2026, 9:59 a.m. UTC
There may not be many dependencies among the patches, but the issues
were all noticed more or less together (i.e. while addressing one,
the next one popped up). I've not made an attempt at sorting the V vs
Z?inx issue, as per Andrew's request.
Quite a few further points are made in remarks in individual patches.
Input there is very welcome.
Jiawei kindly reviewed v1 ... v3, and I meanwhile committed a few more
patches from there (after getting feedback from Nelson). For the others
I'd prefer RISC-V maintainer approval, yet I'm not going to wait
indefinitely.
There are in particular a few new patches in v4. See individual changes
for what changed, if anything.
01: RISC-V: Zv{b,k}* imply Zve32x
02: RISC-V: Zve{32,64}f don't need to explicitly imply Zvl{32,64}b
03: RISC-V: replace INSN_V_EEW64
04: RISC-V: drop FCVT.Q.L{,U} forms with rounding mode operand
05: RISC-V: make FP rounding mode an optional argument
06: RISC-V: check operands for Zdinx in RV32
07: RISC-V: check operands for Zqinx
08: RISC-V/gas: .attribute vs .insn
09: RISC-V/gas: warn about non-boolean unaligned-access attribute
10: RISC-V/gas: warn about non-power-of-2 stack-align attribute
11: RISC-V/bfd: warn about non-boolean unaligned-access attribute
12: RISC-V/bfd: warn about non-power-of-2 stack-align attribute
I'd also like to point out that [1] continues to be pending. I'm far
from insisting that that patch be taken, but something needs doing
about the issue.
Jan
[1] https://sourceware.org/pipermail/binutils/2023-March/126601.html
Comments
Sorry for the late reply. Thanks Jan for doing these, and thank you also for your patience in allowing the RISC-V maintainers to at least take a look at these changes. Thanks Jaiwei also for helping review these patches. I have shared some background information and thoughts in the individual patches; this does not affect these v4 patches, so please commit if you think it's time ;) Thanks again Nelson On Fri, Jul 24, 2026 at 5:59 PM Jan Beulich <jbeulich@suse.com> wrote: > > There may not be many dependencies among the patches, but the issues > were all noticed more or less together (i.e. while addressing one, > the next one popped up). I've not made an attempt at sorting the V vs > Z?inx issue, as per Andrew's request. > > Quite a few further points are made in remarks in individual patches. > Input there is very welcome. > > Jiawei kindly reviewed v1 ... v3, and I meanwhile committed a few more > patches from there (after getting feedback from Nelson). For the others > I'd prefer RISC-V maintainer approval, yet I'm not going to wait > indefinitely. > > There are in particular a few new patches in v4. See individual changes > for what changed, if anything. > > 01: RISC-V: Zv{b,k}* imply Zve32x > 02: RISC-V: Zve{32,64}f don't need to explicitly imply Zvl{32,64}b > 03: RISC-V: replace INSN_V_EEW64 > 04: RISC-V: drop FCVT.Q.L{,U} forms with rounding mode operand > 05: RISC-V: make FP rounding mode an optional argument > 06: RISC-V: check operands for Zdinx in RV32 > 07: RISC-V: check operands for Zqinx > 08: RISC-V/gas: .attribute vs .insn > 09: RISC-V/gas: warn about non-boolean unaligned-access attribute > 10: RISC-V/gas: warn about non-power-of-2 stack-align attribute > 11: RISC-V/bfd: warn about non-boolean unaligned-access attribute > 12: RISC-V/bfd: warn about non-power-of-2 stack-align attribute > > I'd also like to point out that [1] continues to be pending. I'm far > from insisting that that patch be taken, but something needs doing > about the issue. > > Jan > > [1] https://sourceware.org/pipermail/binutils/2023-March/126601.html