diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-11-16 17:42:40 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-11-16 17:42:40 +0000 |
commit | 7f3d51f8403a2a6b7258b5423addb8bc148c11c1 (patch) | |
tree | 0636003018c0bd120f1643bac9f15d9db4baf1e1 /lldb/unittests/ScriptInterpreter/Python | |
parent | d47588986e102d022f5cc92fdb2b16b5554830ca (diff) | |
download | llvm-7f3d51f8403a2a6b7258b5423addb8bc148c11c1.zip llvm-7f3d51f8403a2a6b7258b5423addb8bc148c11c1.tar.gz llvm-7f3d51f8403a2a6b7258b5423addb8bc148c11c1.tar.bz2 |
[x86] add fake scalar FP logic instructions to ReplaceableInstrs to save some bytes
We can replace "scalar" FP-bitwise-logic with other forms of bitwise-logic instructions.
Scalar SSE/AVX FP-logic instructions only exist in your imagination and/or the bowels of
compilers, but logically equivalent int, float, and double variants of bitwise-logic
instructions are reality in x86, and the float variant may be a shorter instruction
depending on which flavor (SSE or AVX) of vector ISA you have...so just prefer float all
the time.
This is a preliminary step towards solving PR6137:
https://llvm.org/bugs/show_bug.cgi?id=6137
Differential Revision:
https://reviews.llvm.org/D26712
llvm-svn: 287122
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions