projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66b25d
)
fix legacy backend (#16741)
author
Sergey Andreenko
<seandree@microsoft.com>
Sun, 4 Mar 2018 09:10:12 +0000
(
01:10
-0800)
committer
GitHub
<noreply@github.com>
Sun, 4 Mar 2018 09:10:12 +0000
(
01:10
-0800)
src/jit/emitxarch.cpp
patch
|
blob
|
history
diff --git
a/src/jit/emitxarch.cpp
b/src/jit/emitxarch.cpp
index
0bd85f2
..
aabf69f
100644
(file)
--- a/
src/jit/emitxarch.cpp
+++ b/
src/jit/emitxarch.cpp
@@
-4044,11
+4044,13
@@
void emitter::emitIns_R_R_I(instruction ins, emitAttr attr, regNumber reg1, regN
sz += emitGetRexPrefixSize(ins);
}
+#ifndef LEGACY_BACKEND
if ((ins == INS_pextrq || ins == INS_pinsrq) && !UseVEXEncoding())
{
assert(UseSSE4());
sz += 1;
}
+#endif // !LEGACY_BACKEND
id->idIns(ins);
id->idInsFmt(IF_RRW_RRW_CNS);