From 52ceafa5c7f86de19c8a98d9686e213a2985c061 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 2 Jan 2009 05:29:08 +0000 Subject: Use movaps / movd to extract vector element 0 even with sse4.1. It's still cheaper than pextrw especially if the value is in memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61555 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/widen_arith-1.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CodeGen/X86/widen_arith-1.ll') diff --git a/test/CodeGen/X86/widen_arith-1.ll b/test/CodeGen/X86/widen_arith-1.ll index 13683b1..4190781 100644 --- a/test/CodeGen/X86/widen_arith-1.ll +++ b/test/CodeGen/X86/widen_arith-1.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f ; RUN: grep paddb %t | count 1 ; RUN: grep pextrb %t | count 1 -; RUN: grep pextrw %t | count 1 +; RUN: not grep pextrw %t ; Widen a v3i8 to v16i8 to use a vector add -- cgit v1.1