Mercurial > hg > CbC > CbC_llvm
diff test/CodeGen/X86/vec_fneg.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 54457678186b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/CodeGen/X86/vec_fneg.ll Thu Dec 12 13:56:28 2013 +0900 @@ -0,0 +1,11 @@ +; RUN: llc < %s -march=x86 -mattr=+sse2 + +define <4 x float> @t1(<4 x float> %Q) { + %tmp15 = fsub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, %Q + ret <4 x float> %tmp15 +} + +define <4 x float> @t2(<4 x float> %Q) { + %tmp15 = fsub <4 x float> zeroinitializer, %Q + ret <4 x float> %tmp15 +}