Paul Bowen-Huggett
ea06f7f96f
[RISCV] For RV32C, disassembly of c.slli should fail when immediate > 31 ( #133713 )
...
Fixes #133712 .
The change causes `c.slli` instructions whose immediate has bit 5 set to
be rejected when disassembling RV32C. Added a test to exhaustively cover
c.slli for 32 bit targets. A minor tweak to make the debug output a
little more readable.
The spec. (20240411) says:
> For RV32C, shamt[5] must be zero; the code points with shamt[5]=1 are
designated for custom extensions. For RV32C and RV64C, the shift amount
must be non-zero; the code points with shamt=0 are HINTs. For all base
ISAs, the code points with rd=x0 are HINTs, except those with shamt[5]=1
in RV32C.
2025-03-31 08:51:34 -07:00
..
2025-03-30 21:10:08 -07:00
2025-03-31 08:51:34 -07:00
2025-03-29 11:51:29 +01:00
2025-03-01 14:04:48 +09:00
2025-03-30 11:09:56 -07:00
2025-03-27 19:31:38 -03:00
2025-03-27 19:31:38 -03:00
2025-02-14 17:35:02 +08:00
2025-03-20 22:25:57 -07:00
2024-10-01 22:09:27 -07:00
2024-09-06 09:28:33 -07:00
2025-02-04 10:02:42 -03:00
2025-03-31 09:13:46 +01:00
2025-01-02 16:29:34 -08:00
2024-11-11 22:54:54 -08:00
2024-09-09 09:15:07 +08:00
2024-12-06 15:16:07 +05:30
2025-03-21 17:22:32 +08:00
2025-03-28 19:47:29 -07:00
2025-02-19 12:11:00 -08:00
2025-03-23 12:04:06 -07:00
2025-01-16 11:58:42 -08:00
2025-02-07 13:35:30 +05:30
2024-12-12 14:41:57 -08:00
2025-02-07 13:35:30 +05:30
2025-03-13 15:07:07 +08:00
2025-02-07 13:35:30 +05:30
2025-02-23 15:08:55 -08:00
2025-01-10 14:28:54 -08:00
2025-02-27 13:14:22 -08:00
2024-11-11 20:59:21 -08:00
2025-03-28 15:46:50 +00:00
2025-03-27 19:31:38 -03:00
2025-03-28 12:32:32 -07:00
2024-12-17 10:24:50 -08:00
2025-03-28 12:32:32 -07:00
2025-03-27 07:45:42 -07:00
2025-03-18 14:04:45 -07:00
2024-08-12 09:34:02 -07:00
2025-03-30 22:38:26 -07:00
2025-03-24 17:49:53 +01:00
2025-03-21 17:22:32 +08:00
2025-03-10 16:20:14 -07:00
2025-03-10 16:20:14 -07:00
2025-03-28 12:32:32 -07:00
2025-02-01 09:36:31 -08:00
2025-03-27 17:43:26 -07:00
2025-03-28 19:47:29 -07:00
2025-03-29 15:25:56 -07:00
2025-03-27 15:07:29 -07:00
2025-03-10 10:15:12 -07:00
2024-07-27 17:26:32 -07:00
2024-12-21 09:47:07 +00:00
2025-03-17 12:49:08 -07:00
2024-12-17 00:19:45 -08:00
2025-02-15 22:26:02 +08:00
2025-03-27 17:43:26 -07:00
2025-03-19 15:35:51 -07:00
2025-02-08 07:59:55 -08:00
2024-09-03 20:18:01 -07:00
2025-03-18 17:55:36 -07:00
2025-03-27 16:45:58 -07:00
2025-03-19 15:35:51 -07:00
2024-10-06 11:47:30 -07:00
2025-02-27 19:25:14 -08:00
2025-03-26 10:40:00 +01:00
2025-03-20 08:38:15 -07:00
2025-03-28 12:39:59 +05:30
2025-03-10 16:20:14 -07:00
2025-03-31 10:02:12 -04:00
2025-03-29 15:25:56 -07:00
2024-11-11 22:54:54 -08:00
2025-03-27 19:31:38 -03:00
2025-03-07 09:21:36 +01:00
2025-03-11 08:54:22 -07:00
2025-03-11 08:54:22 -07:00
2025-02-07 13:35:30 +05:30
2025-02-07 13:35:30 +05:30
2025-03-05 10:59:45 -08:00
2025-01-31 15:09:11 -08:00
2025-01-07 09:51:34 -08:00
2024-12-05 16:43:30 -08:00
2025-03-03 16:04:49 -08:00
2024-11-10 07:18:05 +00:00
2025-03-06 21:55:47 -08:00
2025-03-28 07:06:17 -07:00
2025-03-20 15:20:04 -04:00
2025-03-18 08:25:49 -07:00
2025-02-14 17:35:02 +08:00
2025-01-22 10:37:01 -08:00
2024-12-17 21:32:50 -08:00
2025-02-07 13:35:30 +05:30
2025-03-17 15:29:36 -07:00
2025-03-27 11:00:07 -07:00
2025-03-17 15:29:36 -07:00
2025-01-21 18:00:52 -08:00
2024-12-17 21:32:50 -08:00
2024-12-17 21:32:50 -08:00
2024-12-20 15:30:17 -05:00
2024-12-31 17:22:08 +08:00
2025-02-07 13:35:30 +05:30
2024-10-31 10:21:14 -07:00
2024-12-17 21:32:50 -08:00
2024-12-21 05:29:51 +03:00
2024-12-21 05:29:51 +03:00
2025-03-07 09:21:36 +01:00
2025-03-11 11:39:21 +08:00
2025-03-24 09:47:21 -07:00
2025-03-27 19:31:38 -03:00
2025-02-05 11:41:37 +05:30
2025-03-29 11:08:13 -07:00
2025-03-29 11:08:13 -07:00
2025-03-29 15:18:44 -07:00
2025-03-28 15:51:29 +08:00
2025-03-05 08:56:09 -08:00
2025-02-18 08:27:25 -08:00
2025-03-24 09:26:09 -04:00
2025-02-26 23:09:50 +08:00
2024-11-11 22:54:54 -08:00