Commit 3a9af0c88b

Noam Preil <noam@pixelhero.dev>
2020-08-19 18:26:19
SPU-II: Ignore @breakpoint for now
1 parent f2fef24
Changed files (1)
src-self-hosted
src-self-hosted/codegen.zig
@@ -1265,6 +1265,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type {
                 .riscv64 => {
                     mem.writeIntLittle(u32, try self.code.addManyAsArray(4), Instruction.ebreak.toU32());
                 },
+                .spu_2 => {},
                 else => return self.fail(src, "TODO implement @breakpoint() for {}", .{self.target.cpu.arch}),
             }
             return .none;