1; RUN: llc < %s | FileCheck %s
2target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32-n32"
3target triple = "thumbv7-apple-darwin10.0.0"
4
5; CHECK: sint_to_fp
6; CHECK: vmovl.s16
7; CHECK: vcvt.f32.s32
8define <4 x float> @sint_to_fp(<4 x i16> %x) nounwind ssp {
9  %a = sitofp <4 x i16> %x to <4 x float>
10  ret <4 x float> %a
11}
12
13; CHECK: uint_to_fp
14; CHECK: vmovl.u16
15; CHECK: vcvt.f32.u32
16define <4 x float> @uint_to_fp(<4 x i16> %x) nounwind ssp {
17  %a = uitofp <4 x i16> %x to <4 x float>
18  ret <4 x float> %a
19}
20