| ... | @@ -1674,7 +1674,7 @@ fn airRet(self: *Self, inst: Air.Inst.Index) InnerError!WValue { | ... | @@ -1674,7 +1674,7 @@ fn airRet(self: *Self, inst: Air.Inst.Index) InnerError!WValue { |
| 1674 | try self.emitWValue(operand); | 1674 | try self.emitWValue(operand); |
| 1675 | const opcode = buildOpcode(.{ | 1675 | const opcode = buildOpcode(.{ |
| 1676 | .op = .load, | 1676 | .op = .load, |
| 1677 | .width = @intCast(u8, scalar_type.abiSize(self.target)), | 1677 | .width = @intCast(u8, scalar_type.abiSize(self.target) * 8), |
| 1678 | .signedness = if (scalar_type.isSignedInt()) .signed else .unsigned, | 1678 | .signedness = if (scalar_type.isSignedInt()) .signed else .unsigned, |
| 1679 | .valtype1 = typeToValtype(scalar_type, self.target), | 1679 | .valtype1 = typeToValtype(scalar_type, self.target), |
| 1680 | }); | 1680 | }); |