diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-10-09 02:18:34 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-10-09 02:18:34 +0000 |
commit | b96a393b090a0d9c11fb4b776d2b3c73a1d84a0c (patch) | |
tree | 483cc13925855fc823542ca278c1fc9ad387e968 /test/CodeGen/X86/mmx-builtins.ll | |
parent | c52566d2226aa744935c682c0073529002d4eb4d (diff) | |
download | llvm-b96a393b090a0d9c11fb4b776d2b3c73a1d84a0c.tar.gz llvm-b96a393b090a0d9c11fb4b776d2b3c73a1d84a0c.tar.bz2 llvm-b96a393b090a0d9c11fb4b776d2b3c73a1d84a0c.tar.xz |
Add in64BitMode/in32BitMode to the MMX/SSE2/AVX maskmovq/dq instructions. This way the asm parser will pick the right one based on the mode. Instruction selection already did the right thing based on the pointer size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/mmx-builtins.ll')
-rw-r--r-- | test/CodeGen/X86/mmx-builtins.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/X86/mmx-builtins.ll b/test/CodeGen/X86/mmx-builtins.ll index f5b3f765fe..aabdd53b09 100644 --- a/test/CodeGen/X86/mmx-builtins.ll +++ b/test/CodeGen/X86/mmx-builtins.ll @@ -1,5 +1,7 @@ -; RUN: llc < %s -march=x86 -mattr=+mmx,+ssse3 | FileCheck %s +; RUN: llc < %s -march=x86 -mattr=+mmx,+ssse3,-avx | FileCheck %s ; RUN: llc < %s -march=x86 -mattr=+avx | FileCheck %s +; RUN: llc < %s -march=x86-64 -mattr=+mmx,+ssse3,-avx | FileCheck %s +; RUN: llc < %s -march=x86-64 -mattr=+avx | FileCheck %s declare x86_mmx @llvm.x86.ssse3.phadd.w(x86_mmx, x86_mmx) nounwind readnone |