| ... | @@ -14104,7 +14104,7 @@ fn airAsm(self: *Self, inst: Air.Inst.Index) !void { | ... | @@ -14104,7 +14104,7 @@ fn airAsm(self: *Self, inst: Air.Inst.Index) !void { |
| 14104 | .{ .reg = try self.copyToTmpRegister(Type.usize, .{ .lea_got = sym_index }) } | 14104 | .{ .reg = try self.copyToTmpRegister(Type.usize, .{ .lea_got = sym_index }) } |
| 14105 | else | 14105 | else |
| 14106 | return self.fail("invalid modifier: '{s}'", .{modifier}), | 14106 | return self.fail("invalid modifier: '{s}'", .{modifier}), |
| 14107 | .load_symbol => |sym_off| if (mem.eql(u8, modifier, "P")) | 14107 | .lea_symbol => |sym_off| if (mem.eql(u8, modifier, "P")) |
| 14108 | .{ .reg = try self.copyToTmpRegister(Type.usize, .{ .lea_symbol = sym_off }) } | 14108 | .{ .reg = try self.copyToTmpRegister(Type.usize, .{ .lea_symbol = sym_off }) } |
| 14109 | else | 14109 | else |
| 14110 | return self.fail("invalid modifier: '{s}'", .{modifier}), | 14110 | return self.fail("invalid modifier: '{s}'", .{modifier}), |
| ... | @@ -18798,6 +18798,7 @@ fn genTypedValue(self: *Self, val: Value) InnerError!MCValue { | ... | @@ -18798,6 +18798,7 @@ fn genTypedValue(self: *Self, val: Value) InnerError!MCValue { |
| 18798 | .immediate => |imm| .{ .immediate = imm }, | 18798 | .immediate => |imm| .{ .immediate = imm }, |
| 18799 | .memory => |addr| .{ .memory = addr }, | 18799 | .memory => |addr| .{ .memory = addr }, |
| 18800 | .load_symbol => |sym_index| .{ .load_symbol = .{ .sym = sym_index } }, | 18800 | .load_symbol => |sym_index| .{ .load_symbol = .{ .sym = sym_index } }, |
| | 18801 | .lea_symbol => |sym_index| .{ .lea_symbol = .{ .sym = sym_index } }, |
| 18801 | .load_direct => |sym_index| .{ .load_direct = sym_index }, | 18802 | .load_direct => |sym_index| .{ .load_direct = sym_index }, |
| 18802 | .load_got => |sym_index| .{ .lea_got = sym_index }, | 18803 | .load_got => |sym_index| .{ .lea_got = sym_index }, |
| 18803 | .load_tlv => |sym_index| .{ .lea_tlv = sym_index }, | 18804 | .load_tlv => |sym_index| .{ .lea_tlv = sym_index }, |