Skip to content

Commit

Permalink
[Mono] Intrinsify As* on ARM64 with mini JIT (#83544)
Browse files Browse the repository at this point in the history
* Intrinsify As* on arm64

* Address review feedback

* Uncomment
  • Loading branch information
fanyang-mono authored Mar 18, 2023
1 parent 2aec381 commit 1f86cb7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/mono/mono/mini/cpu-arm64.mdesc
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ xcompare_fp: dest:x src1:x src2:x len:4
negate: dest:x src1:x len:4
ones_complement: dest:x src1:x len:4
xbinop_forceint: dest:x src1:x src2:x len:4
xcast: dest:x src1:x len:4 clob:1

generic_class_init: src1:a len:44 clob:c
gc_safe_point: src1:i len:12 clob:c
Expand Down
2 changes: 2 additions & 0 deletions src/mono/mono/mini/mini-arm64.c
Original file line number Diff line number Diff line change
Expand Up @@ -3712,6 +3712,8 @@ mono_arch_output_basic_block (MonoCompile *cfg, MonoBasicBlock *bb)
}
break;
}
case OP_XCAST:
break;

/* BRANCH */
case OP_BR:
Expand Down
11 changes: 11 additions & 0 deletions src/mono/mono/mini/simd-intrinsics.c
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,17 @@ emit_sri_vector (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsi
case SN_BitwiseAnd:
case SN_BitwiseOr:
case SN_Xor:
case SN_As:
case SN_AsByte:
case SN_AsDouble:
case SN_AsInt16:
case SN_AsInt32:
case SN_AsInt64:
case SN_AsSByte:
case SN_AsSingle:
case SN_AsUInt16:
case SN_AsUInt32:
case SN_AsUInt64:
case SN_Max:
case SN_Min:
break;
Expand Down

0 comments on commit 1f86cb7

Please sign in to comment.