summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-04-10 06:40:51 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-04-10 06:40:51 +0000
commit0ca3bd07296cd19d49b52e0b47232786ee4196dd (patch)
tree85e332f72c8c86f4248c123fd8fd075cef4d7304 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent00b9248cb3f683f80f90a12dd9f3a35fd35f8731 (diff)
downloadbcm5719-llvm-0ca3bd07296cd19d49b52e0b47232786ee4196dd.tar.gz
bcm5719-llvm-0ca3bd07296cd19d49b52e0b47232786ee4196dd.zip
[x86] Model the direction flag (DF) separately from the rest of EFLAGS.
This cleans up a number of operations that only claimed te use EFLAGS due to using DF. But no instructions which we think of us setting EFLAGS actually modify DF (other than things like popf) and so this needlessly creates uses of EFLAGS that aren't really there. In fact, DF is so restrictive it is pretty easy to model. Only STD, CLD, and the whole-flags writes (WRFLAGS and POPF) need to model this. I've also somewhat cleaned up some of the flag management instruction definitions to be in the correct .td file. Adding this extra register also uncovered a failure to use the correct datatype to hold X86 registers, and I've corrected that as necessary here. Differential Revision: https://reviews.llvm.org/D45154 llvm-svn: 329673
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud