[PATCH] [X86] Updates to X86 backend for f16 promotion
Elena Demikhovsky
elena.demikhovsky at intel.com
Thu Apr 30 01:36:41 PDT 2015
================
Comment at: test/CodeGen/X86/half.ll:89
@@ +88,3 @@
+; CHECK-FP16: vcvtsi2ssq
+; CHECK-FP16: vcvtps2ph
+ %r = sitofp i64 %a to half
----------------
This instruction converts and stores the value. Could you, please, show the store in CHECK, somthing like (%rdi)
================
Comment at: test/CodeGen/X86/half.ll:157
@@ +156,3 @@
+; CHECK: callq __truncdfhf2
+ %v = fptrunc <4 x double> %a to <4 x half>
+ store <4 x half> %v, <4 x half>* %p
----------------
Why double to half can't go through the chain (double -> float ->half). I'm just asking..
http://reviews.llvm.org/D9092
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list