mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
cbe: use memcpy for underaligned loads and stores
This commit is contained in:
1 parent
af4361f57a
commit
fdedd62365
8 files changed
+22
-29
No files matched your search
@@ -754,7 +754,6 @@ fn maybe(x: bool) anyerror!?u32 {
|
||||
}
|
||||
|
||||
test "pointer to thread local array" {
|
||||
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
|
||||
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
|
||||
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
|
||||
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
|
||||
@@ -770,7 +769,6 @@ threadlocal var buffer: [11]u8 = undefined;
|
||||
|
||||
test "auto created variables have correct alignment" {
|
||||
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
|
||||
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
|
||||
|
||||
const S = struct {
|
||||
fn foo(str: [*]const u8) u32 {
|
||||
|
||||
Reference in new issue
Block a user