[PATCH] D23808: [X86][SSE] Add lowering to cvttpd2dq/cvttps2dq for sitofp v2f64/2f32 to 2i32

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 16 16:52:04 PDT 2016


craig.topper added inline comments.


================
Comment at: test/CodeGen/X86/vec_fp_to_int.ll:102
+; SSE-NEXT:    cvttpd2dq %xmm0, %xmm1
+; SSE-NEXT:    cvttpd2dq %xmm0, %xmm0
 ; SSE-NEXT:    punpcklqdq {{.*#+}} xmm0 = xmm0[0],xmm1[0]
----------------
Why does this test case end up with 2 cvttpd2dq instructions that need to be unpacked?


Repository:
  rL LLVM

https://reviews.llvm.org/D23808





More information about the llvm-commits mailing list