authorgravatar for noam@pixelhero.devNoam Preil <noam@pixelhero.dev> 2020-05-19 19:14:36-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-05-19 22:27:22-04:00
log70239802c9f98aa2a7bc9bd87046d1b64deceedb
tree23acdf9d877af7f1b1f712eb070ba32c7cbebd25
parented137d25ef0fb94f2ea0db4f993a0adfcaf63b58

[Stage2/Codegen] Fix a typo


1 files changed, 1 insertions(+), 1 deletions(-)

src-self-hosted/codegen.zig+1-1
...@@ -478,7 +478,7 @@ const Function = struct {...@@ -478,7 +478,7 @@ const Function = struct {
478 return self.fail(src, "TODO decide whether to implement non-64-bit loads", .{});478 return self.fail(src, "TODO decide whether to implement non-64-bit loads", .{});
479 }479 }
480 const src_reg = @intToEnum(Reg(arch), @intCast(u8, r));480 const src_reg = @intToEnum(Reg(arch), @intCast(u8, r));
481 // This is a varient of 8B /r. Since we're using 64-bit moves, we require a REX.481 // This is a variant of 8B /r. Since we're using 64-bit moves, we require a REX.
482 // This is thus three bytes: REX 0x8B R/M.482 // This is thus three bytes: REX 0x8B R/M.
483 // If the destination is extended, the R field must be 1.483 // If the destination is extended, the R field must be 1.
484 // If the *source* is extended, the B field must be 1.484 // If the *source* is extended, the B field must be 1.