summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-03-01 22:22:31 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-03-01 22:22:31 +0000
commit90fd0622b63d2c7addb8b97d98e134ea63d3f037 (patch)
tree02450a7498214fb83d32a755a80ff54b3f98a58a /clang/lib/Frontend/CompilerInvocation.cpp
parent05ce1d3944394be8bba20d50c8da77ff3a1b657e (diff)
downloadbcm5719-llvm-90fd0622b63d2c7addb8b97d98e134ea63d3f037.tar.gz
bcm5719-llvm-90fd0622b63d2c7addb8b97d98e134ea63d3f037.zip
[X86][MMX] Improve handling of 64-bit MMX constants
64-bit MMX constant generation usually ends up lowering into SSE instructions before being spilled/reloaded as a MMX type. This patch bitcasts the constant to a double value to allow correct loading directly to the MMX register. I've added MMX constant asm comment support to improve testing, it's better to always print the double values as hex constants as MMX is mainly an integer unit (and even with 3DNow! its just floats). Differential Revision: https://reviews.llvm.org/D43616 llvm-svn: 326497
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud