Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/coreclr/jit/codegeninterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ class CodeGenInterface
static unsigned instInputSize(instruction ins);
static unsigned instKMaskBaseSize(instruction ins);

static bool instHasPseudoName(instruction ins);

bool IsEmbeddedBroadcastEnabled(instruction ins, GenTree* op);
#endif // TARGET_XARCH
//-------------------------------------------------------------------------
Expand Down
24 changes: 18 additions & 6 deletions src/coreclr/jit/emitxarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12559,13 +12559,25 @@ void emitter::emitDispConstant(const instrDesc* id, bool skipComma) const
{
instruction ins = id->idIns();

if ((ins == INS_cmppd) || (ins == INS_cmpps) || (ins == INS_cmpsd) || (ins == INS_cmpss) ||
(ins == INS_pclmulqdq) || (ins == INS_vpcmpb) || (ins == INS_vpcmpd) || (ins == INS_vpcmpq) ||
(ins == INS_vpcmpw) || (ins == INS_vpcmpub) || (ins == INS_vpcmpud) || (ins == INS_vpcmpuq) ||
(ins == INS_vpcmpuw))
if (CodeGenInterface::instHasPseudoName(ins))
{
// These instructions have pseudo-names for each possible immediate value
return;
switch (ins)
{
case INS_roundpd:
case INS_roundps:
case INS_roundsd:
case INS_roundss:
{
// These instructions have pseudo-names, but still need to display the immediate
break;
}

default:
{
// These instructions have pseudo-names for each possible immediate value
return;
}
}
}

CnsVal cnsVal;
Expand Down
Loading
Loading