From ada9035af5cc80f9e8df9818a6dbc4cac5ffd287 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Sat, 11 Oct 2025 19:19:51 -0400 Subject: [PATCH] x86_64: fix encoding for out with an immediate port Closes #25547 --- src/codegen/x86_64/encodings.zon | 12 ++++++------ 1 file 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 },