void ShaderCore::mad(Vector4f &dst, const Vector4f &src0, const Vector4f &src1, const Vector4f &src2) 692 { 693 dst.x = src0.x * src1.x + src2.x; 694 dst.y = src0.y * src1.y + src2.y; 695 dst.z = src0.z * src1.z + src2.z; 696 dst.w = src0.w * src1.w + src2.w; 697 } 698
I would want to use vfmadd instructions to achieve this. But I see that neither llvm 7.0 nor llvm 10.0 is providing
intrinsic for this. (llvm::Intrinsic::x86_fma_vfmadd_ps is not avalible in swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR$IntrinsicsX86.td)
Can anyone please help me on how to use fma instructions for mad without the llvm Intrinsic ?
Thanks in Advance!
--
You received this message because you are subscribed to the Google Groups "swiftshader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swiftshader...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swiftshader/e329f01c-4b79-446c-bd91-fb0bbd905b45o%40googlegroups.com.