Nelson Chu
cb4ed2bee7
RISC-V: PR33216, Fixed gcc testcases failed for commit 28520d7
...
I made a stupid mistake in the commit 28520d7 , allow to assemble slli/srli/srai
with 0 immediate to hint c.slli/c.srli/c.srai. These hints will be regared as
illegal instruction for gdb and qemu, so at least I got following gcc testcases
failed,
=== g++: Unexpected fails for rv64gc lp64d medlow ===
FAIL: c-c++-common/torture/builtin-arith-overflow-17.c -O0 execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-6.c -O0 execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-p-17.c -O0 execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-p-6.c -O0 execution test
=== gfortran: Unexpected fails for rv64gc lp64d medlow ===
FAIL: gfortran.dg/leadz_trailz_2.f90 -O0 execution test
=== gcc: Unexpected fails for rv64gc lp64d medlow ===
FAIL: c-c++-common/torture/builtin-arith-overflow-17.c -O0 execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-6.c -O0 execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-p-17.c -O0 execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-p-6.c -O0 execution test
So we should just allow c.slli/c.srli/c.srai with zero immediate as hints, but
don't allow slli/srli/srai with zero immediate.
gas/
PR 33216
* testsuite/gas/riscv/c-zero-imm.d: Only allow c.slli/c.srli/c.srai
with zero immediate as hints, but don't allow slli/srli/srai with
zero immediate.
* testsuite/gas/riscv/c-zero-imm.s: Likewise.
opcodes/
PR 33216
* riscv-opc.c (match_slli_as_c_slli): Added back.
(match_srxi_as_c_srxi): Likewise.
(riscv_opcodes): Only allow c.slli/c.srli/c.srai with zero immediate
as hints, but don't allow slli/srli/srai with zero immediate.
2025-08-20 18:02:49 +08:00
..
2025-07-15 13:37:09 +01:00
2024-05-28 10:16:23 +01:00
2025-07-21 18:18:51 +01:00
2025-08-08 11:41:58 +02:00
2025-01-01 18:29:57 +10:30
2025-07-21 18:18:51 +01:00
2025-08-08 11:42:32 +02:00
2025-01-01 18:29:57 +10:30
2025-07-21 18:18:51 +01:00
2025-07-21 18:18:51 +01:00
2025-08-08 11:41:58 +02:00
2025-08-08 11:41:58 +02:00
2025-06-20 17:21:14 +01:00
2025-07-21 18:18:51 +01:00
2025-07-21 18:16:30 +01:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-07-13 08:35:45 +01:00
2025-04-28 19:27:22 +01:00
2025-07-13 08:57:08 +01:00
2025-08-07 22:14:49 +09:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-02-11 14:30:39 +08:00
2025-02-11 14:30:39 +08:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-14 10:30:40 +08:00
2024-06-18 10:52:41 +08:00
2025-01-14 10:30:44 +08:00
2024-12-05 09:57:59 +08:00
2025-01-17 10:17:12 +08:00
2025-01-14 10:30:40 +08:00
2025-08-15 12:21:42 +02:00
2025-03-27 10:10:47 +08:00
2025-08-15 12:21:42 +02:00
2025-07-16 10:43:41 +08:00
2025-08-01 09:18:31 +02:00
2025-05-16 10:32:19 +02:00
2025-08-15 12:21:42 +02:00
2025-06-13 13:46:30 +02:00
2025-08-15 12:21:42 +02:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-03-26 15:49:58 +08:00
2025-04-13 10:45:00 +08:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-07-21 18:18:51 +01:00
2025-07-21 18:18:51 +01:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-27 12:01:20 -08:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-02-22 20:57:15 +00:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-06-14 06:10:57 +01:00
2025-06-14 06:10:57 +01:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-06-21 05:46:12 +01:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-08-01 09:17:54 +02:00
2025-04-28 02:55:05 -05:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-08-01 09:18:15 +02:00
2025-08-20 18:02:49 +08:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-05-07 17:17:10 +02:00
2025-04-09 09:00:48 +02:00
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-07-26 07:50:49 +09:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-01-01 18:29:57 +10:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-01-01 18:29:57 +10:30