diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-09-02 23:25:39 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-09-02 23:25:39 +0000 |
commit | b03ea02479c82430b4149609e0ac3e0490d5ca12 (patch) | |
tree | 1eba0a16380443680a0e0d9fd40640fbd1b7cb8e /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 78425200ee5a51df88ed62eafc51ae70a5ecc112 (diff) | |
download | llvm-b03ea02479c82430b4149609e0ac3e0490d5ca12.zip llvm-b03ea02479c82430b4149609e0ac3e0490d5ca12.tar.gz llvm-b03ea02479c82430b4149609e0ac3e0490d5ca12.tar.bz2 |
[X86] Require 32-byte alignment for 32-byte VMOVNTs.
We used to accept (and even test, and generate) 16-byte alignment
for 32-byte nontemporal stores, but they require 32-byte alignment,
per SDM. Found by inspection.
Instead of hardcoding 16 in the patfrag, check for natural alignment.
Also fix the autoupgrade and the various tests.
Also, use explicit -mattr instead of -mcpu: I stared at the output
several minutes wondering why I get 2x movntps for the unaligned
case (which is the ideal output, but needs some work: see FIXME),
until I remembered corei7-avx implies +slow-unaligned-mem-32.
llvm-svn: 246733
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions