diff options
Diffstat (limited to 'test/CodeGen/X86/avx-cvt.ll')
-rw-r--r-- | test/CodeGen/X86/avx-cvt.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/avx-cvt.ll b/test/CodeGen/X86/avx-cvt.ll index e45010c903..5fe207e060 100644 --- a/test/CodeGen/X86/avx-cvt.ll +++ b/test/CodeGen/X86/avx-cvt.ll @@ -6,6 +6,13 @@ define <8 x float> @sitofp00(<8 x i32> %a) nounwind { ret <8 x float> %b } +; CHECK: vcvtdq2ps +; CHECK-NEXT: vcvtps2pd +define <4 x double> @sitofp01(<4 x i32> %a) { + %b = sitofp <4 x i32> %a to <4 x double> + ret <4 x double> %b +} + ; CHECK: vcvttps2dq %ymm define <8 x i32> @fptosi00(<8 x float> %a) nounwind { %b = fptosi <8 x float> %a to <8 x i32> |