commit ada9035af5cc80f9e8df9818a6dbc4cac5ffd287 (tree)
parent 6e8b07ca1526d2faa1805f2831c862b6b2337d92
Author: Jacob Young <jacobly0@users.noreply.github.com>
Date: Sat, 11 Oct 2025 19:19:51 -0400
x86_64: fix encoding for out with an immediate port
Closes #25547
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git 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 },