From ff298f21b747f4d0aab6ebe9a162bdff9d425897 Mon Sep 17 00:00:00 2001 From: Dmitry Babokin Date: Wed, 30 Nov 2016 05:27:10 +0300 Subject: [PATCH] Adding SVML support to AVX512 targets --- builtins/target-avx512-common.ll | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/builtins/target-avx512-common.ll b/builtins/target-avx512-common.ll index bd2eea93..06b48c7f 100644 --- a/builtins/target-avx512-common.ll +++ b/builtins/target-avx512-common.ll @@ -617,16 +617,16 @@ define i64 @__popcnt_int64(i64) nounwind readonly alwaysinline { } ctlztz() -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; FIXME: need either to wire these up to the 8-wide SVML entrypoints, -; or, use the macro to call the 4-wide ones twice with our 8-wide -; vectors... - +;; TODO: should we use masked versions of SVML functions? ;; svml include(`svml.m4') -svml_stubs(float,f,WIDTH) -svml_stubs(double,d,WIDTH) +svml_declare(float,f16,16) +svml_define(float,f16,16,f) + +;; double precision +svml_declare(double,8,8) +svml_define_x(double,8,8,d,16)