This commit is contained in:
Andrew Kelley
2025-07-14 18:00:46 -07:00
parent 87ce83d5a5
commit 76d04c1662
36 changed files with 311 additions and 618 deletions

View File

@@ -9,7 +9,7 @@ fn setFs(value: c_ulong) void {
: [number] "{rax}" (158),
[code] "{rdi}" (0x1002),
[val] "{rsi}" (value),
: "rcx", "r11", "memory"
: .{ .rcx = true, .r11 = true, .memory = true }
);
}
@@ -21,7 +21,7 @@ fn getFs() c_ulong {
: [number] "{rax}" (158),
[code] "{rdi}" (0x1003),
[ptr] "{rsi}" (@intFromPtr(&result)),
: "rcx", "r11", "memory"
: .{ .rcx = true, .r11 = true, .memory = true }
);
return result;
}