* [ARM64] Change INS_bkpt to INS_brk for INS_BREAKPOINT
https://github.com/dotnet/runtime/issues/606
* [ARM64] Change INS_bkpt to INS_brk for INS_BREAKPOINT
https://github.com/dotnet/runtime/issues/606
* [ARM64] Change INS_bkpt to INS_brk for INS_BREAKPOINT
https://github.com/dotnet/runtime/issues/606
* [ARM64] Change INS_bkpt to INS_brk for TARGET_UNIX
https://github.com/dotnet/runtime/issues/606
* [ARM64] Change INS_bkpt to INS_brk for TARGET_UNIX
https://github.com/dotnet/runtime/issues/606
* Fix formatting errors for INS_MULADD
if ((block->bbNext == nullptr) || !BasicBlock::sameEHRegion(block, block->bbNext))
{
- instGen(INS_bkpt); // This should never get executed
+ instGen(INS_BREAKPOINT); // This should never get executed
}
}
else
#ifdef _TARGET_ARM64_
-const instruction INS_MULADD = INS_madd;
+const instruction INS_MULADD = INS_madd;
+#if defined(_TARGET_UNIX_)
+const instruction INS_BREAKPOINT = INS_brk;
+#else
const instruction INS_BREAKPOINT = INS_bkpt;
+#endif
const instruction INS_ABS = INS_fabs;
const instruction INS_SQRT = INS_fsqrt;
instrDesc* id = emitNewInstrSmall(EA_8BYTE);
insFormat fmt = emitInsFormat(ins);
- assert(fmt == IF_SN_0A);
+ if (ins != INS_BREAKPOINT)
+ {
+ assert(fmt == IF_SN_0A);
+ }
id->idIns(ins);
id->idInsFmt(fmt);
}
break;
- case IF_SN_0A: // bkpt, nop
+ case IF_SN_0A: // bkpt, brk, nop
result.insThroughput = PERFSCORE_THROUGHPUT_2X;
result.insLatency = PERFSCORE_LATENCY_ZERO;
break;