diff options
author | Lin Sinan <sinan.lin@linux.alibaba.com> | 2023-02-28 13:00:36 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2023-03-05 16:59:16 +0800 |
commit | 9debb240a4b1a711c0648fd9e4385dbde5ad45fd (patch) | |
tree | 414af6f3f45df664df8806f4a0e95939de43cfc2 /gcc/genmodes.cc | |
parent | 2858bf16d33673044f49b106c8eb71dd423c5967 (diff) | |
download | gcc-9debb240a4b1a711c0648fd9e4385dbde5ad45fd.zip gcc-9debb240a4b1a711c0648fd9e4385dbde5ad45fd.tar.gz gcc-9debb240a4b1a711c0648fd9e4385dbde5ad45fd.tar.bz2 |
RISC-V: Fix wrong partial subreg check for bsetidisi
The partial subreg check should be for subreg operand(operand 1) instead of
the immediate operand(operand 2). This change also fix pr68648.c in zbs.
gcc/ChangeLog:
* config/riscv/bitmanip.md: Fix wrong index in the check.
Reviewed-by: <philipp.tomsich@vrull.eu>
Diffstat (limited to 'gcc/genmodes.cc')
0 files changed, 0 insertions, 0 deletions