diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-02-17 23:34:14 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-02-17 23:34:14 +0000 |
commit | 774ec7ba05606925966899d7dbe30453a3a2a877 (patch) | |
tree | 48e927e6fb514cbe9e5db901c7bb177f6841a72c /lib/Target/X86 | |
parent | 8dc741e400213ea8183e09626f0d1f45f14e044f (diff) | |
download | external_llvm-774ec7ba05606925966899d7dbe30453a3a2a877.zip external_llvm-774ec7ba05606925966899d7dbe30453a3a2a877.tar.gz external_llvm-774ec7ba05606925966899d7dbe30453a3a2a877.tar.bz2 |
X86: Add a note.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r-- | lib/Target/X86/README-SSE.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/X86/README-SSE.txt b/lib/Target/X86/README-SSE.txt index 4011035..496b704 100644 --- a/lib/Target/X86/README-SSE.txt +++ b/lib/Target/X86/README-SSE.txt @@ -953,3 +953,12 @@ similarly, v[0]-v[1] should match to hsubpd, and {v[0]-v[1], w[0]-w[1]} should turn into hsubpd also. //===---------------------------------------------------------------------===// + +define <2 x i32> @foo(<2 x double> %in) { + %x = fptosi <2 x double> %in to <2 x i32> + ret <2 x i32> %x +} + +Should compile into cvttpd2dq instead of being scalarized into 2 cvttsd2si. + +//===---------------------------------------------------------------------===// |