OSDN Git Service

[X86] add an exedepfix entry for movq == movlps == movlpd
authorSanjay Patel <spatel@rotateright.com>
Wed, 15 Apr 2015 15:47:51 +0000 (15:47 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 15 Apr 2015 15:47:51 +0000 (15:47 +0000)
commite3e5fcab94c9cbb2d9924db0368d2ed70a623597
treed95773ddf0fe38151ede5c4294e5a740b094f51f
parent0332323ab6873b59a104602de766694a88d69787
[X86] add an exedepfix entry for movq == movlps == movlpd

This is a 1-line patch (with a TODO for AVX because that will affect
even more regression tests) that lets us substitute the appropriate
64-bit store for the float/double/int domains.

It's not clear to me exactly what the difference is between the 0xD6 (MOVPQI2QImr) and
0x7E (MOVSDto64mr) opcodes, but this is apparently the right choice.

Differential Revision: http://reviews.llvm.org/D8691

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235014 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/2011-10-19-widen_vselect.ll
test/CodeGen/X86/2012-07-10-extload64.ll
test/CodeGen/X86/exedeps-movq.ll [new file with mode: 0644]
test/CodeGen/X86/sse2-intrinsics-x86.ll
test/CodeGen/X86/vec_insert-5.ll
test/CodeGen/X86/vec_insert-mmx.ll
test/CodeGen/X86/vec_zero_cse.ll
test/CodeGen/X86/vector-shuffle-mmx.ll
test/CodeGen/X86/widen_cast-1.ll
test/CodeGen/X86/widen_cast-4.ll
test/CodeGen/X86/widen_cast-5.ll
test/CodeGen/X86/widen_shuffle-1.ll