Jan Vesely 4be0339023 hypot: Port from amd builtins
v2: Fix whitespace errors

Use only subnormal path.
Passes CTS on carrizo and turks.
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewer: Aaron Watry <awatry@gmail.com>

llvm-svn: 329647
2018-04-10 00:11:58 +00:00

8 lines
147 B
Common Lisp

#include <clc/clc.h>
#include <math/clc_hypot.h>
#define __CLC_FUNC hypot
#define __CLC_BODY <clc_sw_binary.inc>
#include <clc/math/gentype.inc>