Author: jvesely Date: Wed Mar 13 00:06:13 2019 New Revision: 356019 URL: http://llvm.org/viewvc/llvm-project?rev=356019&view=rev Log: Move ternary_intrinsic.h to private headers.
Reviewer: Aaron Watry Signed-off-by: Jan Vesely <jan.ves...@rutgers.edu> Added: libclc/trunk/generic/include/math/ternary_intrin.inc - copied, changed from r356018, libclc/trunk/generic/include/clc/math/ternary_intrin.inc Removed: libclc/trunk/generic/include/clc/math/ternary_intrin.inc Modified: libclc/trunk/generic/include/math/clc_fma.h Removed: libclc/trunk/generic/include/clc/math/ternary_intrin.inc URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/ternary_intrin.inc?rev=356018&view=auto ============================================================================== --- libclc/trunk/generic/include/clc/math/ternary_intrin.inc (original) +++ libclc/trunk/generic/include/clc/math/ternary_intrin.inc (removed) @@ -1,30 +0,0 @@ -_CLC_OVERLOAD float __CLC_FUNCTION(float, float, float) __asm(__CLC_INTRINSIC ".f32"); -_CLC_OVERLOAD float2 __CLC_FUNCTION(float2, float2, float2) __asm(__CLC_INTRINSIC ".v2f32"); -_CLC_OVERLOAD float3 __CLC_FUNCTION(float3, float3, float3) __asm(__CLC_INTRINSIC ".v3f32"); -_CLC_OVERLOAD float4 __CLC_FUNCTION(float4, float4, float4) __asm(__CLC_INTRINSIC ".v4f32"); -_CLC_OVERLOAD float8 __CLC_FUNCTION(float8, float8, float8) __asm(__CLC_INTRINSIC ".v8f32"); -_CLC_OVERLOAD float16 __CLC_FUNCTION(float16, float16, float16) __asm(__CLC_INTRINSIC ".v16f32"); - -#ifdef cl_khr_fp64 -#pragma OPENCL EXTENSION cl_khr_fp64 : enable -_CLC_OVERLOAD double __CLC_FUNCTION(double, double, double) __asm(__CLC_INTRINSIC ".f64"); -_CLC_OVERLOAD double2 __CLC_FUNCTION(double2, double2, double2) __asm(__CLC_INTRINSIC ".v2f64"); -_CLC_OVERLOAD double3 __CLC_FUNCTION(double3, double3, double3) __asm(__CLC_INTRINSIC ".v3f64"); -_CLC_OVERLOAD double4 __CLC_FUNCTION(double4, double4, double4) __asm(__CLC_INTRINSIC ".v4f64"); -_CLC_OVERLOAD double8 __CLC_FUNCTION(double8, double8, double8) __asm(__CLC_INTRINSIC ".v8f64"); -_CLC_OVERLOAD double16 __CLC_FUNCTION(double16, double16, double16) __asm(__CLC_INTRINSIC ".v16f64"); -#endif - -#ifdef cl_khr_fp16 -#pragma OPENCL EXTENSION cl_khr_fp16: enable -_CLC_OVERLOAD half __CLC_FUNCTION(half, half, half) __asm(__CLC_INTRINSIC ".f16"); -_CLC_OVERLOAD half2 __CLC_FUNCTION(half2, half2, half2) __asm(__CLC_INTRINSIC ".v2f16"); -_CLC_OVERLOAD half3 __CLC_FUNCTION(half3, half3, half3) __asm(__CLC_INTRINSIC ".v3f16"); -_CLC_OVERLOAD half4 __CLC_FUNCTION(half4, half4, half4) __asm(__CLC_INTRINSIC ".v4f16"); -_CLC_OVERLOAD half8 __CLC_FUNCTION(half8, half8, half8) __asm(__CLC_INTRINSIC ".v8f16"); -_CLC_OVERLOAD half16 __CLC_FUNCTION(half16, half16, half16) __asm(__CLC_INTRINSIC ".v16f16"); -#endif - - -#undef __CLC_FUNCTION -#undef __CLC_INTRINSIC Modified: libclc/trunk/generic/include/math/clc_fma.h URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/math/clc_fma.h?rev=356019&r1=356018&r2=356019&view=diff ============================================================================== --- libclc/trunk/generic/include/math/clc_fma.h (original) +++ libclc/trunk/generic/include/math/clc_fma.h Wed Mar 13 00:06:13 2019 @@ -1,6 +1,6 @@ #define __CLC_FUNCTION __clc_fma #define __CLC_INTRINSIC "llvm.fma" -#include <clc/math/ternary_intrin.inc> +#include "math/ternary_intrin.inc" #define __FLOAT_ONLY #define __CLC_FUNCTION __clc_sw_fma Copied: libclc/trunk/generic/include/math/ternary_intrin.inc (from r356018, libclc/trunk/generic/include/clc/math/ternary_intrin.inc) URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/math/ternary_intrin.inc?p2=libclc/trunk/generic/include/math/ternary_intrin.inc&p1=libclc/trunk/generic/include/clc/math/ternary_intrin.inc&r1=356018&r2=356019&rev=356019&view=diff ============================================================================== (empty) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits