Skip to content

Commit

Permalink
add a standart header for inst_RV_RV
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey committed May 11, 2021
1 parent 05b646c commit 5755dc5
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/coreclr/jit/instr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,22 @@ void CodeGen::inst_RV(instruction ins, regNumber reg, var_types type, emitAttr s
* Generate a "op reg1, reg2" instruction.
*/

//------------------------------------------------------------------------
// inst_RV_RV: Generate a "op reg1, reg2" instruction.
//
// Arguments:
// ins - the instruction to generate;
// reg1 - the first register to use, the dst for most instructions;
// tree - the second register to use, the src for most instructions;
// type - the type used to get the size attribute if not given, usually type of the reg2 operand;
// size - the size attribute, the type arg is ignored if this arg is provided with an actual value;
// flags - whether flags are set for arm32.
//
void CodeGen::inst_RV_RV(instruction ins,
regNumber reg1,
regNumber reg2,
var_types type,
emitAttr size,
var_types type /* = TYP_I_IMPL */,
emitAttr size /* = EA_UNKNOWN */,
insFlags flags /* = INS_FLAGS_DONT_CARE */)
{
if (size == EA_UNKNOWN)
Expand Down

0 comments on commit 5755dc5

Please sign in to comment.