| Message ID | c32643f7-c8b2-4a0e-9eeb-4ba00369b147@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 BEC9440A1FAC for <patchwork@sourceware.org>; Fri, 15 May 2026 13:27:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BEC9440A1FAC 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=JIHoM2LT X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 2F1744BB1C36 for <binutils@sourceware.org>; Fri, 15 May 2026 13:27:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2F1744BB1C36 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 2F1744BB1C36 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1778851639; cv=none; b=iIiuOuCsi0qrzMJr/KzInJMip6rTA0kFY5mDPyjHIbWXtf+zVxkuz9QNmIj/Bg9SnvjH6IvJhwvYV2EyAyj7SkwRQV6eT+AzNOcrlIbAWq8f8ut6WUZtUPTPgu5qz5vpr+VXsVuUt9w3VUYG24w5so003anW+UQV+1ZYgY8MZgQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1778851639; c=relaxed/simple; bh=McEO+ic3Ab/SOYmaHnW6N8EwFM8Ilz5eUZJLAlrclWU=; h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To; b=V0aqPQNH4mUIW0Zq/f8weyj8c8m6RHewKQoPjgzhzkIALMsRRytSUJZS4taL7+K3SbC0IQQbPqV/q4EySt49KYkKqH36o/LJy9y+KBqXdqR1LCunWKXdb9lvdOFWnXf6obedZUAPhZVWJXWJ8pkKXk0a0Ts3FsTEGf/VYQ3mFN4= 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=JIHoM2LT DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F1744BB1C36 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4890d945eb4so5252635e9.0 for <binutils@sourceware.org>; Fri, 15 May 2026 06:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1778851638; x=1779456438; darn=sourceware.org; h=content-transfer-encoding:autocrypt:content-language:cc:to:subject :from:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=McEO+ic3Ab/SOYmaHnW6N8EwFM8Ilz5eUZJLAlrclWU=; b=JIHoM2LTkuOiMlS/1Gtlx3sRyOtaKgszX5vHXTRj/rW4qanvu3fYVcnubQWk7OxCLM LnrOrEqg7X1ewYLOkANuepopPfFdvcAyw+OfMtTE8CJ/ONDcOa8G0mpBFgQG7FJx/N4X DmAa5Y5C4hbfahMeQ16YuwhSVnCbtjghF6k84wOTJV//zfjhwzasp+k/w440/BlglJpD dexOW/VEF030LEWzHuLj681sJiXnkwcxr1trv616PfE/hQK4sVqccR8PLjTYr4KLhDiB 0DG3vmdUZ4+0qCBJW7ttr6AVjsXRYTmrpJ9bUIkHpovtnlFnOA5qrGmZVAfyckadaoBu 0p1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778851638; x=1779456438; h=content-transfer-encoding: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; bh=McEO+ic3Ab/SOYmaHnW6N8EwFM8Ilz5eUZJLAlrclWU=; b=nV8m3/D1jJLpmQ9A7V7XQD4WKs6fRQEG0n623OlYt4Jp94p9ZZnD0f2T5aQBgxPfMJ W1PV/syLN0uRZFxxqyDsvuDWDLmRkC7w7wjXgbQ4oKLtOLh7iDxJLaPOdZVVbajDVgPR 0dfc7bOjn3WLdWIY8ahw1WMTKLIr5Qssbe/sD1HeHDVqPl6lDvkypnp8Q+R/ogy9rphz REtQHV/wWbzfql2ijz+ISihPkoVE2ll7WXEnJeWLmnfYeoksaiYEtH2DdTG6gKZLiWN0 zCsbvGPoVyniMzHwPomQvJvk95kIjZ3Ipck5PZdymyIpzZqF0VaBl8lHFiiDnSF/3kP6 kMng== X-Gm-Message-State: AOJu0YyPZVVCRLtxMix/aj4MyViVOwoLzERhDrvjXq10rhWJatw5smry OaVKpx7XMJAiZkxsgY2LbGu00GSNCcVBNyLDkM69ofu5aikD7/EGRdQjMsmZYZ1DvT+fk7WgbpZ Of/I= X-Gm-Gg: Acq92OEudP0XHV2tY/cd80slLitPrdVHPNbhin8zGiTjy75hFK1zyqL6f3GG5FoBc1Q qBrymdnsyEwvfJ3ezWgyR4ckaUpTvXx59ji+QkEhJJkHgAuZJnkpwkyPzv/MsEtEGXHTyDaKofH 08/hqPkmmbFBZptI+7Yvuf5QHTQrMGluY9NEk5jizjEQm8uHKdT0iCv71uQH23KGJ5hqvSI1KRC zE1oHqXluMzzolZ0iupe2Zyh0HaBgigNPTP9YS7BVVM65y0fQYEBNy1WGiUkzHnURkUeuL+8DrW r2XT6isUClcmkdqvCV41P2/dbdShqd6YTFYuyNKkPMCrZALmaS1yWgXrIjCc08ctRqRHbHH/w+j S3FtSwMhlqcmEmoiAMujEtuY6ml9HCR26tGHXDGQAbSTvu8frXOEcoc7F97OYDZvqL6GOotOfMe 5XF2q/C1z1KIYMynSE0nlakN9Bhu4UhO/EZr92TZr6hB6Cn84MCXPwNiDC6QZE6cObkgFRxIC/Z BKPzyrFXSHfb4Y= X-Received: by 2002:a05:600d:8:b0:48f:e044:927d with SMTP id 5b1f17b1804b1-48fe537fa84mr56996785e9.10.1778851637973; Fri, 15 May 2026 06:27:17 -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-48fe5cab882sm66314635e9.13.2026.05.15.06.27.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 May 2026 06:27:17 -0700 (PDT) Message-ID: <c32643f7-c8b2-4a0e-9eeb-4ba00369b147@suse.com> Date: Fri, 15 May 2026 15:27:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Jan Beulich <jbeulich@suse.com> Subject: [PATCH v2 00/16] 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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2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3016.4 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
May 15, 2026, 1:27 p.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, and I committed a few patches from there
which I assumed were pretty sure to be uncontroversial. For the others
I'd prefer RISC-V maintainer approval, yet I'm not going to wait
indefinitely.
There aren't many changes in v2, the most prominent perhaps being the
new 1st patch. See individual changes for what changed, if anything.
01: rename operand descriptor O4
02: RISC-V: fold redundant code in riscv_ip()
03: RISC-V: add dedicated vector arithmetic .insn forms
04: RISC-V: match_*() improvements
05: RISC-V: EEW64 checking
06: bfd/RISC-V: Zvfbfwma implies Zvfbfmin
07: RISC-V: drop FCVT.Q.L{,U} forms with rounding mode operand
08: RISC-V: make FP rounding mode an optional argument
09: RISC-V: check operands for Zdinx in RV32
10: RISC-V: riscv_set_arch() can fail
11: RISC-V: riscv_parse_subset_t's isa_spec is only parser input
12: RISC-V: error handling for subset parsing
13: RISC-V: avoid buffer underrun in subset parsing
14: RISC-V: drop dead code from subset parsing
15: bfd/RISC-V: move _bfd_riscv_elf_merge_private_bfd_data()
16: RISC-V/gas: .attribute vs .insn
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
On 15.05.2026 15:27, Jan Beulich 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, and I committed a few patches from there > which I assumed were pretty sure to be uncontroversial. For the others > I'd prefer RISC-V maintainer approval, yet I'm not going to wait > indefinitely. > > There aren't many changes in v2, the most prominent perhaps being the > new 1st patch. See individual changes for what changed, if anything. > > 01: rename operand descriptor O4 > 02: RISC-V: fold redundant code in riscv_ip() > 03: RISC-V: add dedicated vector arithmetic .insn forms > 04: RISC-V: match_*() improvements > 05: RISC-V: EEW64 checking > 06: bfd/RISC-V: Zvfbfwma implies Zvfbfmin > 07: RISC-V: drop FCVT.Q.L{,U} forms with rounding mode operand > 08: RISC-V: make FP rounding mode an optional argument > 09: RISC-V: check operands for Zdinx in RV32 > 10: RISC-V: riscv_set_arch() can fail > 11: RISC-V: riscv_parse_subset_t's isa_spec is only parser input > 12: RISC-V: error handling for subset parsing > 13: RISC-V: avoid buffer underrun in subset parsing > 14: RISC-V: drop dead code from subset parsing > 15: bfd/RISC-V: move _bfd_riscv_elf_merge_private_bfd_data() > 16: RISC-V/gas: .attribute vs .insn And some follow-on-s to observations noted in some of the above: 17: warn about non-boolean unaligned-access attribute 18: warn about non-power-of-2 stack-align attribute 19: check operands for Zqinx Jan