aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-10-11 19:19:51 -0400
committerJacob Young <15544577+jacobly0@users.noreply.github.com>2025-10-29 18:41:31 -0400
commitada9035af5cc80f9e8df9818a6dbc4cac5ffd287 (patch)
tree474fae1c495e2ecb8360d1a5f174003b82fefbaa /src/codegen
parent6e8b07ca1526d2faa1805f2831c862b6b2337d92 (diff)
downloadzig-ada9035af5cc80f9e8df9818a6dbc4cac5ffd287.tar.gz
zig-ada9035af5cc80f9e8df9818a6dbc4cac5ffd287.zip
x86_64: fix encoding for out with an immediate port
Closes #25547
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/x86_64/encodings.zon12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/codegen/x86_64/encodings.zon b/src/codegen/x86_64/encodings.zon
index ea136569ce..1a27ca9826 100644
--- a/src/codegen/x86_64/encodings.zon
+++ b/src/codegen/x86_64/encodings.zon
@@ -593,12 +593,12 @@
.{ .@"or", .rm, .{ .r32, .rm32 }, .{ 0x0b }, 0, .none, .none },
.{ .@"or", .rm, .{ .r64, .rm64 }, .{ 0x0b }, 0, .long, .none },
- .{ .out, .zi, .{ .imm8, .al }, .{ 0xe6 }, 0, .none, .none },
- .{ .out, .zi, .{ .imm8, .ax }, .{ 0xe7 }, 0, .short, .none },
- .{ .out, .zi, .{ .imm8, .eax }, .{ 0xe7 }, 0, .none, .none },
- .{ .out, .z, .{ .dx, .al }, .{ 0xee }, 0, .none, .none },
- .{ .out, .z, .{ .dx, .ax }, .{ 0xef }, 0, .short, .none },
- .{ .out, .z, .{ .dx, .eax }, .{ 0xef }, 0, .none, .none },
+ .{ .out, .i, .{ .imm8, .al }, .{ 0xe6 }, 0, .none, .none },
+ .{ .out, .i, .{ .imm8, .ax }, .{ 0xe7 }, 0, .short, .none },
+ .{ .out, .i, .{ .imm8, .eax }, .{ 0xe7 }, 0, .none, .none },
+ .{ .out, .z, .{ .dx, .al }, .{ 0xee }, 0, .none, .none },
+ .{ .out, .z, .{ .dx, .ax }, .{ 0xef }, 0, .short, .none },
+ .{ .out, .z, .{ .dx, .eax }, .{ 0xef }, 0, .none, .none },
.{ .outs, .z, .{ .dx, .m8 }, .{ 0x6e }, 0, .none, .none },
.{ .outs, .z, .{ .dx, .m16 }, .{ 0x6f }, 0, .short, .none },