mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
148485f707
llvm-svn: 112171
15 lines
427 B
LLVM
15 lines
427 B
LLVM
; Tests for SSE1 and below, without SSE2+.
|
|
; RUN: llc < %s -march=x86 -mcpu=pentium3 -O3 | FileCheck %s
|
|
; RUN: llc < %s -march=x86-64 -mcpu=pentium3 -O3 | FileCheck %s
|
|
|
|
define <8 x i16> @test1(<8 x i32> %a) nounwind {
|
|
; CHECK: test1
|
|
ret <8 x i16> zeroinitializer
|
|
}
|
|
|
|
define <8 x i16> @test2(<8 x i32> %a) nounwind {
|
|
; CHECK: test2
|
|
%c = trunc <8 x i32> %a to <8 x i16> ; <<8 x i16>> [#uses=1]
|
|
ret <8 x i16> %c
|
|
}
|