diff options
author | Mark Mendell <mark.p.mendell@intel.com> | 2014-07-31 14:36:54 -0400 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-08-05 09:50:34 -0700 |
commit | 2bc477043b6ab2d7b4719ba8debf0a6a5b10c225 (patch) | |
tree | 0714f0a7f96871b65a9d9c0280cc81184a465634 /compiler/optimizing/graph_visualizer.h | |
parent | 6bdbec76e16494e68632bab45f655e13aac477b8 (diff) |
Set REG0_USED on X86 Set8R instruction
Since this instruction only affects the low byte of the register, it is
preceded by an XOR to zero the upper 3 bytes. Set8R isn't marked as
using operand 0 as an input. In practice, this works for now, as the
Xor sets the CC and Set8R uses the CC (although not that of the Xor, but
of a Cmp generally).
This just marks REG0 as using the previous contents of the register, as
it is modifying only 1 byte of 4.
Change-Id: I7a69cbdb06979da5d5d2ae17fabd7c22c5a17701
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions