From cfbc3537ef0b3a73d5b8fdd358cf3bb831935861 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Mon, 28 Feb 2022 19:54:13 +0100 Subject: x64: pass more behavior tests --- src/arch/x86_64/CodeGen.zig | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/arch/x86_64/CodeGen.zig b/src/arch/x86_64/CodeGen.zig index 3620995514..1c86b794d7 100644 --- a/src/arch/x86_64/CodeGen.zig +++ b/src/arch/x86_64/CodeGen.zig @@ -4839,10 +4839,6 @@ fn genInlineMemset( try self.register_manager.getReg(.rax, null); const abi_size = ty.abiSize(self.target.*); - if (stack_offset > 128) { - return self.fail("TODO inline memset with large stack offset", .{}); - } - const negative_offset = @bitCast(u32, -stack_offset); // We are actually counting `abi_size` bytes; however, we reuse the index register -- cgit v1.2.3