riscv: clean up and unify encoding logic

This commit is contained in:
David Rubin
2024-07-24 05:53:57 -07:00
parent 574028ed5e
commit 1a7d89a84d
19 changed files with 1696 additions and 2367 deletions

View File

@@ -591,6 +591,7 @@ test "cast slice to const slice nested in error union and optional" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
const S = struct {
fn inner() !?[]u8 {