Add 'w' and 's' bit to xarch instruction flags. (#61198)
authoranthonycanino <anthony.canino@intel.com>
Sat, 18 Dec 2021 18:21:17 +0000 (10:21 -0800)
committerGitHub <noreply@github.com>
Sat, 18 Dec 2021 18:21:17 +0000 (19:21 +0100)
commit34249231b41d686b0d3cc62e90d77109dbf74089
tree74be500aebf99ebedaed815fcf89b3cff3376d70
parenta73d44f1009af7954df75e9923c64a3f10012004
Add 'w' and 's' bit to xarch instruction flags. (#61198)

Change encodes 'w' and 's' in the insFlags struct and INS_FLAG
entry for xarch instruction table. In addition, add methods to check
check if this flag is set for an instruction, which allows to start
simplifying some of the various ad-hoc checks for these bits that were
previously done per-instruction throughout emitxarch.cpp.
src/coreclr/jit/emitxarch.cpp
src/coreclr/jit/emitxarch.h
src/coreclr/jit/instr.h
src/coreclr/jit/instrsxarch.h