Skip to content

Commit fa1acc6

Browse files
Adding latency numbers for serialize instruction. (#103167)
* Adding latency numbers for serialize instruction. * Update src/coreclr/jit/emitxarch.cpp Co-authored-by: Tanner Gooding <tagoo@outlook.com> --------- Co-authored-by: Tanner Gooding <tagoo@outlook.com>
1 parent 39ecbe0 commit fa1acc6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/coreclr/jit/emit.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,6 +1921,7 @@ class emitter
19211921
#define PERFSCORE_LATENCY_26C 26.0f
19221922
#define PERFSCORE_LATENCY_62C 62.0f
19231923
#define PERFSCORE_LATENCY_69C 69.0f
1924+
#define PERFSCORE_LATENCY_105C 105.0f
19241925
#define PERFSCORE_LATENCY_140C 140.0f
19251926
#define PERFSCORE_LATENCY_400C 400.0f // Intel microcode issue with these instructions
19261927

src/coreclr/jit/emitxarch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20056,6 +20056,7 @@ emitter::insExecutionCharacteristics emitter::getInsExecutionCharacteristics(ins
2005620056
case INS_serialize:
2005720057
{
2005820058
result.insThroughput = PERFSCORE_THROUGHPUT_50C;
20059+
result.insLatency = PERFSCORE_LATENCY_105C;
2005920060
break;
2006020061
}
2006120062

0 commit comments

Comments
 (0)