[x86] Rename avx-{s,z}ext.ll to vector-{s,z}ext.ll.
[oota-llvm.git] / test / CodeGen / X86 / movgs.ll
index 65ee7b1d8e00256b44006915e5b48836faa0c103..71b0723c429e0a17e32c16d442a18d2e817da2c0 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=sse41 | FileCheck %s --check-prefix=X32
-; RUN: llc < %s -mtriple=x86_64-linux -mattr=sse41 | FileCheck %s --check-prefix=X64
-; RUN: llc < %s -mtriple=x86_64-win32 -mattr=sse41 | FileCheck %s --check-prefix=X64
+; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mcpu=penryn -mattr=sse4.1 | FileCheck %s --check-prefix=X32
+; RUN: llc < %s -mtriple=x86_64-linux -mcpu=penryn -mattr=sse4.1 | FileCheck %s --check-prefix=X64
+; RUN: llc < %s -mtriple=x86_64-win32 -mcpu=penryn -mattr=sse4.1 | FileCheck %s --check-prefix=X64
 
 define i32 @test1() nounwind readonly {
 entry:
@@ -8,12 +8,12 @@ entry:
        %tmp1 = load i32* %tmp          ; <i32> [#uses=1]
        ret i32 %tmp1
 }
-; X32: test1:
+; X32-LABEL: test1:
 ; X32:         movl    %gs:196, %eax
 ; X32:         movl    (%eax), %eax
 ; X32:         ret
 
-; X64: test1:
+; X64-LABEL: test1:
 ; X64:         movq    %gs:320, %rax
 ; X64:         movl    (%rax), %eax
 ; X64:         ret
@@ -26,11 +26,11 @@ entry:
 }
 
 ; rdar://8453210
-; X32: test2:
+; X32-LABEL: test2:
 ; X32: movl    {{.*}}(%esp), %eax
 ; X32: calll   *%gs:(%eax)
 
-; X64: test2:
+; X64-LABEL: test2:
 ; X64: callq   *%gs:([[A0:%rdi|%rcx]])
 
 
@@ -45,12 +45,12 @@ entry:
   %3 = bitcast <4 x i32> %2 to <2 x i64>
   ret <2 x i64> %3
   
-; X32: pmovsxwd_1:
+; X32-LABEL: pmovsxwd_1:
 ; X32:         movl    4(%esp), %eax
 ; X32:         pmovsxwd        %gs:(%eax), %xmm0
 ; X32:         ret
 
-; X64: pmovsxwd_1:
+; X64-LABEL: pmovsxwd_1:
 ; X64: pmovsxwd        %gs:([[A0]]), %xmm0
 ; X64: ret
 }
@@ -66,7 +66,7 @@ entry:
        %tmp4 = add i32 %tmp1, %tmp3
        ret i32 %tmp4
 }
-; X32: test_no_cse:
+; X32-LABEL: test_no_cse:
 ; X32:         movl    %gs:196
 ; X32:         movl    %fs:196
 ; X32:         ret