| ... | ... | @@ -1929,10 +1929,11 @@ fn genInst(func: *CodeGen, inst: Air.Inst.Index) InnerError!void { |
| 1929 | 1929 | |
| 1930 | 1930 | .memcpy => func.airMemcpy(inst), |
| 1931 | 1931 | |
| 1932 | .ret_addr => func.airRetAddr(inst), |
| 1933 | |
| 1932 | 1934 | .mul_sat, |
| 1933 | 1935 | .mod, |
| 1934 | 1936 | .assembly, |
| 1935 | | .ret_addr, |
| 1936 | 1937 | .frame_addr, |
| 1937 | 1938 | .bit_reverse, |
| 1938 | 1939 | .is_err_ptr, |
| ... | ... | @@ -4967,6 +4968,10 @@ fn airMemcpy(func: *CodeGen, inst: Air.Inst.Index) InnerError!void { |
| 4967 | 4968 | func.finishAir(inst, .none, &.{ pl_op.operand, bin_op.lhs, bin_op.rhs }); |
| 4968 | 4969 | } |
| 4969 | 4970 | |
| 4971 | fn airRetAddr(func: *CodeGen, inst: Air.Inst.Index) InnerError!void { |
| 4972 | func.finishAir(inst, .{ .imm32 = 0 }, &.{}); |
| 4973 | } |
| 4974 | |
| 4970 | 4975 | fn airPopcount(func: *CodeGen, inst: Air.Inst.Index) InnerError!void { |
| 4971 | 4976 | const ty_op = func.air.instructions.items(.data)[inst].ty_op; |
| 4972 | 4977 | if (func.liveness.isUnused(inst)) return func.finishAir(inst, .none, &.{ty_op.operand}); |