summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/command_script_alias
diff options
context:
space:
mode:
authorNikolai Bozhenov <nikolai.bozhenov@intel.com>2016-11-24 13:23:35 +0000
committerNikolai Bozhenov <nikolai.bozhenov@intel.com>2016-11-24 13:23:35 +0000
commit3a8d108b2ba2aaf2c9edd795951d6ac656ef6729 (patch)
treedc64dbe312036ec070f4a74b023520d720b934ef /lldb/packages/Python/lldbsuite/test/functionalities/command_script_alias
parentbb64aa14a3d7e684381e3b9bb7cf832ebf3805e7 (diff)
downloadbcm5719-llvm-3a8d108b2ba2aaf2c9edd795951d6ac656ef6729.tar.gz
bcm5719-llvm-3a8d108b2ba2aaf2c9edd795951d6ac656ef6729.zip
[x86] Fixing PR28755 by precomputing the address used in CMPXCHG8B
The bug arises during register allocation on i686 for CMPXCHG8B instruction when base pointer is needed. CMPXCHG8B needs 4 implicit registers (EAX, EBX, ECX, EDX) and a memory address, plus ESI is reserved as the base pointer. With such constraints the only way register allocator would do its job successfully is when the addressing mode of the instruction requires only one register. If that is not the case - we are emitting additional LEA instruction to compute the address. It fixes PR28755. Patch by Alexander Ivchenko <alexander.ivchenko@intel.com> Differential Revision: https://reviews.llvm.org/D25088 llvm-svn: 287875
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script_alias')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud