riscv: implement sub-byte addition

This commit is contained in:
David Rubin
2024-07-15 04:01:44 -07:00
parent 81ca3a1d59
commit 1820f44104
4 changed files with 73 additions and 14 deletions

View File

@@ -1768,8 +1768,6 @@ test "struct init with no result pointer sets field result types" {
}
test "runtime side-effects in comptime-known struct init" {
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
var side_effects: u4 = 0;
const S = struct { a: u4, b: u4, c: u4, d: u4 };
const init = S{