| author | |
| committer | |
| log | 25542c3443c616d0ef546e424619cf88553d9b59 |
| tree | 216f2c89a6306642bca9e6a2268d69e7414e61e2 |
| parent | fdce18cd30a5f20688e582386b802ed8e9a46312 |
| signature |
1 files changed, 23 insertions(+), 0 deletions(-)
lib/std/c/netbsd.zig+23| ... | @@ -1227,9 +1227,32 @@ pub const REG = switch (builtin.cpu.arch) { | ... | @@ -1227,9 +1227,32 @@ pub const REG = switch (builtin.cpu.arch) { |
| 1227 | pub const PC = 15; | 1227 | pub const PC = 15; |
| 1228 | }, | 1228 | }, |
| 1229 | .x86_64 => struct { | 1229 | .x86_64 => struct { |
| 1230 | pub const RDI = 0; | ||
| 1231 | pub const RSI = 1; | ||
| 1232 | pub const RDX = 2; | ||
| 1233 | pub const RCX = 3; | ||
| 1234 | pub const R8 = 4; | ||
| 1235 | pub const R9 = 5; | ||
| 1236 | pub const R10 = 6; | ||
| 1237 | pub const R11 = 7; | ||
| 1238 | pub const R12 = 8; | ||
| 1239 | pub const R13 = 9; | ||
| 1240 | pub const R14 = 10; | ||
| 1241 | pub const R15 = 11; | ||
| 1230 | pub const RBP = 12; | 1242 | pub const RBP = 12; |
| 1243 | pub const RBX = 13; | ||
| 1244 | pub const RAX = 14; | ||
| 1245 | pub const GS = 15; | ||
| 1246 | pub const FS = 16; | ||
| 1247 | pub const ES = 17; | ||
| 1248 | pub const DS = 18; | ||
| 1249 | pub const TRAPNO = 19; | ||
| 1250 | pub const ERR = 20; | ||
| 1231 | pub const RIP = 21; | 1251 | pub const RIP = 21; |
| 1252 | pub const CS = 22; | ||
| 1253 | pub const RFLAGS = 23; | ||
| 1232 | pub const RSP = 24; | 1254 | pub const RSP = 24; |
| 1255 | pub const SS = 25; | ||
| 1233 | }, | 1256 | }, |
| 1234 | else => struct {}, | 1257 | else => struct {}, |
| 1235 | }; | 1258 | }; |