Skip to content

Commit

Permalink
Isolating refactor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycanino committed Dec 14, 2022
1 parent cab72d3 commit c8ebfb1
Show file tree
Hide file tree
Showing 3 changed files with 427 additions and 256 deletions.
22 changes: 22 additions & 0 deletions src/coreclr/jit/emit.h
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,28 @@ class emitter
idAddr()->_idReg4 = reg;
assert(reg == idAddr()->_idReg4);
}
bool idHasReg3() const
{
switch (idInsFmt())
{
case IF_RWR_RRD_RRD:
case IF_RWR_RRD_RRD_CNS:
case IF_RWR_RRD_RRD_RRD:
return true;
default:
return false;
}
}
bool idHasReg4() const
{
switch (idInsFmt())
{
case IF_RWR_RRD_RRD_RRD:
return true;
default:
return false;
}
}
#endif // defined(TARGET_XARCH)
#ifdef TARGET_ARMARCH
insOpts idInsOpt() const
Expand Down
Loading

0 comments on commit c8ebfb1

Please sign in to comment.