projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9c5ead
)
Fix JIT disasm for xor reg, reg (#47980)
author
Pent Ploompuu
<kaalikas@gmail.com>
Wed, 10 Feb 2021 19:13:07 +0000
(21:13 +0200)
committer
GitHub
<noreply@github.com>
Wed, 10 Feb 2021 19:13:07 +0000
(11:13 -0800)
src/coreclr/jit/emitxarch.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/jit/emitxarch.cpp
b/src/coreclr/jit/emitxarch.cpp
index
a6b3d4a
..
d09ed44
100644
(file)
--- a/
src/coreclr/jit/emitxarch.cpp
+++ b/
src/coreclr/jit/emitxarch.cpp
@@
-11541,6
+11541,10
@@
BYTE* emitter::emitOutputRR(BYTE* dst, instrDesc* id)
{
code = AddRexWPrefix(ins, code);
}
+ else
+ {
+ id->idOpSize(EA_4BYTE);
+ }
// Set the 'w' bit to get the large version
code |= 0x1;