Remove obsolete -f flags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-08-25 15:38:29 +00:00
parent baa26395cc
commit fea1dd0804
369 changed files with 406 additions and 406 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | \
; RUN: llc -mtriple=arm-linux-gnueabi -o %t -f
; RUN: llc -mtriple=arm-linux-gnueabi -o %t
; RUN: grep set %t | count 5
; RUN: grep globl %t | count 4
; RUN: grep weak %t | count 1
+1 -1
View File
@@ -1,6 +1,6 @@
;test all the shifted and signextending adds and subs with and without consts
;
; RUN: llvm-as < %s | llc -march=alpha -o %t.s -f
; RUN: llvm-as < %s | llc -march=alpha -o %t.s
; RUN: grep { addl} %t.s | count 2
; RUN: grep { addq} %t.s | count 2
; RUN: grep { subl} %t.s | count 2
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=cpp -cppgen=program -f -o %t
; RUN: llvm-as < %s | llc -march=cpp -cppgen=program -o %t
define x86_fp80 @some_func() nounwind {
entry:
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=cpp -cppgen=program -f -o %t
; RUN: llvm-as < %s | llc -march=cpp -cppgen=program -o %t
; RUN: grep "BranchInst::Create(label_if_then, label_if_end, int1_cmp, label_entry);" %t
define i32 @some_func(i32 %a) nounwind {
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as -o - %s | llc -march=cellspu -f -o %t1.s
; RUN: llvm-as -o - %s | llc -march=cellspu -o %t1.s
; RUN: grep rot %t1.s | count 85
; RUN: grep roth %t1.s | count 8
; RUN: grep roti.*5 %t1.s | count 1
+2 -2
View File
@@ -1,10 +1,10 @@
# Makefile for running ad-hoc custom LLVM tests
#
%.bc: %.ll
llvm-as -f $<
llvm-as $<
%.llc.s: %.bc
llc -f $< -o $@
llc $< -o $@
%.gcc.s: %.c
gcc -O0 -S $< -o $@
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -o /dev/null -f
; RUN: llvm-as < %s | llc -o /dev/null
; Test that select of a select works
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -o %t
; RUN: grep jb %t | count 1
; RUN: grep \\\$6 %t | count 2
; RUN: grep 1024 %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep subu %t | count 2
; RUN: grep addu %t | count 4
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep __floatsidf %t | count 1
; RUN: grep __floatunsidf %t | count 1
; RUN: grep __fixdfsi %t | count 1
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep {rodata.str1.4,"aMS",@progbits} %t | count 1
; RUN: grep {r.data,} %t | count 1
; RUN: grep {\%hi} %t | count 2
+2 -2
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mips-ssection-threshold=8 -march=mips -f -o %t0
; RUN: llvm-as < %s | llc -mips-ssection-threshold=0 -march=mips -f -o %t1
; RUN: llvm-as < %s | llc -mips-ssection-threshold=8 -march=mips -o %t0
; RUN: llvm-as < %s | llc -mips-ssection-threshold=0 -march=mips -o %t1
; RUN: grep {sdata} %t0 | count 1
; RUN: grep {sbss} %t0 | count 1
; RUN: grep {gp_rel} %t0 | count 2
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep seh %t | count 1
; RUN: grep seb %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep {CPI\[01\]_\[01\]:} %t | count 2
; RUN: grep {rodata.cst4,"aM",@progbits} %t | count 1
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64"
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep {c\\..*\\.s} %t | count 3
; RUN: grep {bc1\[tf\]} %t | count 3
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep abs.s %t | count 1
; RUN: grep neg.s %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep mfhi %t | count 1
; RUN: grep mflo %t | count 1
; RUN: grep multu %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep {lui.*32767} %t | count 1
; RUN: grep {ori.*65535} %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f -o %t
; RUN: llvm-as < %s | llc -march=mips -o %t
; RUN: grep mtc1 %t | count 1
; RUN: grep mfc1 %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=mips -f
; RUN: llvm-as < %s | llc -march=mips
; Mips must ignore fastcc
target datalayout =
+4 -4
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | \
; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -o %t1 -f
; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -o %t1
; RUN not grep {stw r31, 20(r1)} %t1
; RUN: grep {stwu r1, -16448(r1)} %t1
; RUN: grep {addi r1, r1, 16448} %t1
@@ -7,20 +7,20 @@
; RUN: not grep {lwz r31, 20(r1)}
; RUN: llvm-as < %s | \
; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim \
; RUN: -o %t2 -f
; RUN: -o %t2
; RUN: grep {stw r31, 20(r1)} %t2
; RUN: grep {stwu r1, -16448(r1)} %t2
; RUN: grep {addi r1, r1, 16448} %t2
; RUN: grep {lwz r31, 20(r1)} %t2
; RUN: llvm-as < %s | \
; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -o %t3 -f
; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -o %t3
; RUN: not grep {std r31, 40(r1)} %t3
; RUN: grep {stdu r1, -16496(r1)} %t3
; RUN: grep {addi r1, r1, 16496} %t3
; RUN: not grep {ld r31, 40(r1)} %t3
; RUN: llvm-as < %s | \
; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim \
; RUN: -o %t4 -f
; RUN: -o %t4
; RUN: grep {std r31, 40(r1)} %t4
; RUN: grep {stdu r1, -16496(r1)} %t4
; RUN: grep {addi r1, r1, 16496} %t4
+1 -1
View File
@@ -1,5 +1,5 @@
; All of these should be codegen'd without loading immediates
; RUN: llvm-as < %s | llc -march=ppc32 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -o %t
; RUN: grep addc %t | count 1
; RUN: grep adde %t | count 1
; RUN: grep addze %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=ppc32 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -o %t
; RUN: grep slwi %t
; RUN: not grep addi %t
; RUN: not grep rlwinm %t
+1 -1
View File
@@ -1,5 +1,5 @@
; All of these ands and shifts should be folded into rlwimi's
; RUN: llvm-as < %s | llc -march=ppc32 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -o %t
; RUN: not grep mulhwu %t
; RUN: not grep srawi %t
; RUN: not grep add %t
+1 -1
View File
@@ -1,5 +1,5 @@
; All of these ands and shifts should be folded into rlwimi's
; RUN: llvm-as < %s | llc -march=ppc32 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -o %t
; RUN: grep rlwimi %t | count 3
; RUN: grep srwi %t | count 1
; RUN: not grep slwi %t
+1 -1
View File
@@ -1,5 +1,5 @@
; All of these ands and shifts should be folded into rlwimi's
; RUN: llvm-as < %s | llc -march=ppc32 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -o %t
; RUN: not grep and %t
; RUN: not grep srawi %t
; RUN: not grep srwi %t
+1 -1
View File
@@ -1,5 +1,5 @@
; All of these ands and shifts should be folded into rlw[i]nm instructions
; RUN: llvm-as < %s | llc -march=ppc32 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -o %t
; RUN: not grep and %t
; RUN: not grep srawi %t
; RUN: not grep srwi %t
+2 -2
View File
@@ -1,10 +1,10 @@
; RUN: llvm-as < %s | \
; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=stfiwx -o %t1 -f
; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=stfiwx -o %t1
; RUN: grep stfiwx %t1
; RUN: not grep r1 %t1
; RUN: llvm-as < %s | \
; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-stfiwx \
; RUN: -o %t2 -f
; RUN: -o %t2
; RUN: not grep stfiwx %t2
; RUN: grep r1 %t2
+1 -1
View File
@@ -1,5 +1,5 @@
; All of these should be codegen'd without loading immediates
; RUN: llvm-as < %s | llc -march=ppc32 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -o %t
; RUN: grep subfc %t | count 1
; RUN: grep subfe %t | count 1
; RUN: grep subfze %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 -o %t
; RUN: grep vcmpeqfp. %t
; RUN: not grep mfcr %t
+1 -1
View File
@@ -1,7 +1,7 @@
; Test that vectors are scalarized/lowered correctly.
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g3 | \
; RUN: grep stfs | count 4
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 -o %t
; RUN: grep vspltw %t | count 2
; RUN: grep vsplti %t | count 3
; RUN: grep vsplth %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 -o %t -f
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 -o %t
; RUN: grep vrlw %t
; RUN: not grep spr %t
; RUN: not grep vrsave %t
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -o %t
; RUN: not grep and %t
; RUN: not grep shr %t
; rdar://6661955
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -o %t1 -f
; RUN: llvm-as < %s | llc -o %t1
; RUN: grep "subq.*\\\$72, \\\%rsp" %t1
; RUN: grep "movaps \\\%xmm8, 32\\\(\\\%rsp\\\)" %t1
; RUN: grep "movaps \\\%xmm7, 48\\\(\\\%rsp\\\)" %t1
+1 -1
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | \
; RUN: llc -mtriple=i686-pc-linux-gnu -asm-verbose=false -o %t -f
; RUN: llc -mtriple=i686-pc-linux-gnu -asm-verbose=false -o %t
; RUN: grep set %t | count 7
; RUN: grep globl %t | count 6
; RUN: grep weak %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -o %t1 -f
; RUN: llvm-as < %s | llc -march=x86 -o %t1
; RUN: grep "lock" %t1 | count 17
; RUN: grep "xaddl" %t1 | count 4
; RUN: grep "cmpxchgl" %t1 | count 13
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86-64 -o %t -f -stats -info-output-file - | \
; RUN: llvm-as < %s | llc -march=x86-64 -o %t -stats -info-output-file - | \
; RUN: grep {asm-printer} | grep {Number of machine instrs printed} | grep 5
; RUN: grep {leal 1(\%rsi),} %t
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mcpu=penryn -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mcpu=penryn -disable-mmx -o %t
; RUN: grep unpcklpd %t | count 1
; RUN: grep movapd %t | count 1
; RUN: grep movaps %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86-64 -mcpu=core2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86-64 -mcpu=core2 -o %t
; RUN: not grep unpcklps %t
define i32 @foo() nounwind {
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86-64 -f -o %t
; RUN: llvm-as < %s | llc -march=x86-64 -o %t
; RUN: grep inc %t | count 1
; RUN: grep dec %t | count 2
; RUN: grep addq %t | count 13
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse2 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse2 -disable-mmx -o %t
; RUN: grep {call.*divdi3} %t | count 2
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -o %t -f
; RUN: llvm-as < %s | llc -o %t
; RUN: grep __alloca %t | count 2
; RUN: grep 4294967288 %t
; RUN: grep {pushl %eax} %t
+2 -2
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse41 -o %t
; RUN: grep xorps %t | count 1
; Test that when we don't -enable-unsafe-fp-math, we don't do the optimization
@@ -9,4 +9,4 @@ entry:
%sub = fsub float %a, %b ; <float> [#uses=1]
%neg = fsub float -0.000000e+00, %sub ; <float> [#uses=1]
ret float %neg
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | \
; RUN: llc -mtriple=i686-pc-linux-gnu -relocation-model=pic -o %t -f
; RUN: llc -mtriple=i686-pc-linux-gnu -relocation-model=pic -o %t
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
; RUN: grep piclabel %t | count 3
; RUN: grep GOT %t | count 3
+1 -1
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \
; RUN: -o %t -f
; RUN: -o %t
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
; RUN: grep piclabel %t | count 3
; RUN: grep GOTOFF %t | count 4
+1 -1
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | \
; RUN: llc -mtriple=i686-pc-linux-gnu -relocation-model=pic -o %t -f
; RUN: llc -mtriple=i686-pc-linux-gnu -relocation-model=pic -o %t
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
; RUN: grep piclabel %t | count 3
; RUN: grep PLT %t | count 1
+1 -1
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \
; RUN: -o %t -f
; RUN: -o %t
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
; RUN: grep piclabel %t | count 3
; RUN: grep PLT %t | count 1
+1 -1
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \
; RUN: -o %t -f
; RUN: -o %t
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
; RUN: grep piclabel %t | count 3
; RUN: grep GOT %t | count 3
+1 -1
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \
; RUN: -o %t -f
; RUN: -o %t
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
; RUN: grep piclabel %t | count 3
; RUN: grep GOTOFF %t | count 1
+1 -1
View File
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \
; RUN: -o %t -f
; RUN: -o %t
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
; RUN: grep piclabel %t | count 3
; RUN: grep PLT %t | count 6
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx -o %t
; RUN: not grep movq %t
; Check that widening doesn't introduce a mmx register in this case when
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin -o %t
; RUN: not grep and %t
; RUN: not grep psrldq %t
; RUN: grep xorps %t
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse41 -o %t
; RUN: grep extractps %t | count 1
; RUN: grep pextrd %t | count 1
; RUN: not grep pshufd %t
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2,-sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2,-sse41 -o %t
; RUN: grep movss %t | count 3
; RUN: grep movhlps %t | count 1
; RUN: grep pshufd %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep movq %t | count 2
; Used movq to load i64 into a v2i64 when the top i64 is 0.
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse41 -o %t
; tests variable insert and extract of a 4 x i32
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep pshufd %t | count 2
define <4 x float> @test(float %a) nounwind {
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep movlhps %t | count 1
; RUN: grep movq %t | count 2
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep movss %t | count 1
; RUN: grep movq %t | count 1
; RUN: grep shufps %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep unpcklps %t | count 1
; RUN: grep pshufd %t | count 1
; RUN: not grep {sub.*esp} %t
+2 -2
View File
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,-sse2 -mtriple=i386-apple-darwin -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,-sse2 -mtriple=i386-apple-darwin -o %t
; RUN: grep shufps %t | count 4
; RUN: grep movaps %t | count 2
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin -o %t
; RUN: grep pshufd %t | count 4
; RUN: not grep shufps %t
; RUN: not grep mov %t
+2 -2
View File
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=x86 -mcpu=pentium-m -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mcpu=pentium-m -o %t
; RUN: grep movlhps %t | count 1
; RUN: grep pshufd %t | count 1
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t
; RUN: grep movlhps %t | count 1
; RUN: grep movddup %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t
; RUN: grep unpcklps %t | count 3
; RUN: grep unpckhps %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t
; RUN: grep unpcklps %t | count 1
; RUN: grep unpckhps %t | count 3
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t
; RUN: grep addps %t | count 2
; RUN: grep mulps %t | count 2
; RUN: grep subps %t | count 2
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t
; RUN: grep pshufb %t | count 1
; FIXME: this test has a superfluous punpcklqdq pre-pshufb currently.
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep movlhps %t | count 1
; RUN: grep movhlps %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -disable-mmx -o %t
; RUN: grep pshufhw %t | grep 161 | count 1
; RUN: grep shufps %t | count 1
; RUN: not grep pslldq %t
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t
; RUN: grep pshufb %t | count 1
define <8 x i16> @shuf3(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone {
+2 -2
View File
@@ -1,10 +1,10 @@
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -stack-alignment=16 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -stack-alignment=16 -o %t
; RUN: grep pextrw %t | count 13
; RUN: grep pinsrw %t | count 14
; RUN: grep rolw %t | count 13
; RUN: not grep esp %t
; RUN: not grep ebp %t
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -stack-alignment=16 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -stack-alignment=16 -o %t
; RUN: grep pshufb %t | count 3
define <16 x i8> @shuf1(<16 x i8> %T0) nounwind readnone {
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t
; RUN: grep pshufb %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep movhlps %t | count 1
; RUN: grep shufps %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep movapd %t | count 1
; RUN: grep movaps %t | count 1
; RUN: grep movups %t | count 2
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep xorps %t | count 1
; RUN: not grep shufps %t
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t
; RUN: grep punpck %t | count 2
; RUN: not grep pextrw %t
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mcpu=core2 -o %t
; RUN: grep shufp %t | count 1
; RUN: grep movupd %t | count 1
; RUN: grep pshufhw %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t
; RUN: grep punpcklwd %t | count 4
; RUN: grep punpckhwd %t | count 4
; RUN: grep "pshufd" %t | count 8
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t
; RUN: grep punpcklbw %t | count 16
; RUN: grep punpckhbw %t | count 16
; RUN: grep "pshufd" %t | count 16
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,+sse2 -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,+sse2 -o %t
; RUN: grep minss %t | grep CPI | count 2
; RUN: grep CPI %t | not grep movss
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-mmx -o %t
; RUN: grep psllq %t | count 2
; RUN: grep pslld %t | count 2
; RUN: grep psllw %t | count 2
+2 -2
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-mmx -o %t
; RUN: grep psrlq %t | count 2
; RUN: grep psrld %t | count 2
; RUN: grep psrlw %t | count 2
@@ -61,4 +61,4 @@ entry:
%lshr = lshr <8 x i16> %val, %7
store <8 x i16> %lshr, <8 x i16>* %dst
ret void
}
}
+2 -2
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-mmx -o %t
; RUN: grep psrad %t | count 2
; RUN: grep psraw %t | count 2
@@ -51,4 +51,4 @@ entry:
%ashr = ashr <8 x i16> %val, %7
store <8 x i16> %ashr, <8 x i16>* %dst
ret void
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-mmx -o %t
; RUN: grep psllq %t | count 1
; RUN: grep pslld %t | count 3
; RUN: grep psllw %t | count 2
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep paddb %t | count 1
; RUN: grep pextrb %t | count 1
; RUN: not grep pextrw %t
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep paddb %t | count 1
; RUN: grep pand %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep paddw %t | count 1
; RUN: grep movd %t | count 2
; RUN: grep pextrw %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep psubw %t | count 1
; RUN: grep pmullw %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep pmulld %t | count 1
; RUN: grep psubd %t | count 1
; RUN: grep movaps %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep mulps %t | count 1
; RUN: grep addps %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep paddw %t | count 1
; RUN: grep movd %t | count 1
; RUN: grep pextrd %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep pextrd %t | count 5
; RUN: grep movd %t | count 3
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep paddd %t | count 1
; RUN: grep pextrd %t | count 2
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep sarb %t | count 8
; v8i8 that is widen to v16i8 then split
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; bitcast a i64 to v2i32
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse41 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse41 -disable-mmx -o %t
; RUN: grep movd %t | count 1
; Test bit convert that requires widening in the operand.
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; RUN: grep pshufd %t | count 1
; RUN: grep paddd %t | count 1
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; sign extension v2i32 to v2i16
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; grep cvtsi2ss %t | count 1
; sign to float v2i16 to v2f32
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; unsigned to float v7i16 to v7f32
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t
; widening select v6i32 and then a sub

Some files were not shown because too many files have changed in this diff Show More