From 3867a52dffce3aa1ad603b36e7dfbb2ec351d73d Mon Sep 17 00:00:00 2001 From: Wenju He Date: Mon, 22 Dec 2025 08:47:51 +0100 Subject: [PATCH 1/3] [NFC][libspirv] Add test for remangled libspirv bitcode files Verify that the remangling process preserves expected symbols. --- libclc/test/binding/core/All.cl | 3 +- libclc/test/binding/core/Any.cl | 3 +- libclc/test/binding/core/BitCount.cl | 3 +- libclc/test/binding/core/ControlBarrier.cl | 3 +- libclc/test/binding/core/ConvertFToS_Rchar.cl | 5 +- .../test/binding/core/ConvertFToS_Rchar16.cl | 5 +- .../binding/core/ConvertFToS_Rchar16_rte.cl | 5 +- .../binding/core/ConvertFToS_Rchar16_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rchar16_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rchar16_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rchar16_sat.cl | 5 +- .../core/ConvertFToS_Rchar16_sat_rte.cl | 5 +- .../core/ConvertFToS_Rchar16_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rchar16_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rchar16_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rchar2.cl | 5 +- .../binding/core/ConvertFToS_Rchar2_rte.cl | 5 +- .../binding/core/ConvertFToS_Rchar2_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rchar2_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rchar2_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rchar2_sat.cl | 5 +- .../core/ConvertFToS_Rchar2_sat_rte.cl | 5 +- .../core/ConvertFToS_Rchar2_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rchar2_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rchar2_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rchar3.cl | 5 +- .../binding/core/ConvertFToS_Rchar3_rte.cl | 5 +- .../binding/core/ConvertFToS_Rchar3_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rchar3_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rchar3_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rchar3_sat.cl | 5 +- .../core/ConvertFToS_Rchar3_sat_rte.cl | 5 +- .../core/ConvertFToS_Rchar3_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rchar3_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rchar3_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rchar4.cl | 5 +- .../binding/core/ConvertFToS_Rchar4_rte.cl | 5 +- .../binding/core/ConvertFToS_Rchar4_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rchar4_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rchar4_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rchar4_sat.cl | 5 +- .../core/ConvertFToS_Rchar4_sat_rte.cl | 5 +- .../core/ConvertFToS_Rchar4_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rchar4_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rchar4_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rchar8.cl | 5 +- .../binding/core/ConvertFToS_Rchar8_rte.cl | 5 +- .../binding/core/ConvertFToS_Rchar8_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rchar8_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rchar8_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rchar8_sat.cl | 5 +- .../core/ConvertFToS_Rchar8_sat_rte.cl | 5 +- .../core/ConvertFToS_Rchar8_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rchar8_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rchar8_sat_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rchar_rte.cl | 5 +- .../binding/core/ConvertFToS_Rchar_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rchar_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rchar_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rchar_sat.cl | 5 +- .../binding/core/ConvertFToS_Rchar_sat_rte.cl | 5 +- .../binding/core/ConvertFToS_Rchar_sat_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rchar_sat_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rchar_sat_rtz.cl | 5 +- libclc/test/binding/core/ConvertFToS_Rint.cl | 5 +- .../test/binding/core/ConvertFToS_Rint16.cl | 5 +- .../binding/core/ConvertFToS_Rint16_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint16_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint16_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint16_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rint16_sat.cl | 5 +- .../core/ConvertFToS_Rint16_sat_rte.cl | 5 +- .../core/ConvertFToS_Rint16_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rint16_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rint16_sat_rtz.cl | 5 +- libclc/test/binding/core/ConvertFToS_Rint2.cl | 5 +- .../binding/core/ConvertFToS_Rint2_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint2_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint2_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint2_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rint2_sat.cl | 5 +- .../binding/core/ConvertFToS_Rint2_sat_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint2_sat_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint2_sat_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint2_sat_rtz.cl | 5 +- libclc/test/binding/core/ConvertFToS_Rint3.cl | 5 +- .../binding/core/ConvertFToS_Rint3_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint3_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint3_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint3_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rint3_sat.cl | 5 +- .../binding/core/ConvertFToS_Rint3_sat_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint3_sat_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint3_sat_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint3_sat_rtz.cl | 5 +- libclc/test/binding/core/ConvertFToS_Rint4.cl | 5 +- .../binding/core/ConvertFToS_Rint4_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint4_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint4_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint4_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rint4_sat.cl | 5 +- .../binding/core/ConvertFToS_Rint4_sat_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint4_sat_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint4_sat_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint4_sat_rtz.cl | 5 +- libclc/test/binding/core/ConvertFToS_Rint8.cl | 5 +- .../binding/core/ConvertFToS_Rint8_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint8_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint8_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint8_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rint8_sat.cl | 5 +- .../binding/core/ConvertFToS_Rint8_sat_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint8_sat_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint8_sat_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint8_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rint_rte.cl | 5 +- .../test/binding/core/ConvertFToS_Rint_rtn.cl | 5 +- .../test/binding/core/ConvertFToS_Rint_rtp.cl | 5 +- .../test/binding/core/ConvertFToS_Rint_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rint_sat.cl | 5 +- .../binding/core/ConvertFToS_Rint_sat_rte.cl | 5 +- .../binding/core/ConvertFToS_Rint_sat_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rint_sat_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rint_sat_rtz.cl | 5 +- libclc/test/binding/core/ConvertFToS_Rlong.cl | 5 +- .../test/binding/core/ConvertFToS_Rlong16.cl | 5 +- .../binding/core/ConvertFToS_Rlong16_rte.cl | 5 +- .../binding/core/ConvertFToS_Rlong16_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rlong16_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rlong16_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rlong16_sat.cl | 5 +- .../core/ConvertFToS_Rlong16_sat_rte.cl | 5 +- .../core/ConvertFToS_Rlong16_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rlong16_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rlong16_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rlong2.cl | 5 +- .../binding/core/ConvertFToS_Rlong2_rte.cl | 5 +- .../binding/core/ConvertFToS_Rlong2_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rlong2_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rlong2_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rlong2_sat.cl | 5 +- .../core/ConvertFToS_Rlong2_sat_rte.cl | 5 +- .../core/ConvertFToS_Rlong2_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rlong2_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rlong2_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rlong3.cl | 5 +- .../binding/core/ConvertFToS_Rlong3_rte.cl | 5 +- .../binding/core/ConvertFToS_Rlong3_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rlong3_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rlong3_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rlong3_sat.cl | 5 +- .../core/ConvertFToS_Rlong3_sat_rte.cl | 5 +- .../core/ConvertFToS_Rlong3_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rlong3_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rlong3_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rlong4.cl | 5 +- .../binding/core/ConvertFToS_Rlong4_rte.cl | 5 +- .../binding/core/ConvertFToS_Rlong4_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rlong4_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rlong4_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rlong4_sat.cl | 5 +- .../core/ConvertFToS_Rlong4_sat_rte.cl | 5 +- .../core/ConvertFToS_Rlong4_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rlong4_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rlong4_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rlong8.cl | 5 +- .../binding/core/ConvertFToS_Rlong8_rte.cl | 5 +- .../binding/core/ConvertFToS_Rlong8_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rlong8_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rlong8_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rlong8_sat.cl | 5 +- .../core/ConvertFToS_Rlong8_sat_rte.cl | 5 +- .../core/ConvertFToS_Rlong8_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rlong8_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rlong8_sat_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rlong_rte.cl | 5 +- .../binding/core/ConvertFToS_Rlong_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rlong_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rlong_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rlong_sat.cl | 5 +- .../binding/core/ConvertFToS_Rlong_sat_rte.cl | 5 +- .../binding/core/ConvertFToS_Rlong_sat_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rlong_sat_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rlong_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rshort.cl | 5 +- .../test/binding/core/ConvertFToS_Rshort16.cl | 5 +- .../binding/core/ConvertFToS_Rshort16_rte.cl | 5 +- .../binding/core/ConvertFToS_Rshort16_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rshort16_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rshort16_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rshort16_sat.cl | 5 +- .../core/ConvertFToS_Rshort16_sat_rte.cl | 5 +- .../core/ConvertFToS_Rshort16_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rshort16_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rshort16_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rshort2.cl | 5 +- .../binding/core/ConvertFToS_Rshort2_rte.cl | 5 +- .../binding/core/ConvertFToS_Rshort2_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rshort2_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rshort2_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rshort2_sat.cl | 5 +- .../core/ConvertFToS_Rshort2_sat_rte.cl | 5 +- .../core/ConvertFToS_Rshort2_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rshort2_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rshort2_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rshort3.cl | 5 +- .../binding/core/ConvertFToS_Rshort3_rte.cl | 5 +- .../binding/core/ConvertFToS_Rshort3_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rshort3_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rshort3_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rshort3_sat.cl | 5 +- .../core/ConvertFToS_Rshort3_sat_rte.cl | 5 +- .../core/ConvertFToS_Rshort3_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rshort3_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rshort3_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rshort4.cl | 5 +- .../binding/core/ConvertFToS_Rshort4_rte.cl | 5 +- .../binding/core/ConvertFToS_Rshort4_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rshort4_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rshort4_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rshort4_sat.cl | 5 +- .../core/ConvertFToS_Rshort4_sat_rte.cl | 5 +- .../core/ConvertFToS_Rshort4_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rshort4_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rshort4_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToS_Rshort8.cl | 5 +- .../binding/core/ConvertFToS_Rshort8_rte.cl | 5 +- .../binding/core/ConvertFToS_Rshort8_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rshort8_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rshort8_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rshort8_sat.cl | 5 +- .../core/ConvertFToS_Rshort8_sat_rte.cl | 5 +- .../core/ConvertFToS_Rshort8_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rshort8_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rshort8_sat_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rshort_rte.cl | 5 +- .../binding/core/ConvertFToS_Rshort_rtn.cl | 5 +- .../binding/core/ConvertFToS_Rshort_rtp.cl | 5 +- .../binding/core/ConvertFToS_Rshort_rtz.cl | 5 +- .../binding/core/ConvertFToS_Rshort_sat.cl | 5 +- .../core/ConvertFToS_Rshort_sat_rte.cl | 5 +- .../core/ConvertFToS_Rshort_sat_rtn.cl | 5 +- .../core/ConvertFToS_Rshort_sat_rtp.cl | 5 +- .../core/ConvertFToS_Rshort_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Ruchar.cl | 5 +- .../test/binding/core/ConvertFToU_Ruchar16.cl | 5 +- .../binding/core/ConvertFToU_Ruchar16_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruchar16_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruchar16_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruchar16_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruchar16_sat.cl | 5 +- .../core/ConvertFToU_Ruchar16_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruchar16_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruchar16_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruchar16_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Ruchar2.cl | 5 +- .../binding/core/ConvertFToU_Ruchar2_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruchar2_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruchar2_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruchar2_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruchar2_sat.cl | 5 +- .../core/ConvertFToU_Ruchar2_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruchar2_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruchar2_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruchar2_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Ruchar3.cl | 5 +- .../binding/core/ConvertFToU_Ruchar3_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruchar3_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruchar3_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruchar3_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruchar3_sat.cl | 5 +- .../core/ConvertFToU_Ruchar3_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruchar3_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruchar3_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruchar3_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Ruchar4.cl | 5 +- .../binding/core/ConvertFToU_Ruchar4_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruchar4_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruchar4_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruchar4_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruchar4_sat.cl | 5 +- .../core/ConvertFToU_Ruchar4_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruchar4_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruchar4_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruchar4_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Ruchar8.cl | 5 +- .../binding/core/ConvertFToU_Ruchar8_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruchar8_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruchar8_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruchar8_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruchar8_sat.cl | 5 +- .../core/ConvertFToU_Ruchar8_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruchar8_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruchar8_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruchar8_sat_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruchar_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruchar_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruchar_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruchar_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruchar_sat.cl | 5 +- .../core/ConvertFToU_Ruchar_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruchar_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruchar_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruchar_sat_rtz.cl | 5 +- libclc/test/binding/core/ConvertFToU_Ruint.cl | 5 +- .../test/binding/core/ConvertFToU_Ruint16.cl | 5 +- .../binding/core/ConvertFToU_Ruint16_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruint16_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruint16_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruint16_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruint16_sat.cl | 5 +- .../core/ConvertFToU_Ruint16_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruint16_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruint16_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruint16_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Ruint2.cl | 5 +- .../binding/core/ConvertFToU_Ruint2_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruint2_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruint2_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruint2_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruint2_sat.cl | 5 +- .../core/ConvertFToU_Ruint2_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruint2_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruint2_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruint2_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Ruint3.cl | 5 +- .../binding/core/ConvertFToU_Ruint3_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruint3_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruint3_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruint3_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruint3_sat.cl | 5 +- .../core/ConvertFToU_Ruint3_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruint3_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruint3_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruint3_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Ruint4.cl | 5 +- .../binding/core/ConvertFToU_Ruint4_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruint4_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruint4_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruint4_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruint4_sat.cl | 5 +- .../core/ConvertFToU_Ruint4_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruint4_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruint4_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruint4_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Ruint8.cl | 5 +- .../binding/core/ConvertFToU_Ruint8_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruint8_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruint8_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruint8_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruint8_sat.cl | 5 +- .../core/ConvertFToU_Ruint8_sat_rte.cl | 5 +- .../core/ConvertFToU_Ruint8_sat_rtn.cl | 5 +- .../core/ConvertFToU_Ruint8_sat_rtp.cl | 5 +- .../core/ConvertFToU_Ruint8_sat_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruint_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruint_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruint_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruint_rtz.cl | 5 +- .../binding/core/ConvertFToU_Ruint_sat.cl | 5 +- .../binding/core/ConvertFToU_Ruint_sat_rte.cl | 5 +- .../binding/core/ConvertFToU_Ruint_sat_rtn.cl | 5 +- .../binding/core/ConvertFToU_Ruint_sat_rtp.cl | 5 +- .../binding/core/ConvertFToU_Ruint_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rulong.cl | 5 +- .../test/binding/core/ConvertFToU_Rulong16.cl | 5 +- .../binding/core/ConvertFToU_Rulong16_rte.cl | 5 +- .../binding/core/ConvertFToU_Rulong16_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rulong16_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rulong16_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rulong16_sat.cl | 5 +- .../core/ConvertFToU_Rulong16_sat_rte.cl | 5 +- .../core/ConvertFToU_Rulong16_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rulong16_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rulong16_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rulong2.cl | 5 +- .../binding/core/ConvertFToU_Rulong2_rte.cl | 5 +- .../binding/core/ConvertFToU_Rulong2_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rulong2_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rulong2_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rulong2_sat.cl | 5 +- .../core/ConvertFToU_Rulong2_sat_rte.cl | 5 +- .../core/ConvertFToU_Rulong2_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rulong2_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rulong2_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rulong3.cl | 5 +- .../binding/core/ConvertFToU_Rulong3_rte.cl | 5 +- .../binding/core/ConvertFToU_Rulong3_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rulong3_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rulong3_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rulong3_sat.cl | 5 +- .../core/ConvertFToU_Rulong3_sat_rte.cl | 5 +- .../core/ConvertFToU_Rulong3_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rulong3_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rulong3_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rulong4.cl | 5 +- .../binding/core/ConvertFToU_Rulong4_rte.cl | 5 +- .../binding/core/ConvertFToU_Rulong4_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rulong4_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rulong4_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rulong4_sat.cl | 5 +- .../core/ConvertFToU_Rulong4_sat_rte.cl | 5 +- .../core/ConvertFToU_Rulong4_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rulong4_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rulong4_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rulong8.cl | 5 +- .../binding/core/ConvertFToU_Rulong8_rte.cl | 5 +- .../binding/core/ConvertFToU_Rulong8_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rulong8_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rulong8_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rulong8_sat.cl | 5 +- .../core/ConvertFToU_Rulong8_sat_rte.cl | 5 +- .../core/ConvertFToU_Rulong8_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rulong8_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rulong8_sat_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rulong_rte.cl | 5 +- .../binding/core/ConvertFToU_Rulong_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rulong_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rulong_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rulong_sat.cl | 5 +- .../core/ConvertFToU_Rulong_sat_rte.cl | 5 +- .../core/ConvertFToU_Rulong_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rulong_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rulong_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rushort.cl | 5 +- .../binding/core/ConvertFToU_Rushort16.cl | 5 +- .../binding/core/ConvertFToU_Rushort16_rte.cl | 5 +- .../binding/core/ConvertFToU_Rushort16_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rushort16_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rushort16_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rushort16_sat.cl | 5 +- .../core/ConvertFToU_Rushort16_sat_rte.cl | 5 +- .../core/ConvertFToU_Rushort16_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rushort16_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rushort16_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rushort2.cl | 5 +- .../binding/core/ConvertFToU_Rushort2_rte.cl | 5 +- .../binding/core/ConvertFToU_Rushort2_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rushort2_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rushort2_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rushort2_sat.cl | 5 +- .../core/ConvertFToU_Rushort2_sat_rte.cl | 5 +- .../core/ConvertFToU_Rushort2_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rushort2_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rushort2_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rushort3.cl | 5 +- .../binding/core/ConvertFToU_Rushort3_rte.cl | 5 +- .../binding/core/ConvertFToU_Rushort3_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rushort3_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rushort3_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rushort3_sat.cl | 5 +- .../core/ConvertFToU_Rushort3_sat_rte.cl | 5 +- .../core/ConvertFToU_Rushort3_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rushort3_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rushort3_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rushort4.cl | 5 +- .../binding/core/ConvertFToU_Rushort4_rte.cl | 5 +- .../binding/core/ConvertFToU_Rushort4_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rushort4_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rushort4_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rushort4_sat.cl | 5 +- .../core/ConvertFToU_Rushort4_sat_rte.cl | 5 +- .../core/ConvertFToU_Rushort4_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rushort4_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rushort4_sat_rtz.cl | 5 +- .../test/binding/core/ConvertFToU_Rushort8.cl | 5 +- .../binding/core/ConvertFToU_Rushort8_rte.cl | 5 +- .../binding/core/ConvertFToU_Rushort8_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rushort8_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rushort8_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rushort8_sat.cl | 5 +- .../core/ConvertFToU_Rushort8_sat_rte.cl | 5 +- .../core/ConvertFToU_Rushort8_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rushort8_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rushort8_sat_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rushort_rte.cl | 5 +- .../binding/core/ConvertFToU_Rushort_rtn.cl | 5 +- .../binding/core/ConvertFToU_Rushort_rtp.cl | 5 +- .../binding/core/ConvertFToU_Rushort_rtz.cl | 5 +- .../binding/core/ConvertFToU_Rushort_sat.cl | 5 +- .../core/ConvertFToU_Rushort_sat_rte.cl | 5 +- .../core/ConvertFToU_Rushort_sat_rtn.cl | 5 +- .../core/ConvertFToU_Rushort_sat_rtp.cl | 5 +- .../core/ConvertFToU_Rushort_sat_rtz.cl | 5 +- .../test/binding/core/ConvertSToF_Rdouble.cl | 3 +- .../binding/core/ConvertSToF_Rdouble16.cl | 3 +- .../binding/core/ConvertSToF_Rdouble16_rte.cl | 3 +- .../binding/core/ConvertSToF_Rdouble16_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rdouble16_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rdouble16_rtz.cl | 3 +- .../test/binding/core/ConvertSToF_Rdouble2.cl | 3 +- .../binding/core/ConvertSToF_Rdouble2_rte.cl | 3 +- .../binding/core/ConvertSToF_Rdouble2_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rdouble2_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rdouble2_rtz.cl | 3 +- .../test/binding/core/ConvertSToF_Rdouble3.cl | 3 +- .../binding/core/ConvertSToF_Rdouble3_rte.cl | 3 +- .../binding/core/ConvertSToF_Rdouble3_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rdouble3_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rdouble3_rtz.cl | 3 +- .../test/binding/core/ConvertSToF_Rdouble4.cl | 3 +- .../binding/core/ConvertSToF_Rdouble4_rte.cl | 3 +- .../binding/core/ConvertSToF_Rdouble4_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rdouble4_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rdouble4_rtz.cl | 3 +- .../test/binding/core/ConvertSToF_Rdouble8.cl | 3 +- .../binding/core/ConvertSToF_Rdouble8_rte.cl | 3 +- .../binding/core/ConvertSToF_Rdouble8_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rdouble8_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rdouble8_rtz.cl | 3 +- .../binding/core/ConvertSToF_Rdouble_rte.cl | 3 +- .../binding/core/ConvertSToF_Rdouble_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rdouble_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rdouble_rtz.cl | 3 +- .../test/binding/core/ConvertSToF_Rfloat.cl | 3 +- .../test/binding/core/ConvertSToF_Rfloat16.cl | 3 +- .../binding/core/ConvertSToF_Rfloat16_rte.cl | 3 +- .../binding/core/ConvertSToF_Rfloat16_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rfloat16_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rfloat16_rtz.cl | 3 +- .../test/binding/core/ConvertSToF_Rfloat2.cl | 3 +- .../binding/core/ConvertSToF_Rfloat2_rte.cl | 3 +- .../binding/core/ConvertSToF_Rfloat2_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rfloat2_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rfloat2_rtz.cl | 3 +- .../test/binding/core/ConvertSToF_Rfloat3.cl | 3 +- .../binding/core/ConvertSToF_Rfloat3_rte.cl | 3 +- .../binding/core/ConvertSToF_Rfloat3_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rfloat3_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rfloat3_rtz.cl | 3 +- .../test/binding/core/ConvertSToF_Rfloat4.cl | 3 +- .../binding/core/ConvertSToF_Rfloat4_rte.cl | 3 +- .../binding/core/ConvertSToF_Rfloat4_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rfloat4_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rfloat4_rtz.cl | 3 +- .../test/binding/core/ConvertSToF_Rfloat8.cl | 3 +- .../binding/core/ConvertSToF_Rfloat8_rte.cl | 3 +- .../binding/core/ConvertSToF_Rfloat8_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rfloat8_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rfloat8_rtz.cl | 3 +- .../binding/core/ConvertSToF_Rfloat_rte.cl | 3 +- .../binding/core/ConvertSToF_Rfloat_rtn.cl | 3 +- .../binding/core/ConvertSToF_Rfloat_rtp.cl | 3 +- .../binding/core/ConvertSToF_Rfloat_rtz.cl | 3 +- libclc/test/binding/core/ConvertSToF_Rhalf.cl | 11 ++-- .../test/binding/core/ConvertSToF_Rhalf16.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf16_rte.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf16_rtn.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf16_rtp.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf16_rtz.cl | 11 ++-- .../test/binding/core/ConvertSToF_Rhalf2.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf2_rte.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf2_rtn.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf2_rtp.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf2_rtz.cl | 11 ++-- .../test/binding/core/ConvertSToF_Rhalf3.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf3_rte.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf3_rtn.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf3_rtp.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf3_rtz.cl | 11 ++-- .../test/binding/core/ConvertSToF_Rhalf4.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf4_rte.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf4_rtn.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf4_rtp.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf4_rtz.cl | 11 ++-- .../test/binding/core/ConvertSToF_Rhalf8.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf8_rte.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf8_rtn.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf8_rtp.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf8_rtz.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf_rte.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf_rtn.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf_rtp.cl | 11 ++-- .../binding/core/ConvertSToF_Rhalf_rtz.cl | 11 ++-- .../test/binding/core/ConvertUToF_Rdouble.cl | 3 +- .../binding/core/ConvertUToF_Rdouble16.cl | 3 +- .../binding/core/ConvertUToF_Rdouble16_rte.cl | 3 +- .../binding/core/ConvertUToF_Rdouble16_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rdouble16_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rdouble16_rtz.cl | 3 +- .../test/binding/core/ConvertUToF_Rdouble2.cl | 3 +- .../binding/core/ConvertUToF_Rdouble2_rte.cl | 3 +- .../binding/core/ConvertUToF_Rdouble2_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rdouble2_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rdouble2_rtz.cl | 3 +- .../test/binding/core/ConvertUToF_Rdouble3.cl | 3 +- .../binding/core/ConvertUToF_Rdouble3_rte.cl | 3 +- .../binding/core/ConvertUToF_Rdouble3_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rdouble3_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rdouble3_rtz.cl | 3 +- .../test/binding/core/ConvertUToF_Rdouble4.cl | 3 +- .../binding/core/ConvertUToF_Rdouble4_rte.cl | 3 +- .../binding/core/ConvertUToF_Rdouble4_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rdouble4_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rdouble4_rtz.cl | 3 +- .../test/binding/core/ConvertUToF_Rdouble8.cl | 3 +- .../binding/core/ConvertUToF_Rdouble8_rte.cl | 3 +- .../binding/core/ConvertUToF_Rdouble8_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rdouble8_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rdouble8_rtz.cl | 3 +- .../binding/core/ConvertUToF_Rdouble_rte.cl | 3 +- .../binding/core/ConvertUToF_Rdouble_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rdouble_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rdouble_rtz.cl | 3 +- .../test/binding/core/ConvertUToF_Rfloat.cl | 3 +- .../test/binding/core/ConvertUToF_Rfloat16.cl | 3 +- .../binding/core/ConvertUToF_Rfloat16_rte.cl | 3 +- .../binding/core/ConvertUToF_Rfloat16_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rfloat16_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rfloat16_rtz.cl | 3 +- .../test/binding/core/ConvertUToF_Rfloat2.cl | 3 +- .../binding/core/ConvertUToF_Rfloat2_rte.cl | 3 +- .../binding/core/ConvertUToF_Rfloat2_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rfloat2_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rfloat2_rtz.cl | 3 +- .../test/binding/core/ConvertUToF_Rfloat3.cl | 3 +- .../binding/core/ConvertUToF_Rfloat3_rte.cl | 3 +- .../binding/core/ConvertUToF_Rfloat3_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rfloat3_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rfloat3_rtz.cl | 3 +- .../test/binding/core/ConvertUToF_Rfloat4.cl | 3 +- .../binding/core/ConvertUToF_Rfloat4_rte.cl | 3 +- .../binding/core/ConvertUToF_Rfloat4_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rfloat4_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rfloat4_rtz.cl | 3 +- .../test/binding/core/ConvertUToF_Rfloat8.cl | 3 +- .../binding/core/ConvertUToF_Rfloat8_rte.cl | 3 +- .../binding/core/ConvertUToF_Rfloat8_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rfloat8_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rfloat8_rtz.cl | 3 +- .../binding/core/ConvertUToF_Rfloat_rte.cl | 3 +- .../binding/core/ConvertUToF_Rfloat_rtn.cl | 3 +- .../binding/core/ConvertUToF_Rfloat_rtp.cl | 3 +- .../binding/core/ConvertUToF_Rfloat_rtz.cl | 3 +- libclc/test/binding/core/ConvertUToF_Rhalf.cl | 11 ++-- .../test/binding/core/ConvertUToF_Rhalf16.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf16_rte.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf16_rtn.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf16_rtp.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf16_rtz.cl | 11 ++-- .../test/binding/core/ConvertUToF_Rhalf2.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf2_rte.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf2_rtn.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf2_rtp.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf2_rtz.cl | 11 ++-- .../test/binding/core/ConvertUToF_Rhalf3.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf3_rte.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf3_rtn.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf3_rtp.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf3_rtz.cl | 11 ++-- .../test/binding/core/ConvertUToF_Rhalf4.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf4_rte.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf4_rtn.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf4_rtp.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf4_rtz.cl | 11 ++-- .../test/binding/core/ConvertUToF_Rhalf8.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf8_rte.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf8_rtn.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf8_rtp.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf8_rtz.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf_rte.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf_rtn.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf_rtp.cl | 11 ++-- .../binding/core/ConvertUToF_Rhalf_rtz.cl | 11 ++-- libclc/test/binding/core/Dot.cl | 13 ++-- libclc/test/binding/core/FConvert_Rdouble.cl | 5 +- .../test/binding/core/FConvert_Rdouble16.cl | 5 +- .../binding/core/FConvert_Rdouble16_rte.cl | 5 +- .../binding/core/FConvert_Rdouble16_rtn.cl | 5 +- .../binding/core/FConvert_Rdouble16_rtp.cl | 5 +- .../binding/core/FConvert_Rdouble16_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rdouble2.cl | 5 +- .../binding/core/FConvert_Rdouble2_rte.cl | 5 +- .../binding/core/FConvert_Rdouble2_rtn.cl | 5 +- .../binding/core/FConvert_Rdouble2_rtp.cl | 5 +- .../binding/core/FConvert_Rdouble2_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rdouble3.cl | 5 +- .../binding/core/FConvert_Rdouble3_rte.cl | 5 +- .../binding/core/FConvert_Rdouble3_rtn.cl | 5 +- .../binding/core/FConvert_Rdouble3_rtp.cl | 5 +- .../binding/core/FConvert_Rdouble3_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rdouble4.cl | 5 +- .../binding/core/FConvert_Rdouble4_rte.cl | 5 +- .../binding/core/FConvert_Rdouble4_rtn.cl | 5 +- .../binding/core/FConvert_Rdouble4_rtp.cl | 5 +- .../binding/core/FConvert_Rdouble4_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rdouble8.cl | 5 +- .../binding/core/FConvert_Rdouble8_rte.cl | 5 +- .../binding/core/FConvert_Rdouble8_rtn.cl | 5 +- .../binding/core/FConvert_Rdouble8_rtp.cl | 5 +- .../binding/core/FConvert_Rdouble8_rtz.cl | 5 +- .../test/binding/core/FConvert_Rdouble_rte.cl | 5 +- .../test/binding/core/FConvert_Rdouble_rtn.cl | 5 +- .../test/binding/core/FConvert_Rdouble_rtp.cl | 5 +- .../test/binding/core/FConvert_Rdouble_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rfloat.cl | 5 +- libclc/test/binding/core/FConvert_Rfloat16.cl | 5 +- .../binding/core/FConvert_Rfloat16_rte.cl | 5 +- .../binding/core/FConvert_Rfloat16_rtn.cl | 5 +- .../binding/core/FConvert_Rfloat16_rtp.cl | 5 +- .../binding/core/FConvert_Rfloat16_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rfloat2.cl | 5 +- .../test/binding/core/FConvert_Rfloat2_rte.cl | 5 +- .../test/binding/core/FConvert_Rfloat2_rtn.cl | 5 +- .../test/binding/core/FConvert_Rfloat2_rtp.cl | 5 +- .../test/binding/core/FConvert_Rfloat2_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rfloat3.cl | 5 +- .../test/binding/core/FConvert_Rfloat3_rte.cl | 5 +- .../test/binding/core/FConvert_Rfloat3_rtn.cl | 5 +- .../test/binding/core/FConvert_Rfloat3_rtp.cl | 5 +- .../test/binding/core/FConvert_Rfloat3_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rfloat4.cl | 5 +- .../test/binding/core/FConvert_Rfloat4_rte.cl | 5 +- .../test/binding/core/FConvert_Rfloat4_rtn.cl | 5 +- .../test/binding/core/FConvert_Rfloat4_rtp.cl | 5 +- .../test/binding/core/FConvert_Rfloat4_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rfloat8.cl | 5 +- .../test/binding/core/FConvert_Rfloat8_rte.cl | 5 +- .../test/binding/core/FConvert_Rfloat8_rtn.cl | 5 +- .../test/binding/core/FConvert_Rfloat8_rtp.cl | 5 +- .../test/binding/core/FConvert_Rfloat8_rtz.cl | 5 +- .../test/binding/core/FConvert_Rfloat_rte.cl | 5 +- .../test/binding/core/FConvert_Rfloat_rtn.cl | 5 +- .../test/binding/core/FConvert_Rfloat_rtp.cl | 5 +- .../test/binding/core/FConvert_Rfloat_rtz.cl | 5 +- libclc/test/binding/core/FConvert_Rhalf.cl | 7 ++- libclc/test/binding/core/FConvert_Rhalf16.cl | 7 ++- .../test/binding/core/FConvert_Rhalf16_rte.cl | 7 ++- .../test/binding/core/FConvert_Rhalf16_rtn.cl | 7 ++- .../test/binding/core/FConvert_Rhalf16_rtp.cl | 7 ++- .../test/binding/core/FConvert_Rhalf16_rtz.cl | 7 ++- libclc/test/binding/core/FConvert_Rhalf2.cl | 7 ++- .../test/binding/core/FConvert_Rhalf2_rte.cl | 7 ++- .../test/binding/core/FConvert_Rhalf2_rtn.cl | 7 ++- .../test/binding/core/FConvert_Rhalf2_rtp.cl | 7 ++- .../test/binding/core/FConvert_Rhalf2_rtz.cl | 7 ++- libclc/test/binding/core/FConvert_Rhalf3.cl | 7 ++- .../test/binding/core/FConvert_Rhalf3_rte.cl | 7 ++- .../test/binding/core/FConvert_Rhalf3_rtn.cl | 7 ++- .../test/binding/core/FConvert_Rhalf3_rtp.cl | 7 ++- .../test/binding/core/FConvert_Rhalf3_rtz.cl | 7 ++- libclc/test/binding/core/FConvert_Rhalf4.cl | 7 ++- .../test/binding/core/FConvert_Rhalf4_rte.cl | 7 ++- .../test/binding/core/FConvert_Rhalf4_rtn.cl | 7 ++- .../test/binding/core/FConvert_Rhalf4_rtp.cl | 7 ++- .../test/binding/core/FConvert_Rhalf4_rtz.cl | 7 ++- libclc/test/binding/core/FConvert_Rhalf8.cl | 7 ++- .../test/binding/core/FConvert_Rhalf8_rte.cl | 7 ++- .../test/binding/core/FConvert_Rhalf8_rtn.cl | 7 ++- .../test/binding/core/FConvert_Rhalf8_rtp.cl | 7 ++- .../test/binding/core/FConvert_Rhalf8_rtz.cl | 7 ++- .../test/binding/core/FConvert_Rhalf_rte.cl | 7 ++- .../test/binding/core/FConvert_Rhalf_rtn.cl | 7 ++- .../test/binding/core/FConvert_Rhalf_rtp.cl | 7 ++- .../test/binding/core/FConvert_Rhalf_rtz.cl | 7 ++- libclc/test/binding/core/FOrdEqual.cl | 15 ++--- libclc/test/binding/core/FOrdGreaterThan.cl | 15 ++--- .../test/binding/core/FOrdGreaterThanEqual.cl | 15 ++--- libclc/test/binding/core/FOrdLessThan.cl | 15 ++--- libclc/test/binding/core/FOrdLessThanEqual.cl | 15 ++--- libclc/test/binding/core/FOrdNotEqual.cl | 15 ++--- libclc/test/binding/core/FUnordEqual.cl | 15 ++--- libclc/test/binding/core/FUnordGreaterThan.cl | 15 ++--- .../binding/core/FUnordGreaterThanEqual.cl | 15 ++--- libclc/test/binding/core/FUnordLessThan.cl | 15 ++--- .../test/binding/core/FUnordLessThanEqual.cl | 15 ++--- libclc/test/binding/core/FUnordNotEqual.cl | 15 ++--- libclc/test/binding/core/GroupAsyncCopy.cl | 27 ++++---- libclc/test/binding/core/GroupWaitEvents.cl | 3 +- libclc/test/binding/core/IsFinite.cl | 15 ++--- libclc/test/binding/core/IsInf.cl | 15 ++--- libclc/test/binding/core/IsNan.cl | 15 ++--- libclc/test/binding/core/IsNormal.cl | 15 ++--- libclc/test/binding/core/LessOrGreater.cl | 15 ++--- libclc/test/binding/core/MemoryBarrier.cl | 3 +- libclc/test/binding/core/Ordered.cl | 15 ++--- libclc/test/binding/core/SConvert_Rchar.cl | 3 +- libclc/test/binding/core/SConvert_Rchar16.cl | 3 +- .../test/binding/core/SConvert_Rchar16_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rchar2.cl | 3 +- .../test/binding/core/SConvert_Rchar2_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rchar3.cl | 3 +- .../test/binding/core/SConvert_Rchar3_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rchar4.cl | 3 +- .../test/binding/core/SConvert_Rchar4_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rchar8.cl | 3 +- .../test/binding/core/SConvert_Rchar8_sat.cl | 3 +- .../test/binding/core/SConvert_Rchar_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rint.cl | 3 +- libclc/test/binding/core/SConvert_Rint16.cl | 3 +- .../test/binding/core/SConvert_Rint16_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rint2.cl | 3 +- .../test/binding/core/SConvert_Rint2_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rint3.cl | 3 +- .../test/binding/core/SConvert_Rint3_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rint4.cl | 3 +- .../test/binding/core/SConvert_Rint4_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rint8.cl | 3 +- .../test/binding/core/SConvert_Rint8_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rint_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rlong.cl | 3 +- libclc/test/binding/core/SConvert_Rlong16.cl | 3 +- .../test/binding/core/SConvert_Rlong16_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rlong2.cl | 3 +- .../test/binding/core/SConvert_Rlong2_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rlong3.cl | 3 +- .../test/binding/core/SConvert_Rlong3_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rlong4.cl | 3 +- .../test/binding/core/SConvert_Rlong4_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rlong8.cl | 3 +- .../test/binding/core/SConvert_Rlong8_sat.cl | 3 +- .../test/binding/core/SConvert_Rlong_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rshort.cl | 3 +- libclc/test/binding/core/SConvert_Rshort16.cl | 3 +- .../binding/core/SConvert_Rshort16_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rshort2.cl | 3 +- .../test/binding/core/SConvert_Rshort2_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rshort3.cl | 3 +- .../test/binding/core/SConvert_Rshort3_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rshort4.cl | 3 +- .../test/binding/core/SConvert_Rshort4_sat.cl | 3 +- libclc/test/binding/core/SConvert_Rshort8.cl | 3 +- .../test/binding/core/SConvert_Rshort8_sat.cl | 3 +- .../test/binding/core/SConvert_Rshort_sat.cl | 3 +- .../binding/core/SatConvertSToU_Ruchar.cl | 3 +- .../binding/core/SatConvertSToU_Ruchar16.cl | 3 +- .../binding/core/SatConvertSToU_Ruchar2.cl | 3 +- .../binding/core/SatConvertSToU_Ruchar3.cl | 3 +- .../binding/core/SatConvertSToU_Ruchar4.cl | 3 +- .../binding/core/SatConvertSToU_Ruchar8.cl | 3 +- .../test/binding/core/SatConvertSToU_Ruint.cl | 3 +- .../binding/core/SatConvertSToU_Ruint16.cl | 3 +- .../binding/core/SatConvertSToU_Ruint2.cl | 3 +- .../binding/core/SatConvertSToU_Ruint3.cl | 3 +- .../binding/core/SatConvertSToU_Ruint4.cl | 3 +- .../binding/core/SatConvertSToU_Ruint8.cl | 3 +- .../binding/core/SatConvertSToU_Rulong.cl | 3 +- .../binding/core/SatConvertSToU_Rulong16.cl | 3 +- .../binding/core/SatConvertSToU_Rulong2.cl | 3 +- .../binding/core/SatConvertSToU_Rulong3.cl | 3 +- .../binding/core/SatConvertSToU_Rulong4.cl | 3 +- .../binding/core/SatConvertSToU_Rulong8.cl | 3 +- .../binding/core/SatConvertSToU_Rushort.cl | 3 +- .../binding/core/SatConvertSToU_Rushort16.cl | 3 +- .../binding/core/SatConvertSToU_Rushort2.cl | 3 +- .../binding/core/SatConvertSToU_Rushort3.cl | 3 +- .../binding/core/SatConvertSToU_Rushort4.cl | 3 +- .../binding/core/SatConvertSToU_Rushort8.cl | 3 +- .../test/binding/core/SatConvertUToS_Rchar.cl | 3 +- .../binding/core/SatConvertUToS_Rchar16.cl | 3 +- .../binding/core/SatConvertUToS_Rchar2.cl | 3 +- .../binding/core/SatConvertUToS_Rchar3.cl | 3 +- .../binding/core/SatConvertUToS_Rchar4.cl | 3 +- .../binding/core/SatConvertUToS_Rchar8.cl | 3 +- .../test/binding/core/SatConvertUToS_Rint.cl | 3 +- .../binding/core/SatConvertUToS_Rint16.cl | 3 +- .../test/binding/core/SatConvertUToS_Rint2.cl | 3 +- .../test/binding/core/SatConvertUToS_Rint3.cl | 3 +- .../test/binding/core/SatConvertUToS_Rint4.cl | 3 +- .../test/binding/core/SatConvertUToS_Rint8.cl | 3 +- .../test/binding/core/SatConvertUToS_Rlong.cl | 3 +- .../binding/core/SatConvertUToS_Rlong16.cl | 3 +- .../binding/core/SatConvertUToS_Rlong2.cl | 3 +- .../binding/core/SatConvertUToS_Rlong3.cl | 3 +- .../binding/core/SatConvertUToS_Rlong4.cl | 3 +- .../binding/core/SatConvertUToS_Rlong8.cl | 3 +- .../binding/core/SatConvertUToS_Rshort.cl | 3 +- .../binding/core/SatConvertUToS_Rshort16.cl | 3 +- .../binding/core/SatConvertUToS_Rshort2.cl | 3 +- .../binding/core/SatConvertUToS_Rshort3.cl | 3 +- .../binding/core/SatConvertUToS_Rshort4.cl | 3 +- .../binding/core/SatConvertUToS_Rshort8.cl | 3 +- libclc/test/binding/core/SignBitSet.cl | 15 ++--- libclc/test/binding/core/UConvert_Ruchar.cl | 3 +- libclc/test/binding/core/UConvert_Ruchar16.cl | 3 +- .../binding/core/UConvert_Ruchar16_sat.cl | 3 +- libclc/test/binding/core/UConvert_Ruchar2.cl | 3 +- .../test/binding/core/UConvert_Ruchar2_sat.cl | 3 +- libclc/test/binding/core/UConvert_Ruchar3.cl | 3 +- .../test/binding/core/UConvert_Ruchar3_sat.cl | 3 +- libclc/test/binding/core/UConvert_Ruchar4.cl | 3 +- .../test/binding/core/UConvert_Ruchar4_sat.cl | 3 +- libclc/test/binding/core/UConvert_Ruchar8.cl | 3 +- .../test/binding/core/UConvert_Ruchar8_sat.cl | 3 +- .../test/binding/core/UConvert_Ruchar_sat.cl | 3 +- libclc/test/binding/core/UConvert_Ruint.cl | 3 +- libclc/test/binding/core/UConvert_Ruint16.cl | 3 +- .../test/binding/core/UConvert_Ruint16_sat.cl | 3 +- libclc/test/binding/core/UConvert_Ruint2.cl | 3 +- .../test/binding/core/UConvert_Ruint2_sat.cl | 3 +- libclc/test/binding/core/UConvert_Ruint3.cl | 3 +- .../test/binding/core/UConvert_Ruint3_sat.cl | 3 +- libclc/test/binding/core/UConvert_Ruint4.cl | 3 +- .../test/binding/core/UConvert_Ruint4_sat.cl | 3 +- libclc/test/binding/core/UConvert_Ruint8.cl | 3 +- .../test/binding/core/UConvert_Ruint8_sat.cl | 3 +- .../test/binding/core/UConvert_Ruint_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rulong.cl | 3 +- libclc/test/binding/core/UConvert_Rulong16.cl | 3 +- .../binding/core/UConvert_Rulong16_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rulong2.cl | 3 +- .../test/binding/core/UConvert_Rulong2_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rulong3.cl | 3 +- .../test/binding/core/UConvert_Rulong3_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rulong4.cl | 3 +- .../test/binding/core/UConvert_Rulong4_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rulong8.cl | 3 +- .../test/binding/core/UConvert_Rulong8_sat.cl | 3 +- .../test/binding/core/UConvert_Rulong_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rushort.cl | 3 +- .../test/binding/core/UConvert_Rushort16.cl | 3 +- .../binding/core/UConvert_Rushort16_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rushort2.cl | 3 +- .../binding/core/UConvert_Rushort2_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rushort3.cl | 3 +- .../binding/core/UConvert_Rushort3_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rushort4.cl | 3 +- .../binding/core/UConvert_Rushort4_sat.cl | 3 +- libclc/test/binding/core/UConvert_Rushort8.cl | 3 +- .../binding/core/UConvert_Rushort8_sat.cl | 3 +- .../test/binding/core/UConvert_Rushort_sat.cl | 3 +- libclc/test/binding/core/Unordered.cl | 15 ++--- libclc/test/binding/core/VectorTimesScalar.cl | 13 ++-- libclc/test/binding/ocl/acos.cl | 15 ++--- libclc/test/binding/ocl/acosh.cl | 15 ++--- libclc/test/binding/ocl/acospi.cl | 15 ++--- libclc/test/binding/ocl/asin.cl | 15 ++--- libclc/test/binding/ocl/asinh.cl | 15 ++--- libclc/test/binding/ocl/asinpi.cl | 15 ++--- libclc/test/binding/ocl/atan.cl | 15 ++--- libclc/test/binding/ocl/atan2.cl | 15 ++--- libclc/test/binding/ocl/atan2pi.cl | 15 ++--- libclc/test/binding/ocl/atanh.cl | 15 ++--- libclc/test/binding/ocl/atanpi.cl | 15 ++--- libclc/test/binding/ocl/bitselect.cl | 15 ++--- libclc/test/binding/ocl/cbrt.cl | 15 ++--- libclc/test/binding/ocl/ceil.cl | 15 ++--- libclc/test/binding/ocl/clz.cl | 3 +- libclc/test/binding/ocl/copysign.cl | 15 ++--- libclc/test/binding/ocl/cos.cl | 15 ++--- libclc/test/binding/ocl/cosh.cl | 15 ++--- libclc/test/binding/ocl/cospi.cl | 15 ++--- libclc/test/binding/ocl/cross.cl | 7 ++- libclc/test/binding/ocl/ctz.cl | 3 +- libclc/test/binding/ocl/degrees.cl | 15 ++--- libclc/test/binding/ocl/distance.cl | 11 ++-- libclc/test/binding/ocl/erf.cl | 15 ++--- libclc/test/binding/ocl/erfc.cl | 15 ++--- libclc/test/binding/ocl/exp.cl | 15 ++--- libclc/test/binding/ocl/exp10.cl | 15 ++--- libclc/test/binding/ocl/exp2.cl | 15 ++--- libclc/test/binding/ocl/expm1.cl | 15 ++--- libclc/test/binding/ocl/fabs.cl | 15 ++--- libclc/test/binding/ocl/fast_distance.cl | 3 +- libclc/test/binding/ocl/fast_length.cl | 3 +- libclc/test/binding/ocl/fast_normalize.cl | 3 +- libclc/test/binding/ocl/fclamp.cl | 15 ++--- libclc/test/binding/ocl/fdim.cl | 15 ++--- libclc/test/binding/ocl/floor.cl | 15 ++--- libclc/test/binding/ocl/fma.cl | 15 ++--- libclc/test/binding/ocl/fmax.cl | 15 ++--- libclc/test/binding/ocl/fmax_common.cl | 15 ++--- libclc/test/binding/ocl/fmin.cl | 15 ++--- libclc/test/binding/ocl/fmin_common.cl | 15 ++--- libclc/test/binding/ocl/fmod.cl | 15 ++--- libclc/test/binding/ocl/fract.cl | 39 ++++++------ libclc/test/binding/ocl/frexp.cl | 39 ++++++------ libclc/test/binding/ocl/half_cos.cl | 3 +- libclc/test/binding/ocl/half_divide.cl | 3 +- libclc/test/binding/ocl/half_exp.cl | 3 +- libclc/test/binding/ocl/half_exp10.cl | 3 +- libclc/test/binding/ocl/half_exp2.cl | 3 +- libclc/test/binding/ocl/half_log.cl | 3 +- libclc/test/binding/ocl/half_log10.cl | 3 +- libclc/test/binding/ocl/half_log2.cl | 3 +- libclc/test/binding/ocl/half_powr.cl | 3 +- libclc/test/binding/ocl/half_recip.cl | 3 +- libclc/test/binding/ocl/half_rsqrt.cl | 3 +- libclc/test/binding/ocl/half_sin.cl | 3 +- libclc/test/binding/ocl/half_sqrt.cl | 3 +- libclc/test/binding/ocl/half_tan.cl | 3 +- libclc/test/binding/ocl/hypot.cl | 15 ++--- libclc/test/binding/ocl/ilogb.cl | 15 ++--- libclc/test/binding/ocl/ldexp.cl | 27 ++++---- libclc/test/binding/ocl/length.cl | 11 ++-- libclc/test/binding/ocl/lgamma.cl | 15 ++--- libclc/test/binding/ocl/lgamma_r.cl | 39 ++++++------ libclc/test/binding/ocl/log.cl | 15 ++--- libclc/test/binding/ocl/log10.cl | 15 ++--- libclc/test/binding/ocl/log1p.cl | 15 ++--- libclc/test/binding/ocl/log2.cl | 15 ++--- libclc/test/binding/ocl/logb.cl | 15 ++--- libclc/test/binding/ocl/mad.cl | 15 ++--- libclc/test/binding/ocl/maxmag.cl | 15 ++--- libclc/test/binding/ocl/minmag.cl | 15 ++--- libclc/test/binding/ocl/mix.cl | 15 ++--- libclc/test/binding/ocl/modf.cl | 39 ++++++------ libclc/test/binding/ocl/nan.cl | 27 ++++---- libclc/test/binding/ocl/native_cos.cl | 3 +- libclc/test/binding/ocl/native_divide.cl | 3 +- libclc/test/binding/ocl/native_exp.cl | 3 +- libclc/test/binding/ocl/native_exp10.cl | 3 +- libclc/test/binding/ocl/native_exp2.cl | 3 +- libclc/test/binding/ocl/native_log.cl | 3 +- libclc/test/binding/ocl/native_log10.cl | 3 +- libclc/test/binding/ocl/native_log2.cl | 3 +- libclc/test/binding/ocl/native_powr.cl | 3 +- libclc/test/binding/ocl/native_recip.cl | 3 +- libclc/test/binding/ocl/native_rsqrt.cl | 3 +- libclc/test/binding/ocl/native_sin.cl | 3 +- libclc/test/binding/ocl/native_sqrt.cl | 3 +- libclc/test/binding/ocl/native_tan.cl | 3 +- libclc/test/binding/ocl/nextafter.cl | 15 ++--- libclc/test/binding/ocl/normalize.cl | 11 ++-- libclc/test/binding/ocl/popcount.cl | 3 +- libclc/test/binding/ocl/pow.cl | 15 ++--- libclc/test/binding/ocl/pown.cl | 15 ++--- libclc/test/binding/ocl/powr.cl | 15 ++--- libclc/test/binding/ocl/prefetch.cl | 15 ++--- libclc/test/binding/ocl/radians.cl | 15 ++--- libclc/test/binding/ocl/remainder.cl | 15 ++--- libclc/test/binding/ocl/remquo.cl | 39 ++++++------ libclc/test/binding/ocl/rint.cl | 15 ++--- libclc/test/binding/ocl/rootn.cl | 15 ++--- libclc/test/binding/ocl/rotate.cl | 3 +- libclc/test/binding/ocl/round.cl | 15 ++--- libclc/test/binding/ocl/rsqrt.cl | 15 ++--- libclc/test/binding/ocl/s_abs.cl | 3 +- libclc/test/binding/ocl/s_abs_diff.cl | 3 +- libclc/test/binding/ocl/s_add_sat.cl | 3 +- libclc/test/binding/ocl/s_clamp.cl | 3 +- libclc/test/binding/ocl/s_hadd.cl | 3 +- libclc/test/binding/ocl/s_mad24.cl | 3 +- libclc/test/binding/ocl/s_mad_hi.cl | 3 +- libclc/test/binding/ocl/s_mad_sat.cl | 3 +- libclc/test/binding/ocl/s_max.cl | 3 +- libclc/test/binding/ocl/s_min.cl | 3 +- libclc/test/binding/ocl/s_mul24.cl | 3 +- libclc/test/binding/ocl/s_mul_hi.cl | 3 +- libclc/test/binding/ocl/s_rhadd.cl | 3 +- libclc/test/binding/ocl/s_sub_sat.cl | 3 +- libclc/test/binding/ocl/s_upsample.cl | 3 +- libclc/test/binding/ocl/select.cl | 27 ++++---- libclc/test/binding/ocl/shuffle.cl | 35 ++++++----- libclc/test/binding/ocl/shuffle2.cl | 35 ++++++----- libclc/test/binding/ocl/sign.cl | 15 ++--- libclc/test/binding/ocl/sin.cl | 15 ++--- libclc/test/binding/ocl/sincos.cl | 39 ++++++------ libclc/test/binding/ocl/sinh.cl | 15 ++--- libclc/test/binding/ocl/sinpi.cl | 15 ++--- libclc/test/binding/ocl/smoothstep.cl | 15 ++--- libclc/test/binding/ocl/sqrt.cl | 15 ++--- libclc/test/binding/ocl/step.cl | 15 ++--- libclc/test/binding/ocl/tan.cl | 15 ++--- libclc/test/binding/ocl/tanh.cl | 15 ++--- libclc/test/binding/ocl/tanpi.cl | 15 ++--- libclc/test/binding/ocl/tgamma.cl | 15 ++--- libclc/test/binding/ocl/trunc.cl | 15 ++--- libclc/test/binding/ocl/u_abs.cl | 3 +- libclc/test/binding/ocl/u_abs_diff.cl | 3 +- libclc/test/binding/ocl/u_add_sat.cl | 3 +- libclc/test/binding/ocl/u_clamp.cl | 3 +- libclc/test/binding/ocl/u_hadd.cl | 3 +- libclc/test/binding/ocl/u_mad24.cl | 3 +- libclc/test/binding/ocl/u_mad_hi.cl | 3 +- libclc/test/binding/ocl/u_mad_sat.cl | 3 +- libclc/test/binding/ocl/u_max.cl | 3 +- libclc/test/binding/ocl/u_min.cl | 3 +- libclc/test/binding/ocl/u_mul24.cl | 3 +- libclc/test/binding/ocl/u_mul_hi.cl | 3 +- libclc/test/binding/ocl/u_rhadd.cl | 3 +- libclc/test/binding/ocl/u_sub_sat.cl | 3 +- libclc/test/binding/ocl/u_upsample.cl | 3 +- libclc/test/binding/ocl/vload_half.cl | 11 ++-- .../test/binding/ocl/vload_halfn_Rfloat16.cl | 11 ++-- .../test/binding/ocl/vload_halfn_Rfloat2.cl | 11 ++-- .../test/binding/ocl/vload_halfn_Rfloat3.cl | 11 ++-- .../test/binding/ocl/vload_halfn_Rfloat4.cl | 11 ++-- .../test/binding/ocl/vload_halfn_Rfloat8.cl | 11 ++-- .../test/binding/ocl/vloada_halfn_Rfloat16.cl | 11 ++-- .../test/binding/ocl/vloada_halfn_Rfloat2.cl | 11 ++-- .../test/binding/ocl/vloada_halfn_Rfloat3.cl | 11 ++-- .../test/binding/ocl/vloada_halfn_Rfloat4.cl | 11 ++-- .../test/binding/ocl/vloada_halfn_Rfloat8.cl | 11 ++-- libclc/test/binding/ocl/vloadn_Rchar16.cl | 3 +- libclc/test/binding/ocl/vloadn_Rchar2.cl | 3 +- libclc/test/binding/ocl/vloadn_Rchar3.cl | 3 +- libclc/test/binding/ocl/vloadn_Rchar4.cl | 3 +- libclc/test/binding/ocl/vloadn_Rchar8.cl | 3 +- libclc/test/binding/ocl/vloadn_Rdouble16.cl | 3 +- libclc/test/binding/ocl/vloadn_Rdouble2.cl | 3 +- libclc/test/binding/ocl/vloadn_Rdouble3.cl | 3 +- libclc/test/binding/ocl/vloadn_Rdouble4.cl | 3 +- libclc/test/binding/ocl/vloadn_Rdouble8.cl | 3 +- libclc/test/binding/ocl/vloadn_Rfloat16.cl | 3 +- libclc/test/binding/ocl/vloadn_Rfloat2.cl | 3 +- libclc/test/binding/ocl/vloadn_Rfloat3.cl | 3 +- libclc/test/binding/ocl/vloadn_Rfloat4.cl | 3 +- libclc/test/binding/ocl/vloadn_Rfloat8.cl | 3 +- libclc/test/binding/ocl/vloadn_Rhalf16.cl | 11 ++-- libclc/test/binding/ocl/vloadn_Rhalf2.cl | 11 ++-- libclc/test/binding/ocl/vloadn_Rhalf3.cl | 11 ++-- libclc/test/binding/ocl/vloadn_Rhalf4.cl | 11 ++-- libclc/test/binding/ocl/vloadn_Rhalf8.cl | 11 ++-- libclc/test/binding/ocl/vloadn_Rint16.cl | 3 +- libclc/test/binding/ocl/vloadn_Rint2.cl | 3 +- libclc/test/binding/ocl/vloadn_Rint3.cl | 3 +- libclc/test/binding/ocl/vloadn_Rint4.cl | 3 +- libclc/test/binding/ocl/vloadn_Rint8.cl | 3 +- libclc/test/binding/ocl/vloadn_Rlong16.cl | 3 +- libclc/test/binding/ocl/vloadn_Rlong2.cl | 3 +- libclc/test/binding/ocl/vloadn_Rlong3.cl | 3 +- libclc/test/binding/ocl/vloadn_Rlong4.cl | 3 +- libclc/test/binding/ocl/vloadn_Rlong8.cl | 3 +- libclc/test/binding/ocl/vloadn_Rshort16.cl | 3 +- libclc/test/binding/ocl/vloadn_Rshort2.cl | 3 +- libclc/test/binding/ocl/vloadn_Rshort3.cl | 3 +- libclc/test/binding/ocl/vloadn_Rshort4.cl | 3 +- libclc/test/binding/ocl/vloadn_Rshort8.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruchar16.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruchar2.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruchar3.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruchar4.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruchar8.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruint16.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruint2.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruint3.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruint4.cl | 3 +- libclc/test/binding/ocl/vloadn_Ruint8.cl | 3 +- libclc/test/binding/ocl/vloadn_Rulong16.cl | 3 +- libclc/test/binding/ocl/vloadn_Rulong2.cl | 3 +- libclc/test/binding/ocl/vloadn_Rulong3.cl | 3 +- libclc/test/binding/ocl/vloadn_Rulong4.cl | 3 +- libclc/test/binding/ocl/vloadn_Rulong8.cl | 3 +- libclc/test/binding/ocl/vloadn_Rushort16.cl | 3 +- libclc/test/binding/ocl/vloadn_Rushort2.cl | 3 +- libclc/test/binding/ocl/vloadn_Rushort3.cl | 3 +- libclc/test/binding/ocl/vloadn_Rushort4.cl | 3 +- libclc/test/binding/ocl/vloadn_Rushort8.cl | 3 +- libclc/test/binding/ocl/vstore_half.cl | 15 ++--- libclc/test/binding/ocl/vstore_half_r.cl | 15 ++--- libclc/test/binding/ocl/vstore_halfn.cl | 63 ++++++++++--------- libclc/test/binding/ocl/vstore_halfn_r.cl | 63 ++++++++++--------- libclc/test/binding/ocl/vstorea_halfn.cl | 63 ++++++++++--------- libclc/test/binding/ocl/vstorea_halfn_r.cl | 63 ++++++++++--------- libclc/test/binding/ocl/vstoren.cl | 33 +++++----- libclc/test/lit.cfg.py | 23 +++++-- 1147 files changed, 4114 insertions(+), 2953 deletions(-) diff --git a/libclc/test/binding/core/All.cl b/libclc/test/binding/core/All.cl index e053cfc2ea4c7..1381e89984670 100644 --- a/libclc/test/binding/core/All.cl +++ b/libclc/test/binding/core/All.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/Any.cl b/libclc/test/binding/core/Any.cl index b55ae83f5de4c..94b2010e414ad 100644 --- a/libclc/test/binding/core/Any.cl +++ b/libclc/test/binding/core/Any.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/BitCount.cl b/libclc/test/binding/core/BitCount.cl index d360d7e63b205..dc1ec6c3cf654 100644 --- a/libclc/test/binding/core/BitCount.cl +++ b/libclc/test/binding/core/BitCount.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ControlBarrier.cl b/libclc/test/binding/core/ControlBarrier.cl index ea48cbba315ba..dba6f8f531d7d 100644 --- a/libclc/test/binding/core/ControlBarrier.cl +++ b/libclc/test/binding/core/ControlBarrier.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertFToS_Rchar.cl b/libclc/test/binding/core/ConvertFToS_Rchar.cl index cfcd52853e40e..a7782d6f10202 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16.cl b/libclc/test/binding/core/ConvertFToS_Rchar16.cl index 94785bc33cf70..59d7fc6876766 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar16_rte.cl index 09c60cb9c4875..47a2313386212 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar16_rtn.cl index 807532b3e6d95..471600f063879 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar16_rtp.cl index 99e0a63f0c163..8f18b5a935591 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar16_rtz.cl index 6bec949fe1bee..cea450ff2fd49 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16_sat.cl b/libclc/test/binding/core/ConvertFToS_Rchar16_sat.cl index 25417571153fa..a42dd59428983 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16_sat(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16_sat(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rte.cl index f7dd3e12d9170..e1c796ea0c3cf 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16_sat_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16_sat_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtn.cl index 6dd9972818e34..f918e8dcf361a 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16_sat_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16_sat_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtp.cl index a58baa3144df9..d0ee8e95459d4 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16_sat_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16_sat_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtz.cl index 033b50277049e..81d5e59e6c40f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar16_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar16_sat_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_ConvertFToS_Rchar16_sat_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rchar16_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2.cl b/libclc/test/binding/core/ConvertFToS_Rchar2.cl index 3eb3df95e7955..f4192d8e5d32f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar2_rte.cl index 3a6716e0417cc..a3eb22c4e3394 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar2_rtn.cl index 4777677d05465..1c8024f2ee6c0 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar2_rtp.cl index 57d4cfee79451..e6967ff4a5d81 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar2_rtz.cl index 8508ca109795a..5f662ae8a4044 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2_sat.cl b/libclc/test/binding/core/ConvertFToS_Rchar2_sat.cl index 824b7f2a312df..a6b52cb2e5be6 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2_sat(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2_sat(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rte.cl index 81c273930f344..ba47ff1389404 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2_sat_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2_sat_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtn.cl index d460177403b0b..5d5e06b616e0f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2_sat_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2_sat_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtp.cl index d192053ac9d9b..e9a6e05d8a63f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2_sat_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2_sat_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtz.cl index da40cbe795c6d..e835c1b8ed02f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar2_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar2_sat_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_ConvertFToS_Rchar2_sat_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rchar2_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3.cl b/libclc/test/binding/core/ConvertFToS_Rchar3.cl index 68528f2aca0d6..5af1c15633265 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar3_rte.cl index 86f265906c1ab..b70acc777a85e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar3_rtn.cl index 79e09d2fe52f2..ed35386ae8f1d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar3_rtp.cl index 07fc3a0a6e73d..118c0b04a21ea 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar3_rtz.cl index 58087c075b344..493057f81d633 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3_sat.cl b/libclc/test/binding/core/ConvertFToS_Rchar3_sat.cl index fc3e3fcbf6f0e..871e4e5e4f174 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3_sat(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3_sat(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rte.cl index 3515ee966fe18..20de2253e20bc 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3_sat_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3_sat_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtn.cl index 525b8cebeec20..4af10d0992252 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3_sat_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3_sat_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtp.cl index a46e1eb6252dc..25fbbb2c39585 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3_sat_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3_sat_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtz.cl index 2dd73bd5ee500..78fe4fb93530b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar3_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar3_sat_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_ConvertFToS_Rchar3_sat_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rchar3_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4.cl b/libclc/test/binding/core/ConvertFToS_Rchar4.cl index ee5416a907740..2b2e9301b7233 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar4_rte.cl index ca63cc3a11e6c..ecdd85ea5060d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar4_rtn.cl index 66ac0be9ba2c7..0b05006acf81a 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar4_rtp.cl index da55ec327190f..789d23357fe70 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar4_rtz.cl index b89a3763991dc..a670e373f9e27 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4_sat.cl b/libclc/test/binding/core/ConvertFToS_Rchar4_sat.cl index e4903dd7d7a0c..673bdc9196c74 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4_sat(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4_sat(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rte.cl index 459621551410f..92775ffa671af 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4_sat_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4_sat_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtn.cl index 65b0b510d4af5..d5235465f5c9c 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4_sat_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4_sat_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtp.cl index 961760268d4c0..82586b5f9dccf 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4_sat_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4_sat_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtz.cl index b43d6daf0788c..23ec08b224940 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar4_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar4_sat_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_ConvertFToS_Rchar4_sat_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rchar4_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8.cl b/libclc/test/binding/core/ConvertFToS_Rchar8.cl index 00fef6221be6c..7562f297ac179 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar8_rte.cl index 913a312fd763e..a77ee6030ebb4 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar8_rtn.cl index c24b1d880479c..6fe24c0502f17 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar8_rtp.cl index 97d37e9534457..880173fdeda6d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar8_rtz.cl index 85702cc2ec45f..5512cc31dc7da 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8_sat.cl b/libclc/test/binding/core/ConvertFToS_Rchar8_sat.cl index 72feddffe6640..fc1c8cd33a91c 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8_sat(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8_sat(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rte.cl index a50f77336394e..73e3a632a86c7 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8_sat_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8_sat_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtn.cl index 4d2d7debf1c6c..1285cd63a519d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8_sat_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8_sat_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtp.cl index f0571ef00ddfb..50cff17173de8 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8_sat_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8_sat_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtz.cl index 2b2952032170b..4f2977bae6d94 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar8_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar8_sat_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_ConvertFToS_Rchar8_sat_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rchar8_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar_rte.cl index 1385522557a31..680b3885a2ece 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar_rtn.cl index bcfbc176fd681..8f2f436568c4a 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar_rtp.cl index cbf1a4bae819c..4737f2006c514 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar_rtz.cl index 4e39858defdf0..ee4fbc09c9261 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar_sat.cl b/libclc/test/binding/core/ConvertFToS_Rchar_sat.cl index 6937b92f05816..e3cfaade9bc9d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar_sat(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar_sat(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rchar_sat_rte.cl index 697f3b7feb348..03e72b7dd4315 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar_sat_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar_sat_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtn.cl index be17ef9e6d40f..0ce74914bb17e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar_sat_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar_sat_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtp.cl index e7fad099f875a..90d80f0b72137 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar_sat_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar_sat_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtz.cl index b93d207b79de8..d2ea75f4f133d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rchar_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rchar_sat_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int8_t test___spirv_ConvertFToS_Rchar_sat_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rchar_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint.cl b/libclc/test/binding/core/ConvertFToS_Rint.cl index 9d1eb991c5887..84e019039c13e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16.cl b/libclc/test/binding/core/ConvertFToS_Rint16.cl index 7e21de80c5846..e09aed9628edf 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint16_rte.cl index 3c9cc33f2ce82..9ef62ccf2ef23 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint16_rtn.cl index 669a4366a368b..9fafaed7023b7 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint16_rtp.cl index 40684a21afde3..ed442e97b27c4 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint16_rtz.cl index 12a6be800df36..4942ae0519e0a 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16_sat.cl b/libclc/test/binding/core/ConvertFToS_Rint16_sat.cl index 00380c1cf0c39..f8a22a7162dfd 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16_sat(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16_sat(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint16_sat_rte.cl index 5ea0b829908d1..48d896b88f864 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16_sat_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16_sat_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtn.cl index f82cfab6b1cf2..c9b73397cd243 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16_sat_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16_sat_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtp.cl index 48b6b0a808d9d..cd6784e4c390b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16_sat_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16_sat_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtz.cl index f36f35a7adfa8..77408bfc048ec 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint16_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint16_sat_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ConvertFToS_Rint16_sat_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rint16_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2.cl b/libclc/test/binding/core/ConvertFToS_Rint2.cl index cda4d47514889..6d048647876aa 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint2_rte.cl index 45f4e6952a9b7..a1f532ee275c1 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint2_rtn.cl index afce1652a005b..5c3cde414580c 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint2_rtp.cl index 0476a4eb6936e..c516908d521eb 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint2_rtz.cl index 1da50493a8f85..798bdaebba1f1 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2_sat.cl b/libclc/test/binding/core/ConvertFToS_Rint2_sat.cl index 04851b5a956f1..c78c0a830f43b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2_sat(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2_sat(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint2_sat_rte.cl index 2452a76d9d38d..039ba84958129 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2_sat_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2_sat_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtn.cl index 316f80ca86b97..022e246df4784 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2_sat_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2_sat_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtp.cl index ebe8073a65f29..59c4e2fa55c54 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2_sat_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2_sat_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtz.cl index 47f5bd231af75..e5b22311c481b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint2_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint2_sat_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ConvertFToS_Rint2_sat_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rint2_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3.cl b/libclc/test/binding/core/ConvertFToS_Rint3.cl index d4f213f001f12..faa1555de4c34 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint3_rte.cl index 54310cb444bba..313c41f123ba8 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint3_rtn.cl index 91966b19c85b6..6391e3d78095b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint3_rtp.cl index 0135403edf11a..c28660096aeee 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint3_rtz.cl index dae00679418c2..286bfda68833e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3_sat.cl b/libclc/test/binding/core/ConvertFToS_Rint3_sat.cl index cffd66553a534..bd08b47a12cd4 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3_sat(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3_sat(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint3_sat_rte.cl index 0c54352ac2625..3f5ab02561589 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3_sat_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3_sat_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtn.cl index 0bf1359b8ee94..87437d1a88c70 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3_sat_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3_sat_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtp.cl index 7898cbebf8391..db6d923a38a24 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3_sat_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3_sat_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtz.cl index 70b11f1f8d7d2..fb1023d88200c 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint3_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint3_sat_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ConvertFToS_Rint3_sat_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rint3_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4.cl b/libclc/test/binding/core/ConvertFToS_Rint4.cl index c551d3ab6ccef..0a784a31a22ab 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint4_rte.cl index d49e7e2a7598c..05230202d8cb6 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint4_rtn.cl index d5896ba963a2d..063fd65121f92 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint4_rtp.cl index acd04fa8b0418..1637585817bde 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint4_rtz.cl index b37eb73bde7c9..590346bdbf0f7 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4_sat.cl b/libclc/test/binding/core/ConvertFToS_Rint4_sat.cl index c854cf1e72925..0e2ed914d31ab 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4_sat(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4_sat(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint4_sat_rte.cl index 9cd212c9d17ef..534884db5e3de 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4_sat_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4_sat_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtn.cl index 12af44ab2fe11..d5dc5aee988e0 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4_sat_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4_sat_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtp.cl index 24caf2b147037..6adc89add20c0 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4_sat_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4_sat_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtz.cl index 98056ec7f7509..6a61abb5b4255 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint4_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint4_sat_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ConvertFToS_Rint4_sat_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rint4_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8.cl b/libclc/test/binding/core/ConvertFToS_Rint8.cl index 475d7ac09ee95..9240e5b134b88 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint8_rte.cl index 4f45f0ab01588..2f671cac4f5cb 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint8_rtn.cl index c65f4de339025..5e1327a9bc4a4 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint8_rtp.cl index 1c18c3b54563a..06867536a16f4 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint8_rtz.cl index f7705ec2edec4..ccc84530348b2 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8_sat.cl b/libclc/test/binding/core/ConvertFToS_Rint8_sat.cl index 8fa8d3c170f7a..2a9e39c1f7fad 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8_sat(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8_sat(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint8_sat_rte.cl index 1d800916978ad..c67ee157ffd91 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8_sat_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8_sat_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtn.cl index c9d5d85a05e74..117b4daf04ac4 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8_sat_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8_sat_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtp.cl index 48bc0168cd8d1..9e193c128102f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8_sat_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8_sat_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtz.cl index a7d5c651b75c0..3503148990836 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint8_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint8_sat_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ConvertFToS_Rint8_sat_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rint8_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint_rte.cl index 628e406d6e998..d53f79c56224e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint_rtn.cl index f5fb634ce3387..a5d1f625151d0 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint_rtp.cl index 713a81232b460..8f3e55fd69f79 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint_rtz.cl index 06653745153c9..f3f5885852f9c 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint_sat.cl b/libclc/test/binding/core/ConvertFToS_Rint_sat.cl index 20e236b3a8d03..74e2d37a86c4c 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint_sat(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint_sat(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rint_sat_rte.cl index 37da99d35a58a..fce47c0b27302 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint_sat_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint_sat_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rint_sat_rtn.cl index 87f739e77b505..a7f8946d70044 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint_sat_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint_sat_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rint_sat_rtp.cl index 7a7639e8620f1..f985b4d29e1ab 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint_sat_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint_sat_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rint_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rint_sat_rtz.cl index 2f55954453ffc..4742aab73286d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rint_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rint_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rint_sat_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ConvertFToS_Rint_sat_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rint_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong.cl b/libclc/test/binding/core/ConvertFToS_Rlong.cl index af548cb8dbee7..964bdede29438 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16.cl b/libclc/test/binding/core/ConvertFToS_Rlong16.cl index 908068550155a..edca8d85c430d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong16_rte.cl index dab391b068f2b..c121682ad4a1e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong16_rtn.cl index 76b310b19d0fc..8717651c1e7c6 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong16_rtp.cl index ede460c7afada..6984c319e968e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong16_rtz.cl index f289706bcf9e8..6a7c1ebe06988 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16_sat.cl b/libclc/test/binding/core/ConvertFToS_Rlong16_sat.cl index e79cc83041f3a..b492a1e96573f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16_sat(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16_sat(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rte.cl index a7b12e04fa895..ecbcffbfd23f8 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16_sat_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16_sat_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtn.cl index 970a5c0c2cabc..a4a908f46ca4f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16_sat_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16_sat_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtp.cl index ac044c039cd8d..00064a41e45e3 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16_sat_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16_sat_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtz.cl index f8d2b3c882e1a..658c9cf2f651e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong16_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong16_sat_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int64_t test___spirv_ConvertFToS_Rlong16_sat_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rlong16_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2.cl b/libclc/test/binding/core/ConvertFToS_Rlong2.cl index c08c90b673b76..f66e1c31a5be9 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong2_rte.cl index 7fa4f79f08564..70cdc9ecb78e2 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong2_rtn.cl index 98ed17b843576..c554549f4f81b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong2_rtp.cl index edb67bb6fd295..d64f688407548 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong2_rtz.cl index 5cbe00475eff6..392b150d9f5a6 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2_sat.cl b/libclc/test/binding/core/ConvertFToS_Rlong2_sat.cl index c2300cfe957ce..4b3578ec3aeb8 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2_sat(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2_sat(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rte.cl index 2a985ff9c4c5d..d5a9ab4dd17d9 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2_sat_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2_sat_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtn.cl index f5c0ed7bf93f8..d9338281094d2 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2_sat_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2_sat_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtp.cl index 8a04092779cad..ca83365bfa99e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2_sat_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2_sat_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtz.cl index bfdae926f6291..3116dd2ed8360 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong2_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong2_sat_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int64_t test___spirv_ConvertFToS_Rlong2_sat_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rlong2_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3.cl b/libclc/test/binding/core/ConvertFToS_Rlong3.cl index 14f511969e5d9..3a2f42f3f7b6b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong3_rte.cl index d4a8dddc49d58..1c61e74e96e19 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong3_rtn.cl index 6b654d276a7c3..f5a4d4a1655ab 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong3_rtp.cl index 8d5a4ba52f35c..4fea28064f3f3 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong3_rtz.cl index 81df95d4ea5f8..362b0f19d7bc7 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3_sat.cl b/libclc/test/binding/core/ConvertFToS_Rlong3_sat.cl index b4c37f73188df..1de9c1013db0c 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3_sat(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3_sat(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rte.cl index 8f1ee7a9598a3..6f1928ad0f9b1 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3_sat_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3_sat_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtn.cl index 1e10575f93143..4ef70c1177edb 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3_sat_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3_sat_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtp.cl index a6e5251499788..aa7b9906aa28c 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3_sat_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3_sat_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtz.cl index 505c07605a4c7..13e5bdd607610 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong3_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong3_sat_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int64_t test___spirv_ConvertFToS_Rlong3_sat_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rlong3_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4.cl b/libclc/test/binding/core/ConvertFToS_Rlong4.cl index d03f6705881e3..5bb7eb73ac5c6 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong4_rte.cl index 85f51ed7558d9..9cd94a88dc5ba 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong4_rtn.cl index 6911dc5161734..e7a1168e02fdc 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong4_rtp.cl index c1094ff35c3e8..e1ea1961d1871 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong4_rtz.cl index 505edb9343536..4d6ac36760c8d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4_sat.cl b/libclc/test/binding/core/ConvertFToS_Rlong4_sat.cl index a311db57f6896..66968ff21d63e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4_sat(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4_sat(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rte.cl index d0e942644f994..c572eff0bfde5 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4_sat_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4_sat_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtn.cl index c23f42f60fa81..373267f4e29da 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4_sat_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4_sat_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtp.cl index 47da692d3dadb..5af8777b20406 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4_sat_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4_sat_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtz.cl index a98b41bb733b1..8bf383f1f5267 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong4_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong4_sat_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int64_t test___spirv_ConvertFToS_Rlong4_sat_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rlong4_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8.cl b/libclc/test/binding/core/ConvertFToS_Rlong8.cl index d11f5610cbd01..67ecd6b6cfd48 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong8_rte.cl index f418ed680e6e9..bce5b1e53430f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong8_rtn.cl index da551f0c3812c..88e8ed60b1a94 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong8_rtp.cl index 9bbf8745d20af..c43e691e2f1cd 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong8_rtz.cl index 3aef3b3c871db..81c1ca9adb50a 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8_sat.cl b/libclc/test/binding/core/ConvertFToS_Rlong8_sat.cl index 1885368b60401..b0d205d60195a 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8_sat(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8_sat(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rte.cl index efc1d6216310e..cad123721d15b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8_sat_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8_sat_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtn.cl index 412de17b545ed..c4db38ad1d405 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8_sat_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8_sat_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtp.cl index 616c2d5acb867..8427d7a49df4f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8_sat_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8_sat_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtz.cl index 2ef3748a27718..e48adcd683891 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong8_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong8_sat_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int64_t test___spirv_ConvertFToS_Rlong8_sat_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rlong8_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong_rte.cl index 2a99065d9a0c1..c5ad6a803318a 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong_rtn.cl index 625006f746300..e03d82c16fba1 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong_rtp.cl index e1844d75439dd..0a255c3277a4f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong_rtz.cl index af44c67a4d9bc..2d1fcec56f57e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong_sat.cl b/libclc/test/binding/core/ConvertFToS_Rlong_sat.cl index 855ce343419f2..e32335f680b84 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong_sat(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong_sat(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rlong_sat_rte.cl index 0ab048bbc0829..2bec058e80d9e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong_sat_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong_sat_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtn.cl index 0000d56b0e23a..85bbff38aaf82 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong_sat_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong_sat_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtp.cl index 4348dcbf46700..8c2743423c1ae 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong_sat_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong_sat_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtz.cl index 8e3b08aeaa8e5..27faf90e7f2da 100644 --- a/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rlong_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rlong_sat_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int64_t test___spirv_ConvertFToS_Rlong_sat_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rlong_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort.cl b/libclc/test/binding/core/ConvertFToS_Rshort.cl index 400e0794eeb7a..4bea886c9ac29 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16.cl b/libclc/test/binding/core/ConvertFToS_Rshort16.cl index ae5688f0d044c..707ffa7276054 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort16_rte.cl index 3230a38ea9731..2459c88f525cc 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort16_rtn.cl index a102494896314..a1a708be6f4f7 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort16_rtp.cl index 70935750d7e72..2f9804e73973f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort16_rtz.cl index e3f762e522dda..d38c9262b17c0 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16_sat.cl b/libclc/test/binding/core/ConvertFToS_Rshort16_sat.cl index cd8c27407d6cc..3f9d90b7c43d9 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16_sat(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16_sat(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rte.cl index 3cbec5d002a42..39579e4d2e664 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16_sat_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16_sat_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtn.cl index fc1438e24cf13..a6f5450ec5306 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16_sat_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16_sat_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtp.cl index fea7811b35fb9..c2de3b29769fe 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16_sat_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16_sat_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtz.cl index 1eeddbae89978..1e771a4eed755 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort16_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort16_sat_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int16_t test___spirv_ConvertFToS_Rshort16_sat_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToS_Rshort16_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2.cl b/libclc/test/binding/core/ConvertFToS_Rshort2.cl index 20fcb67ed7fd1..d1d5eaaf7712d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort2_rte.cl index 69773d180a08d..d10a5cfe7ee4e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort2_rtn.cl index 96854ac7f52a6..78f37968e7093 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort2_rtp.cl index 6f2b127f7baec..53768964c4bdb 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort2_rtz.cl index 6d00c85a7a994..5717d11351962 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2_sat.cl b/libclc/test/binding/core/ConvertFToS_Rshort2_sat.cl index b9bb7d10e43e9..9e1de74dc1a3b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2_sat(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2_sat(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rte.cl index 4254c5c8a5ecb..3300ccfb8cf01 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2_sat_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2_sat_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtn.cl index 702d0e4598a1f..5f19374c90495 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2_sat_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2_sat_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtp.cl index 64bd8becea078..04132097ad262 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2_sat_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2_sat_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtz.cl index 7aaa8ae94e0cb..82b7ebd247da2 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort2_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort2_sat_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int16_t test___spirv_ConvertFToS_Rshort2_sat_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToS_Rshort2_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3.cl b/libclc/test/binding/core/ConvertFToS_Rshort3.cl index a8673964813fd..1bc150e204f13 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort3_rte.cl index 12a1599e0f538..32cfefd52614b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort3_rtn.cl index bec051cf2af38..e3cfaf5899087 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort3_rtp.cl index 1a78302d7b529..485846b42c4a2 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort3_rtz.cl index cc6f5ce8b8fe7..22c97a91b9163 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3_sat.cl b/libclc/test/binding/core/ConvertFToS_Rshort3_sat.cl index 0d1cbba0d7f74..6670416510003 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3_sat(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3_sat(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rte.cl index ad4bfd1e656b9..4739345a43bf8 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3_sat_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3_sat_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtn.cl index cdd077f43a27a..e7d6ab42805f8 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3_sat_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3_sat_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtp.cl index aa3351e9472da..110a5bcf98abe 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3_sat_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3_sat_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtz.cl index 6b41465ecd99f..0d07d8cf168f6 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort3_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort3_sat_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int16_t test___spirv_ConvertFToS_Rshort3_sat_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToS_Rshort3_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4.cl b/libclc/test/binding/core/ConvertFToS_Rshort4.cl index 9110113ad1d8d..cafd1f93c8b02 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort4_rte.cl index 29d108db219a0..c7b8285e042d1 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort4_rtn.cl index ced7e29f859b5..2797ed128fe9d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort4_rtp.cl index e82d4a2a42cdd..896363cd12a2e 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort4_rtz.cl index fcef6dedc057e..1719b8f31c88c 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4_sat.cl b/libclc/test/binding/core/ConvertFToS_Rshort4_sat.cl index 83998385a752f..0eb8171f2abaa 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4_sat(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4_sat(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rte.cl index e39719783a0ab..06fb95081d156 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4_sat_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4_sat_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtn.cl index 396318ec9e4ed..70bd423635889 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4_sat_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4_sat_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtp.cl index 4909fd38fb04c..69e695f3f1b22 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4_sat_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4_sat_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtz.cl index 776e1e3bfbc86..c243a0029fc9d 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort4_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort4_sat_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int16_t test___spirv_ConvertFToS_Rshort4_sat_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToS_Rshort4_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8.cl b/libclc/test/binding/core/ConvertFToS_Rshort8.cl index 78e0326f2dcb0..97a4d3659dd86 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort8_rte.cl index 10fd9a620af45..6264a936e9b4b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort8_rtn.cl index c0ff62b4281cd..02b886ff34572 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort8_rtp.cl index 85891d8e5f499..7a64b1eac6fcd 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort8_rtz.cl index a909826dcc823..d7e277727d8d5 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8_sat.cl b/libclc/test/binding/core/ConvertFToS_Rshort8_sat.cl index 8e27fba0f7a2d..b62cf4f219159 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8_sat(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8_sat(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rte.cl index ec51e9bfe7136..05496099988a3 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8_sat_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8_sat_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtn.cl index af7126b8b415c..136f7637c59cd 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8_sat_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8_sat_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtp.cl index 48982d6df279f..f7cd05a4cd513 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8_sat_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8_sat_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtz.cl index 9e7260635fb1c..6dcf4c7eacbb8 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort8_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort8_sat_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int16_t test___spirv_ConvertFToS_Rshort8_sat_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToS_Rshort8_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort_rte.cl index 7dd4fd47e3da6..804a6ba96f092 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort_rtn.cl index 149b3688236eb..4037106641691 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort_rtp.cl index b42ae35938672..386c6d9e85440 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort_rtz.cl index c3fecad13a2ed..e53de7b5a2e1b 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort_sat.cl b/libclc/test/binding/core/ConvertFToS_Rshort_sat.cl index cf66c80db3faa..33d6f0a79d5ea 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort_sat.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort_sat(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort_sat(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort_sat_rte.cl b/libclc/test/binding/core/ConvertFToS_Rshort_sat_rte.cl index 92a8538b05a46..1f54c8a91c832 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort_sat_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort_sat_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtn.cl b/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtn.cl index abd225aee1c12..0c81ceeb14695 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort_sat_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort_sat_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtp.cl b/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtp.cl index 4d870850b3836..98ad311d241ba 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort_sat_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort_sat_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtz.cl b/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtz.cl index d9c83b2732777..f6508b99ca22f 100644 --- a/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToS_Rshort_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToS_Rshort_sat_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int16_t test___spirv_ConvertFToS_Rshort_sat_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToS_Rshort_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar.cl b/libclc/test/binding/core/ConvertFToU_Ruchar.cl index 13a7f72137dcc..18d66d2b6044c 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16.cl index cc0de8be6a630..a1250e55bb004 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16_rte.cl index 1342b510e3a33..3d0cc3ff28af7 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16_rtn.cl index c640ef6f18a96..317e7c78f24ce 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16_rtp.cl index 057ffc2be72b4..d33069f20e1a8 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16_rtz.cl index 8ef8d17152dc1..31e97bf914e9c 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat.cl index 96d99501c5659..cb088ede676b9 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16_sat(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16_sat(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rte.cl index 822264be9a29f..42f4e0beebc21 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16_sat_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16_sat_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtn.cl index 61d110c742265..8a8dffab41802 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16_sat_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16_sat_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtp.cl index 2a6eb6c5f4aac..85e797a081000 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16_sat_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16_sat_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtz.cl index e36a2f6e86df3..8d9e0df15a8e5 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar16_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar16_sat_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint8_t test___spirv_ConvertFToU_Ruchar16_sat_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar16_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2.cl index 579af7144cb93..ab08a63143c2f 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2_rte.cl index af463c515f524..bb5474af8a94b 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2_rtn.cl index 335412bd1641a..f94d8836cfc68 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2_rtp.cl index 88446903c5b24..ee3a26cf34a69 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2_rtz.cl index cc390697300c0..5493c41b4e8b4 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat.cl index a58a036d44d8d..19b4c9390e966 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2_sat(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2_sat(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rte.cl index fc830c010bdc7..5ac6b9eadea81 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2_sat_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2_sat_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtn.cl index 6712c45d0a43d..2893aac1dcd65 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2_sat_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2_sat_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtp.cl index 9672e065b34ae..ff84ce5a05cb3 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2_sat_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2_sat_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtz.cl index 419d817f03b29..545d95f492685 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar2_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar2_sat_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint8_t test___spirv_ConvertFToU_Ruchar2_sat_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar2_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3.cl index 3df5407f41cde..c1025577fd76e 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3_rte.cl index 0b2e60654e2bd..10ba4cec8bde7 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3_rtn.cl index 4274b340c6b77..5b22ce28ece78 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3_rtp.cl index e3b6479d8e911..9e10ecc11d5c0 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3_rtz.cl index 7c3fb74007c5d..e3dae327454ba 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat.cl index 68ae5c050294d..53edbf3c96d71 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3_sat(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3_sat(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rte.cl index 08bf0d02652f3..f80b6fe119550 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3_sat_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3_sat_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtn.cl index 65556f9429339..56848521989f6 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3_sat_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3_sat_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtp.cl index 8ce613be82afa..15b5f10a78ee3 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3_sat_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3_sat_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtz.cl index 071fa74e43692..b03fa2a3edd24 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar3_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar3_sat_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint8_t test___spirv_ConvertFToU_Ruchar3_sat_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar3_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4.cl index ccd1cb2b22e25..de7999d68f800 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4_rte.cl index 6799f27a04b05..d52cdca66d314 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4_rtn.cl index 2872517dd5fd1..cb0d954d265b7 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4_rtp.cl index 9b39e1d99d856..b8a65ce60a5f7 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4_rtz.cl index 1b26b64ed9a94..c2bea4ec9f49a 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat.cl index 9c912d2aa3cff..49f28b33a811b 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4_sat(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4_sat(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rte.cl index b6f22be1378f4..3dec764ef9095 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4_sat_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4_sat_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtn.cl index d8fa7195e9033..164c11be84a14 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4_sat_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4_sat_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtp.cl index 632e1801c60dd..cae4f4e90b941 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4_sat_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4_sat_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtz.cl index e93d5280b3efe..e00cba78f0d79 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar4_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar4_sat_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint8_t test___spirv_ConvertFToU_Ruchar4_sat_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar4_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8.cl index 70e65ddca1263..9ca4467f6ca9a 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8_rte.cl index 008171aa54175..5d744918aa619 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8_rtn.cl index 98e0e5f5f7f47..713dca9416506 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8_rtp.cl index 1894cb012c46f..b3280886c4773 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8_rtz.cl index f76e3616160f1..4041d270b2922 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat.cl index 01962de448f8f..30ed239f6cf3e 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8_sat(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8_sat(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rte.cl index f8858581ceb52..42584dd1163d3 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8_sat_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8_sat_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtn.cl index 6c91f22d27feb..635f4198ce0d0 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8_sat_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8_sat_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtp.cl index f6dadb3593d01..e5fcf55c1f832 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8_sat_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8_sat_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtz.cl index 8e0c4e0ef5e83..2f8b728188e49 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar8_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar8_sat_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint8_t test___spirv_ConvertFToU_Ruchar8_sat_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar8_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar_rte.cl index 781365b6a0b11..b73921804bb37 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar_rtn.cl index 3d23f3b5d19dd..cb75086ff0a88 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar_rtp.cl index 8f56190dba516..a7759205ffef0 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar_rtz.cl index 2996e041f9176..48078b768eae7 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruchar_sat.cl index ac7d484a53986..399bfb38f9e8a 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar_sat(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar_sat(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rte.cl index 9a2338c4483b3..b87e7313b9f88 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar_sat_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar_sat_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtn.cl index 44b57d33f8a87..8e4ec1c5bcd5a 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar_sat_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar_sat_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtp.cl index 364f7bcd9d8f8..affb8ce2d17e2 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar_sat_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar_sat_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtz.cl index 4d01fbe3a62ff..ba8e33248af87 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruchar_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruchar_sat_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint8_t test___spirv_ConvertFToU_Ruchar_sat_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruchar_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint.cl b/libclc/test/binding/core/ConvertFToU_Ruint.cl index f43dded81f3ef..efca04280aeed 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16.cl b/libclc/test/binding/core/ConvertFToU_Ruint16.cl index 1ab08214794d6..9f70a8941b9f3 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint16_rte.cl index 3889321750c11..f8386c4c805dd 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint16_rtn.cl index 30a1b91c385a3..9207ea6c0e74c 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint16_rtp.cl index 3cd6a36c52baf..a832f1b8f11e4 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint16_rtz.cl index 235f85f367bd4..4bd37e902d7b0 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruint16_sat.cl index e887301e1b1ec..92f5694ba94ea 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16_sat(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16_sat(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rte.cl index 02228637f4063..9d3ff43a78b43 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16_sat_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16_sat_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtn.cl index 915b96f10faba..e6d34a58571e1 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16_sat_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16_sat_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtp.cl index e27985cdaff36..1ce78331b69ee 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16_sat_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16_sat_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtz.cl index 017bafcdc498f..ff15b3edcb6f9 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint16_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint16_sat_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint32_t test___spirv_ConvertFToU_Ruint16_sat_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Ruint16_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2.cl b/libclc/test/binding/core/ConvertFToU_Ruint2.cl index 33b2ba59199f0..bb60c2ea418fb 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint2_rte.cl index dcf8d87d0d404..60d8995598042 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint2_rtn.cl index 7be91737130a8..a31eba8ecba06 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint2_rtp.cl index 8fd2950408ac5..85ba0e2559cbd 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint2_rtz.cl index adbbe1dfc868f..d965747e58078 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruint2_sat.cl index b3a36005af3cc..51cbc2d5b236f 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2_sat(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2_sat(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rte.cl index 9f20276ee51ad..b410fc21064cb 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2_sat_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2_sat_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtn.cl index 472cc5fc11cd3..d9fd987e03cf0 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2_sat_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2_sat_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtp.cl index 67fa8fd6f20e9..6af46ae5a6da6 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2_sat_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2_sat_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtz.cl index 9480e345fbdcf..fa469123d6490 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint2_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint2_sat_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint32_t test___spirv_ConvertFToU_Ruint2_sat_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Ruint2_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3.cl b/libclc/test/binding/core/ConvertFToU_Ruint3.cl index 48d9fece8e49a..5cf79ea31f023 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint3_rte.cl index dddddf489182c..7146434f5dd62 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint3_rtn.cl index f76695cab0844..b39f67cd2ca7a 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint3_rtp.cl index 9ee9f01188734..908a9dae0daeb 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint3_rtz.cl index 9556347f6e335..e0e7b9a25ed8a 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruint3_sat.cl index ccd082bd7334c..aa03d90a5ef08 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3_sat(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3_sat(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rte.cl index 413236f2c6acb..de2241d6ee2ff 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3_sat_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3_sat_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtn.cl index 4af0a3fca3183..c2c9c5e3ff77c 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3_sat_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3_sat_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtp.cl index 438231b90e22d..500ae290feea3 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3_sat_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3_sat_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtz.cl index 2ce08681d2b14..2088219b57fac 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint3_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint3_sat_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint32_t test___spirv_ConvertFToU_Ruint3_sat_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Ruint3_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4.cl b/libclc/test/binding/core/ConvertFToU_Ruint4.cl index 88560a2a8d1ad..b5b5f6463a88f 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint4_rte.cl index c0f374df392bc..ecbfe2cbfe250 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint4_rtn.cl index 3e08f4464652b..6a5f705876c00 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint4_rtp.cl index daa3aac403e52..52963cf67b08f 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint4_rtz.cl index 16f9bde963d48..a74cbc2368629 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruint4_sat.cl index f8791461d15b6..696eb491a554e 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4_sat(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4_sat(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rte.cl index 7f64c7da597fe..e073d370fd606 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4_sat_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4_sat_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtn.cl index 385b18f617437..fe3562c464ef4 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4_sat_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4_sat_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtp.cl index 0ee96222dadcc..bdabf83e8568c 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4_sat_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4_sat_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtz.cl index ea87c313dee60..9164b79c2e750 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint4_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint4_sat_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint32_t test___spirv_ConvertFToU_Ruint4_sat_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Ruint4_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8.cl b/libclc/test/binding/core/ConvertFToU_Ruint8.cl index db0f89a5c5fa6..161f58d2e61bf 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint8_rte.cl index 43da34fcea484..ca2add990e8a8 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint8_rtn.cl index 27d7dd74a9da2..3e90dc610feb7 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint8_rtp.cl index e2980b8104510..72d5e7725e9fb 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint8_rtz.cl index db7b4b49b50f4..697c157ea8817 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruint8_sat.cl index a6e75fef5e114..27b83523c6ba5 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8_sat(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8_sat(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rte.cl index 15366ee88a977..21c446ff035dc 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8_sat_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8_sat_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtn.cl index f87ae8b33e12a..e5950f325d623 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8_sat_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8_sat_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtp.cl index f92854c065d4b..af2215e9d2b3a 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8_sat_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8_sat_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtz.cl index 59070cd61de75..51452ebf773c2 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint8_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint8_sat_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint32_t test___spirv_ConvertFToU_Ruint8_sat_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Ruint8_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint_rte.cl index 448056dc94821..8cc9299e53239 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint_rtn.cl index a8e091cad22b3..104fac573234e 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint_rtp.cl index c5efa20065a86..ef2258cfe9c13 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint_rtz.cl index 7abe4d3443e6c..e9c5300c35b55 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint_sat.cl b/libclc/test/binding/core/ConvertFToU_Ruint_sat.cl index 09d092e9fee26..4df7254689067 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint_sat(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint_sat(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Ruint_sat_rte.cl index ae7372089f4db..dc41e326aa1c3 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint_sat_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint_sat_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtn.cl index 7c7480249c5b6..f6e0a9c550442 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint_sat_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint_sat_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtp.cl index d5691830a5ef3..d8de4ce5a5986 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint_sat_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint_sat_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtz.cl index 2471aa27cc43a..02a60fc75f3ce 100644 --- a/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Ruint_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Ruint_sat_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint32_t test___spirv_ConvertFToU_Ruint_sat_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Ruint_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong.cl b/libclc/test/binding/core/ConvertFToU_Rulong.cl index 86344c83276c3..4e2ec734be830 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16.cl b/libclc/test/binding/core/ConvertFToU_Rulong16.cl index d3655dadea671..7272bcba3e9eb 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong16_rte.cl index 907557ac4709f..b971dab88c835 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong16_rtn.cl index 8d0f636d56316..26c71a4d2139c 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong16_rtp.cl index f9c5b39714d84..23a1b54f76f2d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong16_rtz.cl index 9514aade02a79..0551ea95b3372 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16_sat.cl b/libclc/test/binding/core/ConvertFToU_Rulong16_sat.cl index 6cbb990b94840..a6a057d5a4e69 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16_sat(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16_sat(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rte.cl index e39928de8f799..339c8ba84b07d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16_sat_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16_sat_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtn.cl index 8a9fe774c607b..4623b9b8e7c25 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16_sat_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16_sat_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtp.cl index 7c8016dd36e4f..057cd963e495f 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16_sat_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16_sat_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtz.cl index 16568a8ad70a6..c347606786d7d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong16_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong16_sat_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint64_t test___spirv_ConvertFToU_Rulong16_sat_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rulong16_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2.cl b/libclc/test/binding/core/ConvertFToU_Rulong2.cl index 39f7766f0c571..79bdc6c60815f 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong2_rte.cl index 4a33000699a05..fbaf0206e1877 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong2_rtn.cl index d2610906cee3c..ef245c0fed02e 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong2_rtp.cl index 0f53bc0608fd2..1fe8d97eb434a 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong2_rtz.cl index b3771d307d3b3..9bc0b77882588 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2_sat.cl b/libclc/test/binding/core/ConvertFToU_Rulong2_sat.cl index 586c9201fd686..5b70ec327f0b9 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2_sat(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2_sat(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rte.cl index f60b92ad114cb..a64165f84de4f 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2_sat_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2_sat_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtn.cl index 880bd37afcc87..a5376f7272446 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2_sat_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2_sat_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtp.cl index ed656e8c03a29..c802b470cd2b8 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2_sat_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2_sat_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtz.cl index 785eb4243b934..fb22868a362bd 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong2_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong2_sat_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint64_t test___spirv_ConvertFToU_Rulong2_sat_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rulong2_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3.cl b/libclc/test/binding/core/ConvertFToU_Rulong3.cl index 728edbe218580..4993280da647a 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong3_rte.cl index 5f01142588d33..21a9cb6c4f906 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong3_rtn.cl index cc7ffd7478c28..dc318e47e3743 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong3_rtp.cl index 4ace0534fbb29..d025b6b02893d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong3_rtz.cl index bda00b207a01c..a3be082bf4824 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3_sat.cl b/libclc/test/binding/core/ConvertFToU_Rulong3_sat.cl index efa8b9beabc5b..87d48d690ac6d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3_sat(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3_sat(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rte.cl index 36c2edb73ae68..01659285c67be 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3_sat_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3_sat_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtn.cl index 39878d6a3feda..cef8a989ea3bc 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3_sat_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3_sat_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtp.cl index 9ed20934d24cd..c28c425652f67 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3_sat_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3_sat_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtz.cl index a80c63b817566..315946a13c413 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong3_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong3_sat_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint64_t test___spirv_ConvertFToU_Rulong3_sat_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rulong3_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4.cl b/libclc/test/binding/core/ConvertFToU_Rulong4.cl index 634db2d107bdf..20e9ee6452b9a 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong4_rte.cl index de04bd83e6810..38689390d3aa2 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong4_rtn.cl index 5d55f4582bcc8..b00c6c9442ae0 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong4_rtp.cl index 54b1d5cd30b8a..1706937921a7d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong4_rtz.cl index 310f4e55f63d6..896709034d21c 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4_sat.cl b/libclc/test/binding/core/ConvertFToU_Rulong4_sat.cl index c46e8f14e6ed2..e3d8896ff23f8 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4_sat(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4_sat(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rte.cl index 815e7f501359a..f816ae3717533 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4_sat_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4_sat_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtn.cl index a250649518e36..082a290870f4d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4_sat_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4_sat_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtp.cl index f0e855839d622..652892c9f955d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4_sat_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4_sat_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtz.cl index 86674eacab40d..c6c67b5ff5d5b 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong4_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong4_sat_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint64_t test___spirv_ConvertFToU_Rulong4_sat_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rulong4_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8.cl b/libclc/test/binding/core/ConvertFToU_Rulong8.cl index a2da1f19550ec..c4477d0279681 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong8_rte.cl index c95316c5d43e3..83190011834d8 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong8_rtn.cl index 5fc71f3eea1e2..cbe92bff49e8b 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong8_rtp.cl index c36cd860c439e..bfb31aa1fc030 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong8_rtz.cl index d318ba5e559d5..533b59a2b0b89 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8_sat.cl b/libclc/test/binding/core/ConvertFToU_Rulong8_sat.cl index b6c6892dadea2..7e5bbfce6c173 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8_sat(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8_sat(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rte.cl index d61ea5ed365ca..0333e71046974 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8_sat_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8_sat_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtn.cl index 697567bd696c0..b66f232fe7832 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8_sat_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8_sat_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtp.cl index 2742e1cef8625..e53dd1838e55c 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8_sat_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8_sat_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtz.cl index ab6f2424ee672..0d1c235579c3d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong8_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong8_sat_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint64_t test___spirv_ConvertFToU_Rulong8_sat_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rulong8_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong_rte.cl index e8ffb264ad46d..013af98866b7e 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong_rtn.cl index 40099058a3aae..22590b165254e 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong_rtp.cl index 498472261e650..44412c2057f54 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong_rtz.cl index 0511a4b1596a9..cd3f7816c05fb 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong_sat.cl b/libclc/test/binding/core/ConvertFToU_Rulong_sat.cl index a790e8ab57a75..98476f5b2c0f9 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong_sat(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong_sat(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rulong_sat_rte.cl index 88bf86e68fa81..9f1ecccac430f 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong_sat_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong_sat_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtn.cl index a9cd5e297abf2..be5d73b71eb5c 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong_sat_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong_sat_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtp.cl index c682717a80d5c..281a574f53dda 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong_sat_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong_sat_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtz.cl index 6ca6f036c2fa2..1171c055591f2 100644 --- a/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rulong_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rulong_sat_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint64_t test___spirv_ConvertFToU_Rulong_sat_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rulong_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort.cl b/libclc/test/binding/core/ConvertFToU_Rushort.cl index bd7da64b4c82b..6dd24d430a11e 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16.cl b/libclc/test/binding/core/ConvertFToU_Rushort16.cl index 4a37dd52f3425..b39a497b30166 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort16_rte.cl index 0202297446ff3..a1d48b00fbffe 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort16_rtn.cl index 9160f7826a4fb..dae97f298aadd 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort16_rtp.cl index 77d1f0dc10034..53939556cc314 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort16_rtz.cl index fe75b213a487e..8e2af77c17b3a 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16_sat.cl b/libclc/test/binding/core/ConvertFToU_Rushort16_sat.cl index 0d3a1e6c3c8dd..ab4a71b0588bb 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16_sat(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16_sat(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rte.cl index 8df564f8cecf4..2039fbd4a4b60 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16_sat_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16_sat_rte(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtn.cl index ecf2d42f9ce69..ff82353aa0f8a 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16_sat_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16_sat_rtn(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtp.cl index fb0825b4e4e58..220883eef4549 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16_sat_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16_sat_rtp(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtz.cl index c0ee64b387d84..f279d08683670 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort16_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort16_sat_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_uint16_t test___spirv_ConvertFToU_Rushort16_sat_rtz(__clc_vec16_fp16_t args_0) { return __spirv_ConvertFToU_Rushort16_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2.cl b/libclc/test/binding/core/ConvertFToU_Rushort2.cl index 9a35d6dd61700..5fc838113542d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort2_rte.cl index 3ada30caf39b8..861cfc4872e48 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort2_rtn.cl index eeb66623c15fe..903a789530d40 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort2_rtp.cl index afda31cbf278d..5d9f0fea4c809 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort2_rtz.cl index 22da977f51098..b75dfbf9b95b8 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2_sat.cl b/libclc/test/binding/core/ConvertFToU_Rushort2_sat.cl index e020ca3d621ed..da805c850ec4a 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2_sat(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2_sat(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rte.cl index e780a2c2a8be8..851f583b03467 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2_sat_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2_sat_rte(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtn.cl index aabb931902882..7556282549da1 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2_sat_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2_sat_rtn(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtp.cl index 4884e20d53eb2..65c23c28e12fd 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2_sat_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2_sat_rtp(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtz.cl index 1be74c090cca6..e76a562cd1b92 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort2_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort2_sat_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_uint16_t test___spirv_ConvertFToU_Rushort2_sat_rtz(__clc_vec2_fp16_t args_0) { return __spirv_ConvertFToU_Rushort2_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3.cl b/libclc/test/binding/core/ConvertFToU_Rushort3.cl index dfe659f5aac0b..2ec610b46e894 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort3_rte.cl index e2359adaea9f7..aa4f5bc7f5113 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort3_rtn.cl index b31184570be49..2e519adabf605 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort3_rtp.cl index d0ee3a37ede87..5bd3b1f0918b6 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort3_rtz.cl index 70601ca41091e..9400e1d9fde95 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3_sat.cl b/libclc/test/binding/core/ConvertFToU_Rushort3_sat.cl index bb0f861844e5b..0634633866ac3 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3_sat(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3_sat(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rte.cl index 2b2795c697312..788378876f340 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3_sat_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3_sat_rte(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtn.cl index ece5105f49756..1fb92268137bb 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3_sat_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3_sat_rtn(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtp.cl index f0bcaf87fa08e..f7a6351414558 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3_sat_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3_sat_rtp(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtz.cl index 0fb862ef74c0a..54cf0d835bc82 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort3_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort3_sat_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_uint16_t test___spirv_ConvertFToU_Rushort3_sat_rtz(__clc_vec3_fp16_t args_0) { return __spirv_ConvertFToU_Rushort3_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4.cl b/libclc/test/binding/core/ConvertFToU_Rushort4.cl index f335d1c9fbf16..40495e2ff39a4 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort4_rte.cl index ce21e36e765e4..c55ef8f25061e 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort4_rtn.cl index ad3ea67ff2f1d..77bb5d32aab56 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort4_rtp.cl index dddf0044959c8..bdca9a1b8e3bd 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort4_rtz.cl index dea97e0bedf03..7786bd6809e73 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4_sat.cl b/libclc/test/binding/core/ConvertFToU_Rushort4_sat.cl index dde76947dbc18..fd046f55bd7fe 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4_sat(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4_sat(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rte.cl index e9aec53e6f625..de01920860bf4 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4_sat_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4_sat_rte(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtn.cl index 1f04323f32799..3791f1ea44203 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4_sat_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4_sat_rtn(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtp.cl index 757398ff6a345..de65c6a0e4b28 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4_sat_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4_sat_rtp(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtz.cl index e2a26abf29db4..a137e0be8e680 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort4_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort4_sat_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_uint16_t test___spirv_ConvertFToU_Rushort4_sat_rtz(__clc_vec4_fp16_t args_0) { return __spirv_ConvertFToU_Rushort4_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8.cl b/libclc/test/binding/core/ConvertFToU_Rushort8.cl index 31d8edafc686b..1f243e27216c6 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort8_rte.cl index aaabd0c28a0a9..d2483016d527a 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort8_rtn.cl index 1b1496018fdd5..3a07eb1121789 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort8_rtp.cl index 1711d1f40a50b..ca916baec33bc 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort8_rtz.cl index 18e2f01556d3c..a2f26e7bfd6c3 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8_sat.cl b/libclc/test/binding/core/ConvertFToU_Rushort8_sat.cl index 1d7d8a2aa582b..56fcb20bb48bc 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8_sat(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8_sat(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rte.cl index de39a6a3f9281..9a30d2a836c04 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8_sat_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8_sat_rte(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtn.cl index 68b8d29a64ffb..c68b15940365c 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8_sat_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8_sat_rtn(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtp.cl index f756a1174be9f..1340e100db197 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8_sat_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8_sat_rtp(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtz.cl index 1e7e7d14afa7b..29b2c4ee4e20c 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort8_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort8_sat_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_uint16_t test___spirv_ConvertFToU_Rushort8_sat_rtz(__clc_vec8_fp16_t args_0) { return __spirv_ConvertFToU_Rushort8_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort_rte.cl index e0366b836a09e..951067b75b682 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort_rtn.cl index 91b2a057a9a07..707a6e67bcb63 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort_rtp.cl index 3c95b3ef45975..52bdd7ad2254d 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort_rtz.cl index 9add591bf9d2a..0aabd16935b49 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort_sat.cl b/libclc/test/binding/core/ConvertFToU_Rushort_sat.cl index 38d37064ea938..454216786ddf2 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort_sat.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort_sat(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort_sat(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort_sat(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort_sat_rte.cl b/libclc/test/binding/core/ConvertFToU_Rushort_sat_rte.cl index 5c6532f776d6a..3233cff347f87 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort_sat_rte.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort_sat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort_sat_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort_sat_rte(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort_sat_rte(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtn.cl b/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtn.cl index 9288446bd3b0e..12ec9105e0a36 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtn.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort_sat_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort_sat_rtn(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort_sat_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtp.cl b/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtp.cl index 9fbc95e310a6c..397fff6cc3887 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtp.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort_sat_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort_sat_rtp(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort_sat_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtz.cl b/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtz.cl index 2281a2d952447..cf9a93e3cda09 100644 --- a/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtz.cl +++ b/libclc/test/binding/core/ConvertFToU_Rushort_sat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ConvertFToU_Rushort_sat_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_uint16_t test___spirv_ConvertFToU_Rushort_sat_rtz(__clc_fp16_t args_0) { return __spirv_ConvertFToU_Rushort_sat_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble.cl b/libclc/test/binding/core/ConvertSToF_Rdouble.cl index 5464e8f17ba40..c25435b7eb83f 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble16.cl b/libclc/test/binding/core/ConvertSToF_Rdouble16.cl index 0a50034ee3ece..b1521a3ba9a48 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble16.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble16_rte.cl b/libclc/test/binding/core/ConvertSToF_Rdouble16_rte.cl index 7e103245454e4..83d91ede84d21 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble16_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble16_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rdouble16_rtn.cl index 971ce24c15a18..1add02f78f2d6 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble16_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble16_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rdouble16_rtp.cl index 7e6517443f9b3..6e3836c7c2431 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble16_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble16_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rdouble16_rtz.cl index 2e30e835811cb..543a45d3e40d1 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble16_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble2.cl b/libclc/test/binding/core/ConvertSToF_Rdouble2.cl index 7090111c4586b..03808bbf87a54 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble2.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble2_rte.cl b/libclc/test/binding/core/ConvertSToF_Rdouble2_rte.cl index eadd167fa2b50..0cbf1988f17b2 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble2_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble2_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rdouble2_rtn.cl index bfcb7adce2ceb..8940b05be2375 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble2_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble2_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rdouble2_rtp.cl index 8dc63e24e25d8..864a01a4ecaa4 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble2_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble2_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rdouble2_rtz.cl index 4be22f039663e..13e699abff3e9 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble2_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble3.cl b/libclc/test/binding/core/ConvertSToF_Rdouble3.cl index ea18d0d55eadc..db34ff11dfd24 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble3.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble3_rte.cl b/libclc/test/binding/core/ConvertSToF_Rdouble3_rte.cl index ea27fd728f2b1..dc1e2d700fc7b 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble3_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble3_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rdouble3_rtn.cl index 7146a22ce2a19..ed8b4abb2192c 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble3_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble3_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rdouble3_rtp.cl index d936cc86c623c..d72d24a96a98a 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble3_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble3_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rdouble3_rtz.cl index 0a9887c6afcd6..a7e6f3ca79538 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble3_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble4.cl b/libclc/test/binding/core/ConvertSToF_Rdouble4.cl index 9406ee3a667a5..bf72a30c6086f 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble4.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble4_rte.cl b/libclc/test/binding/core/ConvertSToF_Rdouble4_rte.cl index 0ed97a91c47c2..e547f340d220b 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble4_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble4_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rdouble4_rtn.cl index 283100f41d415..2717254002e36 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble4_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble4_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rdouble4_rtp.cl index 94450da59e5bf..ee59c0683a092 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble4_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble4_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rdouble4_rtz.cl index 4f86ea85ac5b4..10b27efcc8cf6 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble4_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble8.cl b/libclc/test/binding/core/ConvertSToF_Rdouble8.cl index 3d27264cf802f..4855751c365d5 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble8.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble8_rte.cl b/libclc/test/binding/core/ConvertSToF_Rdouble8_rte.cl index 33b4959310a79..0ee3aab7b98d8 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble8_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble8_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rdouble8_rtn.cl index 863a62495bf29..afc8bf9a3450c 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble8_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble8_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rdouble8_rtp.cl index 24f976a96ee65..037853253eaca 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble8_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble8_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rdouble8_rtz.cl index 726ef50ddb6f6..4bd8c7030ea4c 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble8_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble_rte.cl b/libclc/test/binding/core/ConvertSToF_Rdouble_rte.cl index 43861270ea9fe..0ed1a5ad0e4fe 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rdouble_rtn.cl index 5b7f269aa097b..209d6143c1ed4 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rdouble_rtp.cl index 7c4ec72568c52..1ba63516e9d41 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rdouble_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rdouble_rtz.cl index d0bbb5aeb853b..7afec690186ca 100644 --- a/libclc/test/binding/core/ConvertSToF_Rdouble_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rdouble_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat.cl b/libclc/test/binding/core/ConvertSToF_Rfloat.cl index 815fe8b86dc54..7bbc14a6db2df 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat16.cl b/libclc/test/binding/core/ConvertSToF_Rfloat16.cl index af7f81c860775..10e5b08f96ea8 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat16.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat16_rte.cl b/libclc/test/binding/core/ConvertSToF_Rfloat16_rte.cl index 0b4f893e549bf..b6d7dd8e33726 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat16_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat16_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rfloat16_rtn.cl index 6380bbc49c9db..609d73957395c 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat16_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat16_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rfloat16_rtp.cl index 4ae25172d7865..3f6366866ac9c 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat16_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat16_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rfloat16_rtz.cl index 3c7943a0354e8..9852fed8deb0e 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat16_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat2.cl b/libclc/test/binding/core/ConvertSToF_Rfloat2.cl index fee72d1a35aa7..2541f1d1810da 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat2.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat2_rte.cl b/libclc/test/binding/core/ConvertSToF_Rfloat2_rte.cl index 019c8ae9ae05c..f684200213af9 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat2_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat2_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rfloat2_rtn.cl index a7e7b61f71f39..7f817245206d1 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat2_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat2_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rfloat2_rtp.cl index 2d3857921e602..da2ecafc7f605 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat2_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat2_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rfloat2_rtz.cl index 114abb1f53a18..6477bb1194062 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat2_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat3.cl b/libclc/test/binding/core/ConvertSToF_Rfloat3.cl index 0ddd42c6a3dd9..c65076223098f 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat3.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat3_rte.cl b/libclc/test/binding/core/ConvertSToF_Rfloat3_rte.cl index 29e2ef3c104bf..6cd1e37d22462 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat3_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat3_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rfloat3_rtn.cl index 3aa53920c5372..afcd1ca56569e 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat3_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat3_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rfloat3_rtp.cl index 4ce43569859cd..b79423c3818a8 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat3_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat3_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rfloat3_rtz.cl index f4831b41351c6..c66391c1a4fa5 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat3_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat4.cl b/libclc/test/binding/core/ConvertSToF_Rfloat4.cl index 98d365b0969e6..bf86dbf8ed724 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat4.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat4_rte.cl b/libclc/test/binding/core/ConvertSToF_Rfloat4_rte.cl index b0a87e7f18583..991fc6d7b61bd 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat4_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat4_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rfloat4_rtn.cl index da523eeafe73a..534fe5228b5b6 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat4_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat4_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rfloat4_rtp.cl index fb756a12abe65..7c050a634cd85 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat4_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat4_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rfloat4_rtz.cl index 1caa94fd47fe9..dc00e2334c950 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat4_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat8.cl b/libclc/test/binding/core/ConvertSToF_Rfloat8.cl index ce015ab4a9846..0039be79d37b1 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat8.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat8_rte.cl b/libclc/test/binding/core/ConvertSToF_Rfloat8_rte.cl index aefdd329f8f3a..10c70f2ae248c 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat8_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat8_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rfloat8_rtn.cl index f258dec59f48c..28032c67aba46 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat8_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat8_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rfloat8_rtp.cl index 0964a08054079..5c07c998e1332 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat8_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat8_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rfloat8_rtz.cl index 7ec658c656ca4..cb7186e76af0c 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat8_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat_rte.cl b/libclc/test/binding/core/ConvertSToF_Rfloat_rte.cl index c7375948fb72d..6c55c7122fba2 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rfloat_rtn.cl index 6b86ff895861a..57bcf27dcc913 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rfloat_rtp.cl index e926e1657e4e9..37a70d71218ff 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rfloat_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rfloat_rtz.cl index 679ca7818deee..34196cc447b93 100644 --- a/libclc/test/binding/core/ConvertSToF_Rfloat_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rfloat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf.cl b/libclc/test/binding/core/ConvertSToF_Rhalf.cl index 782b83926bcdd..f3e2a9cf27001 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf(__clc_int8_t args_0) { return __spirv_ConvertSToF_Rhalf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf(__clc_int16_t args_0) { return __spirv_ConvertSToF_Rhalf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf(__clc_int32_t args_0) { return __spirv_ConvertSToF_Rhalf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf(__clc_int64_t args_0) { return __spirv_ConvertSToF_Rhalf(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf16.cl b/libclc/test/binding/core/ConvertSToF_Rhalf16.cl index 82c763b597020..485dac1947499 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf16.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf16.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16(__clc_vec16_int8_t args_0) { return __spirv_ConvertSToF_Rhalf16(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16(__clc_vec16_int16_t args_0) { return __spirv_ConvertSToF_Rhalf16(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16(__clc_vec16_int32_t args_0) { return __spirv_ConvertSToF_Rhalf16(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16(__clc_vec16_int64_t args_0) { return __spirv_ConvertSToF_Rhalf16(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf16_rte.cl b/libclc/test/binding/core/ConvertSToF_Rhalf16_rte.cl index 7ddafc37d128f..f483f7080f753 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf16_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf16_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rte(__clc_vec16_int8_t args_0) { return __spirv_ConvertSToF_Rhalf16_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rte(__clc_vec16_int16_t args_0) { return __spirv_ConvertSToF_Rhalf16_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rte(__clc_vec16_int32_t args_0) { return __spirv_ConvertSToF_Rhalf16_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rte(__clc_vec16_int64_t args_0) { return __spirv_ConvertSToF_Rhalf16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf16_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rhalf16_rtn.cl index ff6835afbd100..0581636f79650 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf16_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf16_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtn(__clc_vec16_int8_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtn(__clc_vec16_int16_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtn(__clc_vec16_int32_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtn(__clc_vec16_int64_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf16_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rhalf16_rtp.cl index da4207101f51d..ec8e5a98f7fd0 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf16_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf16_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtp(__clc_vec16_int8_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtp(__clc_vec16_int16_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtp(__clc_vec16_int32_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtp(__clc_vec16_int64_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf16_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rhalf16_rtz.cl index acdb5c04ff1cd..ad0fcc753334d 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf16_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf16_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtz(__clc_vec16_int8_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtz(__clc_vec16_int16_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtz(__clc_vec16_int32_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertSToF_Rhalf16_rtz(__clc_vec16_int64_t args_0) { return __spirv_ConvertSToF_Rhalf16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf2.cl b/libclc/test/binding/core/ConvertSToF_Rhalf2.cl index 52562b6f3ab1d..381f655fd8289 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf2.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf2.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2(__clc_vec2_int8_t args_0) { return __spirv_ConvertSToF_Rhalf2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2(__clc_vec2_int16_t args_0) { return __spirv_ConvertSToF_Rhalf2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2(__clc_vec2_int32_t args_0) { return __spirv_ConvertSToF_Rhalf2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2(__clc_vec2_int64_t args_0) { return __spirv_ConvertSToF_Rhalf2(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf2_rte.cl b/libclc/test/binding/core/ConvertSToF_Rhalf2_rte.cl index f8ac6031feb0c..72d02be2db934 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf2_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf2_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rte(__clc_vec2_int8_t args_0) { return __spirv_ConvertSToF_Rhalf2_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rte(__clc_vec2_int16_t args_0) { return __spirv_ConvertSToF_Rhalf2_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rte(__clc_vec2_int32_t args_0) { return __spirv_ConvertSToF_Rhalf2_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rte(__clc_vec2_int64_t args_0) { return __spirv_ConvertSToF_Rhalf2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf2_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rhalf2_rtn.cl index d58b20de94a46..af65ad7e8dc89 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf2_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf2_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtn(__clc_vec2_int8_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtn(__clc_vec2_int16_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtn(__clc_vec2_int32_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtn(__clc_vec2_int64_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf2_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rhalf2_rtp.cl index 36ef696351088..846c6de439c6c 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf2_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf2_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtp(__clc_vec2_int8_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtp(__clc_vec2_int16_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtp(__clc_vec2_int32_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtp(__clc_vec2_int64_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf2_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rhalf2_rtz.cl index 9280f42a5eba6..e7e8f5af5111c 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf2_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf2_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtz(__clc_vec2_int8_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtz(__clc_vec2_int16_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtz(__clc_vec2_int32_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertSToF_Rhalf2_rtz(__clc_vec2_int64_t args_0) { return __spirv_ConvertSToF_Rhalf2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf3.cl b/libclc/test/binding/core/ConvertSToF_Rhalf3.cl index 6ca7a38887dc2..0b8c6e9ba30fe 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf3.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf3.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3(__clc_vec3_int8_t args_0) { return __spirv_ConvertSToF_Rhalf3(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3(__clc_vec3_int16_t args_0) { return __spirv_ConvertSToF_Rhalf3(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3(__clc_vec3_int32_t args_0) { return __spirv_ConvertSToF_Rhalf3(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3(__clc_vec3_int64_t args_0) { return __spirv_ConvertSToF_Rhalf3(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf3_rte.cl b/libclc/test/binding/core/ConvertSToF_Rhalf3_rte.cl index f9781eb4ae87a..b2d1f40487656 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf3_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf3_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rte(__clc_vec3_int8_t args_0) { return __spirv_ConvertSToF_Rhalf3_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rte(__clc_vec3_int16_t args_0) { return __spirv_ConvertSToF_Rhalf3_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rte(__clc_vec3_int32_t args_0) { return __spirv_ConvertSToF_Rhalf3_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rte(__clc_vec3_int64_t args_0) { return __spirv_ConvertSToF_Rhalf3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf3_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rhalf3_rtn.cl index 144dd8808a872..b9f0b933b1048 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf3_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf3_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtn(__clc_vec3_int8_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtn(__clc_vec3_int16_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtn(__clc_vec3_int32_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtn(__clc_vec3_int64_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf3_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rhalf3_rtp.cl index c554eec11c8ea..7b8d530bf7ab1 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf3_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf3_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtp(__clc_vec3_int8_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtp(__clc_vec3_int16_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtp(__clc_vec3_int32_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtp(__clc_vec3_int64_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf3_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rhalf3_rtz.cl index 35b5e2a5f7f9f..6dcb1fd589cba 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf3_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf3_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtz(__clc_vec3_int8_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtz(__clc_vec3_int16_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtz(__clc_vec3_int32_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertSToF_Rhalf3_rtz(__clc_vec3_int64_t args_0) { return __spirv_ConvertSToF_Rhalf3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf4.cl b/libclc/test/binding/core/ConvertSToF_Rhalf4.cl index 33d35df6bd3e9..46e0ef4fd9021 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf4.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf4.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4(__clc_vec4_int8_t args_0) { return __spirv_ConvertSToF_Rhalf4(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4(__clc_vec4_int16_t args_0) { return __spirv_ConvertSToF_Rhalf4(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4(__clc_vec4_int32_t args_0) { return __spirv_ConvertSToF_Rhalf4(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4(__clc_vec4_int64_t args_0) { return __spirv_ConvertSToF_Rhalf4(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf4_rte.cl b/libclc/test/binding/core/ConvertSToF_Rhalf4_rte.cl index d97f0acfcc927..f0a57a685ebc0 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf4_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf4_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rte(__clc_vec4_int8_t args_0) { return __spirv_ConvertSToF_Rhalf4_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rte(__clc_vec4_int16_t args_0) { return __spirv_ConvertSToF_Rhalf4_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rte(__clc_vec4_int32_t args_0) { return __spirv_ConvertSToF_Rhalf4_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rte(__clc_vec4_int64_t args_0) { return __spirv_ConvertSToF_Rhalf4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf4_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rhalf4_rtn.cl index 5d269af100524..298937329156e 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf4_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf4_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtn(__clc_vec4_int8_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtn(__clc_vec4_int16_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtn(__clc_vec4_int32_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtn(__clc_vec4_int64_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf4_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rhalf4_rtp.cl index 20843de63fbf0..4aca02a1fe433 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf4_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf4_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtp(__clc_vec4_int8_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtp(__clc_vec4_int16_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtp(__clc_vec4_int32_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtp(__clc_vec4_int64_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf4_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rhalf4_rtz.cl index 6efb64f48c544..fb81c15bb358d 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf4_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf4_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtz(__clc_vec4_int8_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtz(__clc_vec4_int16_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtz(__clc_vec4_int32_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertSToF_Rhalf4_rtz(__clc_vec4_int64_t args_0) { return __spirv_ConvertSToF_Rhalf4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf8.cl b/libclc/test/binding/core/ConvertSToF_Rhalf8.cl index e83f4bc2f4900..2b5f1d2dbfadb 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf8.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf8.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8(__clc_vec8_int8_t args_0) { return __spirv_ConvertSToF_Rhalf8(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8(__clc_vec8_int16_t args_0) { return __spirv_ConvertSToF_Rhalf8(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8(__clc_vec8_int32_t args_0) { return __spirv_ConvertSToF_Rhalf8(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8(__clc_vec8_int64_t args_0) { return __spirv_ConvertSToF_Rhalf8(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf8_rte.cl b/libclc/test/binding/core/ConvertSToF_Rhalf8_rte.cl index 213d550812eae..401f68a9af01a 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf8_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf8_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rte(__clc_vec8_int8_t args_0) { return __spirv_ConvertSToF_Rhalf8_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rte(__clc_vec8_int16_t args_0) { return __spirv_ConvertSToF_Rhalf8_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rte(__clc_vec8_int32_t args_0) { return __spirv_ConvertSToF_Rhalf8_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rte(__clc_vec8_int64_t args_0) { return __spirv_ConvertSToF_Rhalf8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf8_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rhalf8_rtn.cl index 94d41121e72e9..27e376a4b7282 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf8_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf8_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtn(__clc_vec8_int8_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtn(__clc_vec8_int16_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtn(__clc_vec8_int32_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtn(__clc_vec8_int64_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf8_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rhalf8_rtp.cl index 2f2919595aa6a..9db85ea9705f0 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf8_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf8_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtp(__clc_vec8_int8_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtp(__clc_vec8_int16_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtp(__clc_vec8_int32_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtp(__clc_vec8_int64_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf8_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rhalf8_rtz.cl index 0faa2913edade..a85fbbb2606ee 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf8_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf8_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtz(__clc_vec8_int8_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtz(__clc_vec8_int16_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtz(__clc_vec8_int32_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertSToF_Rhalf8_rtz(__clc_vec8_int64_t args_0) { return __spirv_ConvertSToF_Rhalf8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf_rte.cl b/libclc/test/binding/core/ConvertSToF_Rhalf_rte.cl index 3871ed20568e6..ead4b403a8290 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf_rte.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rte(__clc_int8_t args_0) { return __spirv_ConvertSToF_Rhalf_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rte(__clc_int16_t args_0) { return __spirv_ConvertSToF_Rhalf_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rte(__clc_int32_t args_0) { return __spirv_ConvertSToF_Rhalf_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rte(__clc_int64_t args_0) { return __spirv_ConvertSToF_Rhalf_rte(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf_rtn.cl b/libclc/test/binding/core/ConvertSToF_Rhalf_rtn.cl index 62952fa722d0c..452db6d727459 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf_rtn.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtn(__clc_int8_t args_0) { return __spirv_ConvertSToF_Rhalf_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtn(__clc_int16_t args_0) { return __spirv_ConvertSToF_Rhalf_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtn(__clc_int32_t args_0) { return __spirv_ConvertSToF_Rhalf_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtn(__clc_int64_t args_0) { return __spirv_ConvertSToF_Rhalf_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf_rtp.cl b/libclc/test/binding/core/ConvertSToF_Rhalf_rtp.cl index e369c083d5084..1e3612883fcf5 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf_rtp.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtp(__clc_int8_t args_0) { return __spirv_ConvertSToF_Rhalf_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtp(__clc_int16_t args_0) { return __spirv_ConvertSToF_Rhalf_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtp(__clc_int32_t args_0) { return __spirv_ConvertSToF_Rhalf_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtp(__clc_int64_t args_0) { return __spirv_ConvertSToF_Rhalf_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertSToF_Rhalf_rtz.cl b/libclc/test/binding/core/ConvertSToF_Rhalf_rtz.cl index 41f7b07dedb2a..946a10cc1e401 100644 --- a/libclc/test/binding/core/ConvertSToF_Rhalf_rtz.cl +++ b/libclc/test/binding/core/ConvertSToF_Rhalf_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtz(__clc_int8_t args_0) { return __spirv_ConvertSToF_Rhalf_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtz(__clc_int16_t args_0) { return __spirv_ConvertSToF_Rhalf_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtz(__clc_int32_t args_0) { return __spirv_ConvertSToF_Rhalf_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertSToF_Rhalf_rtz(__clc_int64_t args_0) { return __spirv_ConvertSToF_Rhalf_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble.cl b/libclc/test/binding/core/ConvertUToF_Rdouble.cl index 8df40215de155..9082febada231 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble16.cl b/libclc/test/binding/core/ConvertUToF_Rdouble16.cl index 2d7425f88a3d6..1163e5c5a9832 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble16.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble16_rte.cl b/libclc/test/binding/core/ConvertUToF_Rdouble16_rte.cl index 89f3d2741c57d..105a17f08c82d 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble16_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble16_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rdouble16_rtn.cl index 000a710fc239e..3a0ca573df5c7 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble16_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble16_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rdouble16_rtp.cl index 9711c6d0232bc..a1f7098c17ca2 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble16_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble16_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rdouble16_rtz.cl index a5d77b9d95666..f38080e0ae208 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble16_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble2.cl b/libclc/test/binding/core/ConvertUToF_Rdouble2.cl index 746b811a5fcce..fbcc4ec56db79 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble2.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble2_rte.cl b/libclc/test/binding/core/ConvertUToF_Rdouble2_rte.cl index 295155eb455f1..d91949964c208 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble2_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble2_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rdouble2_rtn.cl index 0a5672611d6df..d4d0aaeb2db74 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble2_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble2_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rdouble2_rtp.cl index a05688482ff8d..8c578c9a7e2b9 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble2_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble2_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rdouble2_rtz.cl index 9f20134e39d8a..e0d2547cc9e80 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble2_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble3.cl b/libclc/test/binding/core/ConvertUToF_Rdouble3.cl index cbd6fe4977065..79618bddf146a 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble3.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble3_rte.cl b/libclc/test/binding/core/ConvertUToF_Rdouble3_rte.cl index 4874121846742..889155b195376 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble3_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble3_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rdouble3_rtn.cl index e8ab55ad69b11..fc2b71dc64f29 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble3_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble3_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rdouble3_rtp.cl index ef99f09b6b76d..6931dafa8fad9 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble3_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble3_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rdouble3_rtz.cl index 50219cca0a21d..94b81f9b604c9 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble3_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble4.cl b/libclc/test/binding/core/ConvertUToF_Rdouble4.cl index 78c438fe986bd..48b4ebbade735 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble4.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble4_rte.cl b/libclc/test/binding/core/ConvertUToF_Rdouble4_rte.cl index 35ff941557ff7..bda39e6ff409d 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble4_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble4_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rdouble4_rtn.cl index 61227c3ae9989..419af43e7b82d 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble4_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble4_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rdouble4_rtp.cl index cd2eb2e11f9e6..ecc71c979bad5 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble4_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble4_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rdouble4_rtz.cl index 37eda113c9f9d..0163b538fd28b 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble4_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble8.cl b/libclc/test/binding/core/ConvertUToF_Rdouble8.cl index 3a4ffe6687391..4c2dfffad643c 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble8.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble8_rte.cl b/libclc/test/binding/core/ConvertUToF_Rdouble8_rte.cl index dc733b421c63b..059606a1cddb2 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble8_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble8_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rdouble8_rtn.cl index b98b442b0a8dc..77e94c01eff35 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble8_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble8_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rdouble8_rtp.cl index baf79a77e2e11..12956f29a7b4f 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble8_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble8_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rdouble8_rtz.cl index 414395310ae76..e8a4a1772690f 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble8_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble_rte.cl b/libclc/test/binding/core/ConvertUToF_Rdouble_rte.cl index 6580ade6ff767..a575d76ff55a5 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rdouble_rtn.cl index 1cd4f96a3ca18..45248d15b3111 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rdouble_rtp.cl index 7d27c9edcaa2c..b053529e60f2a 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rdouble_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rdouble_rtz.cl index 103d025cfc9a4..aded5c7889051 100644 --- a/libclc/test/binding/core/ConvertUToF_Rdouble_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rdouble_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat.cl b/libclc/test/binding/core/ConvertUToF_Rfloat.cl index b42ed0c1c6853..164f2810af374 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat16.cl b/libclc/test/binding/core/ConvertUToF_Rfloat16.cl index fa6363c7412ef..22dfc08af16c7 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat16.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat16_rte.cl b/libclc/test/binding/core/ConvertUToF_Rfloat16_rte.cl index 04987affa3fd1..329c2ab456d39 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat16_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat16_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rfloat16_rtn.cl index 94434e61be841..6e7f0a9cdc14e 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat16_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat16_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rfloat16_rtp.cl index da477df7efc36..bcc70ea74fe31 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat16_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat16_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rfloat16_rtz.cl index af6424503a199..1462f460d39d3 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat16_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat2.cl b/libclc/test/binding/core/ConvertUToF_Rfloat2.cl index 37fa0e00ff7bc..147cc2b80a110 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat2.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat2_rte.cl b/libclc/test/binding/core/ConvertUToF_Rfloat2_rte.cl index f468d689e6e24..9fe0064a5411b 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat2_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat2_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rfloat2_rtn.cl index dd73cc3cd98ec..fc6cea945bb47 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat2_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat2_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rfloat2_rtp.cl index 62426b97afb0c..1470e9e740b0d 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat2_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat2_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rfloat2_rtz.cl index 0d4cd94908fd8..50aa0312520c2 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat2_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat3.cl b/libclc/test/binding/core/ConvertUToF_Rfloat3.cl index 146a8a3de88fc..5dab972df4db6 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat3.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat3_rte.cl b/libclc/test/binding/core/ConvertUToF_Rfloat3_rte.cl index de588d40fc643..d8ce7f199dbff 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat3_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat3_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rfloat3_rtn.cl index 92bd4792d755d..4feb23e75a1ce 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat3_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat3_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rfloat3_rtp.cl index 61b8573e4f93c..fe977a292fd45 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat3_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat3_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rfloat3_rtz.cl index 6ebb7ebf3a04a..3346bc0a56b01 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat3_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat4.cl b/libclc/test/binding/core/ConvertUToF_Rfloat4.cl index a7538292e07fa..c2bc6c63f3df0 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat4.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat4_rte.cl b/libclc/test/binding/core/ConvertUToF_Rfloat4_rte.cl index a0b078c9c4bd0..c65dc4007d22a 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat4_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat4_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rfloat4_rtn.cl index 650bb6f970a8d..5e572a1bd5bb9 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat4_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat4_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rfloat4_rtp.cl index 457d2041a7b57..7b4bffaa73eb4 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat4_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat4_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rfloat4_rtz.cl index 4f4269926e90f..8f3f68b49bfa1 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat4_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat8.cl b/libclc/test/binding/core/ConvertUToF_Rfloat8.cl index 570753fc7deca..30efb882eb561 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat8.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat8_rte.cl b/libclc/test/binding/core/ConvertUToF_Rfloat8_rte.cl index c0161d4d12960..36085bbcf0bdf 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat8_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat8_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rfloat8_rtn.cl index 14128427d70ab..08f4752de85bc 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat8_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat8_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rfloat8_rtp.cl index b4ffeaf217c6a..2a6940e5a323b 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat8_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat8_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rfloat8_rtz.cl index b0b95c80294fd..0ff1a6de07dcb 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat8_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat_rte.cl b/libclc/test/binding/core/ConvertUToF_Rfloat_rte.cl index a5a604c02e5c2..3db0ab50063b8 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rfloat_rtn.cl index caf631d9eced6..cbe54f11db382 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rfloat_rtp.cl index 0990047382931..5f6eaaa25f863 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rfloat_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rfloat_rtz.cl index 67b18ddb7a868..5e5ae72d010e1 100644 --- a/libclc/test/binding/core/ConvertUToF_Rfloat_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rfloat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf.cl b/libclc/test/binding/core/ConvertUToF_Rhalf.cl index 7cc33f3bebb8f..dca24f96ba191 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf(__clc_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf(__clc_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf(__clc_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf(__clc_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf16.cl b/libclc/test/binding/core/ConvertUToF_Rhalf16.cl index c4945db588695..5cc2a28f6da9d 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf16.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf16.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16(__clc_vec16_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf16(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16(__clc_vec16_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf16(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16(__clc_vec16_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf16(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16(__clc_vec16_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf16(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf16_rte.cl b/libclc/test/binding/core/ConvertUToF_Rhalf16_rte.cl index e79bd95ec74a0..220a3e10f5c9b 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf16_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf16_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rte(__clc_vec16_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf16_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rte(__clc_vec16_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf16_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rte(__clc_vec16_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf16_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rte(__clc_vec16_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf16_rte(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf16_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rhalf16_rtn.cl index dd377ae656f25..c4d4540f570cf 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf16_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf16_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtn(__clc_vec16_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtn(__clc_vec16_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtn(__clc_vec16_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtn(__clc_vec16_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf16_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rhalf16_rtp.cl index 6512ca35b112f..71e9b0f5f0683 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf16_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf16_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtp(__clc_vec16_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtp(__clc_vec16_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtp(__clc_vec16_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtp(__clc_vec16_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf16_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rhalf16_rtz.cl index 4797379a52d63..13af103f27878 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf16_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf16_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtz(__clc_vec16_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtz(__clc_vec16_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtz(__clc_vec16_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ConvertUToF_Rhalf16_rtz(__clc_vec16_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf16_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf2.cl b/libclc/test/binding/core/ConvertUToF_Rhalf2.cl index 32da35b7f7ab9..09fbb2e6fd9e2 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf2.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf2.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2(__clc_vec2_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2(__clc_vec2_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2(__clc_vec2_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2(__clc_vec2_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf2(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf2_rte.cl b/libclc/test/binding/core/ConvertUToF_Rhalf2_rte.cl index 0ff2b16d29fd9..095c9f95176c6 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf2_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf2_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rte(__clc_vec2_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf2_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rte(__clc_vec2_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf2_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rte(__clc_vec2_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf2_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rte(__clc_vec2_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf2_rte(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf2_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rhalf2_rtn.cl index beb603a171108..163697c0a4586 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf2_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf2_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtn(__clc_vec2_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtn(__clc_vec2_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtn(__clc_vec2_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtn(__clc_vec2_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf2_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rhalf2_rtp.cl index 5094f2d8269ed..481e7881b5638 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf2_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf2_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtp(__clc_vec2_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtp(__clc_vec2_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtp(__clc_vec2_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtp(__clc_vec2_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf2_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rhalf2_rtz.cl index 5063e0c03b325..820c97d15f063 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf2_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf2_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtz(__clc_vec2_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtz(__clc_vec2_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtz(__clc_vec2_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ConvertUToF_Rhalf2_rtz(__clc_vec2_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf2_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf3.cl b/libclc/test/binding/core/ConvertUToF_Rhalf3.cl index dc5a1a92273f2..611675941680f 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf3.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf3.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3(__clc_vec3_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf3(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3(__clc_vec3_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf3(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3(__clc_vec3_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf3(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3(__clc_vec3_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf3(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf3_rte.cl b/libclc/test/binding/core/ConvertUToF_Rhalf3_rte.cl index 6ee8b93b9060b..ec3e3b39b5ba5 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf3_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf3_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rte(__clc_vec3_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf3_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rte(__clc_vec3_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf3_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rte(__clc_vec3_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf3_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rte(__clc_vec3_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf3_rte(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf3_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rhalf3_rtn.cl index 17b6d020b6903..cf6c368cfb51b 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf3_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf3_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtn(__clc_vec3_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtn(__clc_vec3_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtn(__clc_vec3_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtn(__clc_vec3_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf3_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rhalf3_rtp.cl index b71d4ad883147..44b39a2dfe123 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf3_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf3_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtp(__clc_vec3_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtp(__clc_vec3_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtp(__clc_vec3_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtp(__clc_vec3_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf3_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rhalf3_rtz.cl index bedbabd7e2506..008ccb4bc29fc 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf3_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf3_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtz(__clc_vec3_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtz(__clc_vec3_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtz(__clc_vec3_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ConvertUToF_Rhalf3_rtz(__clc_vec3_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf3_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf4.cl b/libclc/test/binding/core/ConvertUToF_Rhalf4.cl index 9ec678ceb2af0..b2073d912058e 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf4.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf4.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4(__clc_vec4_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf4(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4(__clc_vec4_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf4(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4(__clc_vec4_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf4(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4(__clc_vec4_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf4(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf4_rte.cl b/libclc/test/binding/core/ConvertUToF_Rhalf4_rte.cl index f9433070e94cb..0f49427b52898 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf4_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf4_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rte(__clc_vec4_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf4_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rte(__clc_vec4_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf4_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rte(__clc_vec4_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf4_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rte(__clc_vec4_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf4_rte(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf4_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rhalf4_rtn.cl index 6ab8f8585500c..e5c500df89de4 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf4_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf4_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtn(__clc_vec4_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtn(__clc_vec4_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtn(__clc_vec4_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtn(__clc_vec4_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf4_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rhalf4_rtp.cl index bd3ff0a10b8a6..0011127889bd9 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf4_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf4_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtp(__clc_vec4_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtp(__clc_vec4_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtp(__clc_vec4_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtp(__clc_vec4_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf4_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rhalf4_rtz.cl index 31d71d6fe31a4..41169052d112a 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf4_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf4_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtz(__clc_vec4_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtz(__clc_vec4_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtz(__clc_vec4_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ConvertUToF_Rhalf4_rtz(__clc_vec4_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf4_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf8.cl b/libclc/test/binding/core/ConvertUToF_Rhalf8.cl index 1ee2386f85d3e..6f254585fc11f 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf8.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf8.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8(__clc_vec8_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf8(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8(__clc_vec8_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf8(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8(__clc_vec8_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf8(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8(__clc_vec8_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf8(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf8_rte.cl b/libclc/test/binding/core/ConvertUToF_Rhalf8_rte.cl index 41d9bf0b588d9..fffbfeea5a823 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf8_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf8_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rte(__clc_vec8_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf8_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rte(__clc_vec8_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf8_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rte(__clc_vec8_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf8_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rte(__clc_vec8_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf8_rte(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf8_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rhalf8_rtn.cl index bb3d9ee8ea5aa..715624cff2d46 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf8_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf8_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtn(__clc_vec8_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtn(__clc_vec8_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtn(__clc_vec8_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtn(__clc_vec8_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf8_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rhalf8_rtp.cl index 67f756e22c389..9d38208c288dc 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf8_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf8_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtp(__clc_vec8_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtp(__clc_vec8_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtp(__clc_vec8_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtp(__clc_vec8_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf8_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rhalf8_rtz.cl index 56cc3f0bba6c1..e4c1441afd409 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf8_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf8_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtz(__clc_vec8_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtz(__clc_vec8_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtz(__clc_vec8_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ConvertUToF_Rhalf8_rtz(__clc_vec8_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf8_rtz(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf_rte.cl b/libclc/test/binding/core/ConvertUToF_Rhalf_rte.cl index cfeb7bdc14054..1e58388dce425 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf_rte.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf_rte.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rte(__clc_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rte(__clc_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rte(__clc_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rte(__clc_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf_rte(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf_rtn.cl b/libclc/test/binding/core/ConvertUToF_Rhalf_rtn.cl index 1614a1f57f2c8..dea4a59defddf 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf_rtn.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf_rtn.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtn(__clc_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtn(__clc_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtn(__clc_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtn(__clc_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf_rtn(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf_rtp.cl b/libclc/test/binding/core/ConvertUToF_Rhalf_rtp.cl index 9fc103bfa1d8d..21c12868f14c7 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf_rtp.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf_rtp.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtp(__clc_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtp(__clc_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtp(__clc_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtp(__clc_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf_rtp(args_0); diff --git a/libclc/test/binding/core/ConvertUToF_Rhalf_rtz.cl b/libclc/test/binding/core/ConvertUToF_Rhalf_rtz.cl index a178915b5d15c..effd895e0d121 100644 --- a/libclc/test/binding/core/ConvertUToF_Rhalf_rtz.cl +++ b/libclc/test/binding/core/ConvertUToF_Rhalf_rtz.cl @@ -9,34 +9,35 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtz(__clc_uint8_t args_0) { return __spirv_ConvertUToF_Rhalf_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtz(__clc_uint16_t args_0) { return __spirv_ConvertUToF_Rhalf_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtz(__clc_uint32_t args_0) { return __spirv_ConvertUToF_Rhalf_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ConvertUToF_Rhalf_rtz(__clc_uint64_t args_0) { return __spirv_ConvertUToF_Rhalf_rtz(args_0); diff --git a/libclc/test/binding/core/Dot.cl b/libclc/test/binding/core/Dot.cl index 86dc24a46e60e..811cc1837ea3c 100644 --- a/libclc/test/binding/core/Dot.cl +++ b/libclc/test/binding/core/Dot.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -75,35 +76,35 @@ test___spirv_Dot(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_Dot(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_Dot(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_Dot(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_Dot(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_Dot(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_Dot(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_Dot(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_Dot(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_Dot(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_Dot(args_0, args_1); diff --git a/libclc/test/binding/core/FConvert_Rdouble.cl b/libclc/test/binding/core/FConvert_Rdouble.cl index 89f3ae5c9417f..077b611a06041 100644 --- a/libclc/test/binding/core/FConvert_Rdouble.cl +++ b/libclc/test/binding/core/FConvert_Rdouble.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble(__clc_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp64_t test___spirv_FConvert_Rdouble(__clc_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble16.cl b/libclc/test/binding/core/FConvert_Rdouble16.cl index 5a3a1f6592511..e9a2781f49d70 100644 --- a/libclc/test/binding/core/FConvert_Rdouble16.cl +++ b/libclc/test/binding/core/FConvert_Rdouble16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble16(__clc_vec16_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp64_t test___spirv_FConvert_Rdouble16(__clc_vec16_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble16_rte.cl b/libclc/test/binding/core/FConvert_Rdouble16_rte.cl index aeb0b8a183db4..e69a70958ae5f 100644 --- a/libclc/test/binding/core/FConvert_Rdouble16_rte.cl +++ b/libclc/test/binding/core/FConvert_Rdouble16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble16_rte(__clc_vec16_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp64_t test___spirv_FConvert_Rdouble16_rte(__clc_vec16_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble16_rtn.cl b/libclc/test/binding/core/FConvert_Rdouble16_rtn.cl index 3b1961d0eac6e..dc79b7647d0c9 100644 --- a/libclc/test/binding/core/FConvert_Rdouble16_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rdouble16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble16_rtn(__clc_vec16_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp64_t test___spirv_FConvert_Rdouble16_rtn(__clc_vec16_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble16_rtp.cl b/libclc/test/binding/core/FConvert_Rdouble16_rtp.cl index bc9aee0860af3..2147ceb9e3187 100644 --- a/libclc/test/binding/core/FConvert_Rdouble16_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rdouble16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble16_rtp(__clc_vec16_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp64_t test___spirv_FConvert_Rdouble16_rtp(__clc_vec16_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble16_rtz.cl b/libclc/test/binding/core/FConvert_Rdouble16_rtz.cl index 01923d2d82780..5cc8ff471d35a 100644 --- a/libclc/test/binding/core/FConvert_Rdouble16_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rdouble16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble16_rtz(__clc_vec16_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp64_t test___spirv_FConvert_Rdouble16_rtz(__clc_vec16_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble2.cl b/libclc/test/binding/core/FConvert_Rdouble2.cl index 0aec15e28c9bb..c79244aceb26d 100644 --- a/libclc/test/binding/core/FConvert_Rdouble2.cl +++ b/libclc/test/binding/core/FConvert_Rdouble2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble2(__clc_vec2_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp64_t test___spirv_FConvert_Rdouble2(__clc_vec2_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble2_rte.cl b/libclc/test/binding/core/FConvert_Rdouble2_rte.cl index f7744c17c6f4d..9f3f8198ee659 100644 --- a/libclc/test/binding/core/FConvert_Rdouble2_rte.cl +++ b/libclc/test/binding/core/FConvert_Rdouble2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble2_rte(__clc_vec2_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp64_t test___spirv_FConvert_Rdouble2_rte(__clc_vec2_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble2_rtn.cl b/libclc/test/binding/core/FConvert_Rdouble2_rtn.cl index cce5416a96691..a35404e78f5cc 100644 --- a/libclc/test/binding/core/FConvert_Rdouble2_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rdouble2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble2_rtn(__clc_vec2_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp64_t test___spirv_FConvert_Rdouble2_rtn(__clc_vec2_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble2_rtp.cl b/libclc/test/binding/core/FConvert_Rdouble2_rtp.cl index 13b2a02376027..40eeb58888a0a 100644 --- a/libclc/test/binding/core/FConvert_Rdouble2_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rdouble2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble2_rtp(__clc_vec2_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp64_t test___spirv_FConvert_Rdouble2_rtp(__clc_vec2_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble2_rtz.cl b/libclc/test/binding/core/FConvert_Rdouble2_rtz.cl index 45bb5c060e241..e777268915d50 100644 --- a/libclc/test/binding/core/FConvert_Rdouble2_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rdouble2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble2_rtz(__clc_vec2_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp64_t test___spirv_FConvert_Rdouble2_rtz(__clc_vec2_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble3.cl b/libclc/test/binding/core/FConvert_Rdouble3.cl index b13e0be9ad17b..463f2f213b52b 100644 --- a/libclc/test/binding/core/FConvert_Rdouble3.cl +++ b/libclc/test/binding/core/FConvert_Rdouble3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble3(__clc_vec3_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp64_t test___spirv_FConvert_Rdouble3(__clc_vec3_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble3_rte.cl b/libclc/test/binding/core/FConvert_Rdouble3_rte.cl index 4521cd51f2eee..70b0f2ba021ed 100644 --- a/libclc/test/binding/core/FConvert_Rdouble3_rte.cl +++ b/libclc/test/binding/core/FConvert_Rdouble3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble3_rte(__clc_vec3_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp64_t test___spirv_FConvert_Rdouble3_rte(__clc_vec3_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble3_rtn.cl b/libclc/test/binding/core/FConvert_Rdouble3_rtn.cl index 2546498e00508..f75a1d50b7f44 100644 --- a/libclc/test/binding/core/FConvert_Rdouble3_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rdouble3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble3_rtn(__clc_vec3_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp64_t test___spirv_FConvert_Rdouble3_rtn(__clc_vec3_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble3_rtp.cl b/libclc/test/binding/core/FConvert_Rdouble3_rtp.cl index 1630a5da6c78e..584a9155454a7 100644 --- a/libclc/test/binding/core/FConvert_Rdouble3_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rdouble3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble3_rtp(__clc_vec3_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp64_t test___spirv_FConvert_Rdouble3_rtp(__clc_vec3_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble3_rtz.cl b/libclc/test/binding/core/FConvert_Rdouble3_rtz.cl index 2964e18fffbd3..71e3f25455e71 100644 --- a/libclc/test/binding/core/FConvert_Rdouble3_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rdouble3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble3_rtz(__clc_vec3_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp64_t test___spirv_FConvert_Rdouble3_rtz(__clc_vec3_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble4.cl b/libclc/test/binding/core/FConvert_Rdouble4.cl index 071718d92543d..bec841b55ac6a 100644 --- a/libclc/test/binding/core/FConvert_Rdouble4.cl +++ b/libclc/test/binding/core/FConvert_Rdouble4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble4(__clc_vec4_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp64_t test___spirv_FConvert_Rdouble4(__clc_vec4_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble4_rte.cl b/libclc/test/binding/core/FConvert_Rdouble4_rte.cl index 5b287b8ce6f26..45750ba15b75d 100644 --- a/libclc/test/binding/core/FConvert_Rdouble4_rte.cl +++ b/libclc/test/binding/core/FConvert_Rdouble4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble4_rte(__clc_vec4_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp64_t test___spirv_FConvert_Rdouble4_rte(__clc_vec4_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble4_rtn.cl b/libclc/test/binding/core/FConvert_Rdouble4_rtn.cl index 0f0087b6933bf..67f84dc37458a 100644 --- a/libclc/test/binding/core/FConvert_Rdouble4_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rdouble4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble4_rtn(__clc_vec4_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp64_t test___spirv_FConvert_Rdouble4_rtn(__clc_vec4_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble4_rtp.cl b/libclc/test/binding/core/FConvert_Rdouble4_rtp.cl index dad2925da2ccb..b441ba830bf5a 100644 --- a/libclc/test/binding/core/FConvert_Rdouble4_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rdouble4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble4_rtp(__clc_vec4_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp64_t test___spirv_FConvert_Rdouble4_rtp(__clc_vec4_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble4_rtz.cl b/libclc/test/binding/core/FConvert_Rdouble4_rtz.cl index 10f6692adc6b2..c5a0be9474b7f 100644 --- a/libclc/test/binding/core/FConvert_Rdouble4_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rdouble4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble4_rtz(__clc_vec4_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp64_t test___spirv_FConvert_Rdouble4_rtz(__clc_vec4_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble8.cl b/libclc/test/binding/core/FConvert_Rdouble8.cl index 31638dde560c0..b2c2bf7bb1cfc 100644 --- a/libclc/test/binding/core/FConvert_Rdouble8.cl +++ b/libclc/test/binding/core/FConvert_Rdouble8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble8(__clc_vec8_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp64_t test___spirv_FConvert_Rdouble8(__clc_vec8_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble8_rte.cl b/libclc/test/binding/core/FConvert_Rdouble8_rte.cl index 17b2751ec16dc..49f007b78b40f 100644 --- a/libclc/test/binding/core/FConvert_Rdouble8_rte.cl +++ b/libclc/test/binding/core/FConvert_Rdouble8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble8_rte(__clc_vec8_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp64_t test___spirv_FConvert_Rdouble8_rte(__clc_vec8_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble8_rtn.cl b/libclc/test/binding/core/FConvert_Rdouble8_rtn.cl index 2132fc90fc853..9831824377ebd 100644 --- a/libclc/test/binding/core/FConvert_Rdouble8_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rdouble8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble8_rtn(__clc_vec8_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp64_t test___spirv_FConvert_Rdouble8_rtn(__clc_vec8_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble8_rtp.cl b/libclc/test/binding/core/FConvert_Rdouble8_rtp.cl index 14c99cb973384..d11f4e2e04fca 100644 --- a/libclc/test/binding/core/FConvert_Rdouble8_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rdouble8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble8_rtp(__clc_vec8_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp64_t test___spirv_FConvert_Rdouble8_rtp(__clc_vec8_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble8_rtz.cl b/libclc/test/binding/core/FConvert_Rdouble8_rtz.cl index 5c4188b2d26cc..544096a9f57ce 100644 --- a/libclc/test/binding/core/FConvert_Rdouble8_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rdouble8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble8_rtz(__clc_vec8_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp64_t test___spirv_FConvert_Rdouble8_rtz(__clc_vec8_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble_rte.cl b/libclc/test/binding/core/FConvert_Rdouble_rte.cl index 8984c7c4d1e3a..22561784cfaae 100644 --- a/libclc/test/binding/core/FConvert_Rdouble_rte.cl +++ b/libclc/test/binding/core/FConvert_Rdouble_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble_rte(__clc_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp64_t test___spirv_FConvert_Rdouble_rte(__clc_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble_rtn.cl b/libclc/test/binding/core/FConvert_Rdouble_rtn.cl index 78fccc85b83c1..24ad4c6bdb96b 100644 --- a/libclc/test/binding/core/FConvert_Rdouble_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rdouble_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble_rtn(__clc_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp64_t test___spirv_FConvert_Rdouble_rtn(__clc_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble_rtp.cl b/libclc/test/binding/core/FConvert_Rdouble_rtp.cl index 894dcd1a3b304..a5af970d85257 100644 --- a/libclc/test/binding/core/FConvert_Rdouble_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rdouble_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble_rtp(__clc_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp64_t test___spirv_FConvert_Rdouble_rtp(__clc_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rdouble_rtz.cl b/libclc/test/binding/core/FConvert_Rdouble_rtz.cl index 79342e3c3285b..77945d8f9e6c0 100644 --- a/libclc/test/binding/core/FConvert_Rdouble_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rdouble_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rdouble_rtz(__clc_fp32_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp64_t test___spirv_FConvert_Rdouble_rtz(__clc_fp16_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rfloat.cl b/libclc/test/binding/core/FConvert_Rfloat.cl index 1ee852e2a3556..954a273cbdaea 100644 --- a/libclc/test/binding/core/FConvert_Rfloat.cl +++ b/libclc/test/binding/core/FConvert_Rfloat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp32_t test___spirv_FConvert_Rfloat(__clc_fp16_t args_0) { return __spirv_FConvert_Rfloat(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat16.cl b/libclc/test/binding/core/FConvert_Rfloat16.cl index 95d910b0ae8ab..28002b7fba046 100644 --- a/libclc/test/binding/core/FConvert_Rfloat16.cl +++ b/libclc/test/binding/core/FConvert_Rfloat16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat16(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_FConvert_Rfloat16(__clc_vec16_fp16_t args_0) { return __spirv_FConvert_Rfloat16(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat16_rte.cl b/libclc/test/binding/core/FConvert_Rfloat16_rte.cl index 54947ef82127c..1bf3670831a6b 100644 --- a/libclc/test/binding/core/FConvert_Rfloat16_rte.cl +++ b/libclc/test/binding/core/FConvert_Rfloat16_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat16_rte(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_FConvert_Rfloat16_rte(__clc_vec16_fp16_t args_0) { return __spirv_FConvert_Rfloat16_rte(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat16_rtn.cl b/libclc/test/binding/core/FConvert_Rfloat16_rtn.cl index cf29846748466..321d521a4beed 100644 --- a/libclc/test/binding/core/FConvert_Rfloat16_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rfloat16_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat16_rtn(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_FConvert_Rfloat16_rtn(__clc_vec16_fp16_t args_0) { return __spirv_FConvert_Rfloat16_rtn(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat16_rtp.cl b/libclc/test/binding/core/FConvert_Rfloat16_rtp.cl index e778c58c4f25d..4eac14a8b0943 100644 --- a/libclc/test/binding/core/FConvert_Rfloat16_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rfloat16_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat16_rtp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_FConvert_Rfloat16_rtp(__clc_vec16_fp16_t args_0) { return __spirv_FConvert_Rfloat16_rtp(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat16_rtz.cl b/libclc/test/binding/core/FConvert_Rfloat16_rtz.cl index b06ae95b02a65..d1a33e4f024c7 100644 --- a/libclc/test/binding/core/FConvert_Rfloat16_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rfloat16_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat16_rtz(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_FConvert_Rfloat16_rtz(__clc_vec16_fp16_t args_0) { return __spirv_FConvert_Rfloat16_rtz(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat2.cl b/libclc/test/binding/core/FConvert_Rfloat2.cl index b524f7a720e19..eec823830ba01 100644 --- a/libclc/test/binding/core/FConvert_Rfloat2.cl +++ b/libclc/test/binding/core/FConvert_Rfloat2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat2(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_FConvert_Rfloat2(__clc_vec2_fp16_t args_0) { return __spirv_FConvert_Rfloat2(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat2_rte.cl b/libclc/test/binding/core/FConvert_Rfloat2_rte.cl index 8557f40f62722..ccc460cefdf78 100644 --- a/libclc/test/binding/core/FConvert_Rfloat2_rte.cl +++ b/libclc/test/binding/core/FConvert_Rfloat2_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat2_rte(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_FConvert_Rfloat2_rte(__clc_vec2_fp16_t args_0) { return __spirv_FConvert_Rfloat2_rte(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat2_rtn.cl b/libclc/test/binding/core/FConvert_Rfloat2_rtn.cl index a3a4aab638ae8..4000a22c7a7ad 100644 --- a/libclc/test/binding/core/FConvert_Rfloat2_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rfloat2_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat2_rtn(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_FConvert_Rfloat2_rtn(__clc_vec2_fp16_t args_0) { return __spirv_FConvert_Rfloat2_rtn(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat2_rtp.cl b/libclc/test/binding/core/FConvert_Rfloat2_rtp.cl index 42fae5038c76d..0f626ba551963 100644 --- a/libclc/test/binding/core/FConvert_Rfloat2_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rfloat2_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat2_rtp(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_FConvert_Rfloat2_rtp(__clc_vec2_fp16_t args_0) { return __spirv_FConvert_Rfloat2_rtp(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat2_rtz.cl b/libclc/test/binding/core/FConvert_Rfloat2_rtz.cl index 9e52a6f2b4aa1..62028cd8cb4ee 100644 --- a/libclc/test/binding/core/FConvert_Rfloat2_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rfloat2_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat2_rtz(__clc_vec2_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_FConvert_Rfloat2_rtz(__clc_vec2_fp16_t args_0) { return __spirv_FConvert_Rfloat2_rtz(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat3.cl b/libclc/test/binding/core/FConvert_Rfloat3.cl index 8d515fcd586cf..de293af291a5f 100644 --- a/libclc/test/binding/core/FConvert_Rfloat3.cl +++ b/libclc/test/binding/core/FConvert_Rfloat3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat3(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_FConvert_Rfloat3(__clc_vec3_fp16_t args_0) { return __spirv_FConvert_Rfloat3(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat3_rte.cl b/libclc/test/binding/core/FConvert_Rfloat3_rte.cl index 786160d6dc3b9..1eff9e55cc18e 100644 --- a/libclc/test/binding/core/FConvert_Rfloat3_rte.cl +++ b/libclc/test/binding/core/FConvert_Rfloat3_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat3_rte(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_FConvert_Rfloat3_rte(__clc_vec3_fp16_t args_0) { return __spirv_FConvert_Rfloat3_rte(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat3_rtn.cl b/libclc/test/binding/core/FConvert_Rfloat3_rtn.cl index d678d8418213b..8b5f43881cceb 100644 --- a/libclc/test/binding/core/FConvert_Rfloat3_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rfloat3_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat3_rtn(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_FConvert_Rfloat3_rtn(__clc_vec3_fp16_t args_0) { return __spirv_FConvert_Rfloat3_rtn(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat3_rtp.cl b/libclc/test/binding/core/FConvert_Rfloat3_rtp.cl index 5425f8e18e3b6..8e0b5f4d46eb4 100644 --- a/libclc/test/binding/core/FConvert_Rfloat3_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rfloat3_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat3_rtp(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_FConvert_Rfloat3_rtp(__clc_vec3_fp16_t args_0) { return __spirv_FConvert_Rfloat3_rtp(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat3_rtz.cl b/libclc/test/binding/core/FConvert_Rfloat3_rtz.cl index afca681a5be40..847e116aa07e7 100644 --- a/libclc/test/binding/core/FConvert_Rfloat3_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rfloat3_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat3_rtz(__clc_vec3_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_FConvert_Rfloat3_rtz(__clc_vec3_fp16_t args_0) { return __spirv_FConvert_Rfloat3_rtz(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat4.cl b/libclc/test/binding/core/FConvert_Rfloat4.cl index 6f25f03eaeb63..e3e78bd74fe45 100644 --- a/libclc/test/binding/core/FConvert_Rfloat4.cl +++ b/libclc/test/binding/core/FConvert_Rfloat4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat4(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_FConvert_Rfloat4(__clc_vec4_fp16_t args_0) { return __spirv_FConvert_Rfloat4(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat4_rte.cl b/libclc/test/binding/core/FConvert_Rfloat4_rte.cl index 39a0e5ffa2612..579252f919ad8 100644 --- a/libclc/test/binding/core/FConvert_Rfloat4_rte.cl +++ b/libclc/test/binding/core/FConvert_Rfloat4_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat4_rte(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_FConvert_Rfloat4_rte(__clc_vec4_fp16_t args_0) { return __spirv_FConvert_Rfloat4_rte(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat4_rtn.cl b/libclc/test/binding/core/FConvert_Rfloat4_rtn.cl index ec86250c9d7c0..3ed6235e06c9d 100644 --- a/libclc/test/binding/core/FConvert_Rfloat4_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rfloat4_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat4_rtn(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_FConvert_Rfloat4_rtn(__clc_vec4_fp16_t args_0) { return __spirv_FConvert_Rfloat4_rtn(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat4_rtp.cl b/libclc/test/binding/core/FConvert_Rfloat4_rtp.cl index 9a66d5b0f1592..8b8fb6eac50ef 100644 --- a/libclc/test/binding/core/FConvert_Rfloat4_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rfloat4_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat4_rtp(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_FConvert_Rfloat4_rtp(__clc_vec4_fp16_t args_0) { return __spirv_FConvert_Rfloat4_rtp(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat4_rtz.cl b/libclc/test/binding/core/FConvert_Rfloat4_rtz.cl index 590793e2b0543..bba23d4c51d60 100644 --- a/libclc/test/binding/core/FConvert_Rfloat4_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rfloat4_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat4_rtz(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_FConvert_Rfloat4_rtz(__clc_vec4_fp16_t args_0) { return __spirv_FConvert_Rfloat4_rtz(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat8.cl b/libclc/test/binding/core/FConvert_Rfloat8.cl index 21d5f9d27f812..c003d0c0a5d6a 100644 --- a/libclc/test/binding/core/FConvert_Rfloat8.cl +++ b/libclc/test/binding/core/FConvert_Rfloat8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat8(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_FConvert_Rfloat8(__clc_vec8_fp16_t args_0) { return __spirv_FConvert_Rfloat8(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat8_rte.cl b/libclc/test/binding/core/FConvert_Rfloat8_rte.cl index 4df5b8a364f37..d7c73b0a2b915 100644 --- a/libclc/test/binding/core/FConvert_Rfloat8_rte.cl +++ b/libclc/test/binding/core/FConvert_Rfloat8_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat8_rte(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_FConvert_Rfloat8_rte(__clc_vec8_fp16_t args_0) { return __spirv_FConvert_Rfloat8_rte(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat8_rtn.cl b/libclc/test/binding/core/FConvert_Rfloat8_rtn.cl index 87d8c52e155ce..112f491238b9a 100644 --- a/libclc/test/binding/core/FConvert_Rfloat8_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rfloat8_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat8_rtn(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_FConvert_Rfloat8_rtn(__clc_vec8_fp16_t args_0) { return __spirv_FConvert_Rfloat8_rtn(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat8_rtp.cl b/libclc/test/binding/core/FConvert_Rfloat8_rtp.cl index bce4d62ef3457..24c484c750fdb 100644 --- a/libclc/test/binding/core/FConvert_Rfloat8_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rfloat8_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat8_rtp(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_FConvert_Rfloat8_rtp(__clc_vec8_fp16_t args_0) { return __spirv_FConvert_Rfloat8_rtp(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat8_rtz.cl b/libclc/test/binding/core/FConvert_Rfloat8_rtz.cl index dc14afe539404..e6972c7d08044 100644 --- a/libclc/test/binding/core/FConvert_Rfloat8_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rfloat8_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat8_rtz(__clc_vec8_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_FConvert_Rfloat8_rtz(__clc_vec8_fp16_t args_0) { return __spirv_FConvert_Rfloat8_rtz(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat_rte.cl b/libclc/test/binding/core/FConvert_Rfloat_rte.cl index d809ca6b02a4d..6b993a897b54d 100644 --- a/libclc/test/binding/core/FConvert_Rfloat_rte.cl +++ b/libclc/test/binding/core/FConvert_Rfloat_rte.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat_rte(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp32_t test___spirv_FConvert_Rfloat_rte(__clc_fp16_t args_0) { return __spirv_FConvert_Rfloat_rte(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat_rtn.cl b/libclc/test/binding/core/FConvert_Rfloat_rtn.cl index 60319079208f1..e6c7b317a6038 100644 --- a/libclc/test/binding/core/FConvert_Rfloat_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rfloat_rtn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat_rtn(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp32_t test___spirv_FConvert_Rfloat_rtn(__clc_fp16_t args_0) { return __spirv_FConvert_Rfloat_rtn(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat_rtp.cl b/libclc/test/binding/core/FConvert_Rfloat_rtp.cl index 053e6852db032..88eed7c61cb7a 100644 --- a/libclc/test/binding/core/FConvert_Rfloat_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rfloat_rtp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat_rtp(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp32_t test___spirv_FConvert_Rfloat_rtp(__clc_fp16_t args_0) { return __spirv_FConvert_Rfloat_rtp(args_0); diff --git a/libclc/test/binding/core/FConvert_Rfloat_rtz.cl b/libclc/test/binding/core/FConvert_Rfloat_rtz.cl index ba2c44f5e6820..3779a50e036dc 100644 --- a/libclc/test/binding/core/FConvert_Rfloat_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rfloat_rtz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -22,7 +23,7 @@ test___spirv_FConvert_Rfloat_rtz(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp32_t test___spirv_FConvert_Rfloat_rtz(__clc_fp16_t args_0) { return __spirv_FConvert_Rfloat_rtz(args_0); diff --git a/libclc/test/binding/core/FConvert_Rhalf.cl b/libclc/test/binding/core/FConvert_Rhalf.cl index ee638d78b24b1..3543222066327 100644 --- a/libclc/test/binding/core/FConvert_Rhalf.cl +++ b/libclc/test/binding/core/FConvert_Rhalf.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf(__clc_fp32_t args_0) { return __spirv_FConvert_Rhalf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf(__clc_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf16.cl b/libclc/test/binding/core/FConvert_Rhalf16.cl index 291aecc6c3c17..7b3af54689a0e 100644 --- a/libclc/test/binding/core/FConvert_Rhalf16.cl +++ b/libclc/test/binding/core/FConvert_Rhalf16.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16(__clc_vec16_fp32_t args_0) { return __spirv_FConvert_Rhalf16(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16(__clc_vec16_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf16_rte.cl b/libclc/test/binding/core/FConvert_Rhalf16_rte.cl index b915e0c4bece0..2f77e0c8eed76 100644 --- a/libclc/test/binding/core/FConvert_Rhalf16_rte.cl +++ b/libclc/test/binding/core/FConvert_Rhalf16_rte.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16_rte(__clc_vec16_fp32_t args_0) { return __spirv_FConvert_Rhalf16_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16_rte(__clc_vec16_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf16_rtn.cl b/libclc/test/binding/core/FConvert_Rhalf16_rtn.cl index 68365121ff6ee..8ffb4ce7fa801 100644 --- a/libclc/test/binding/core/FConvert_Rhalf16_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rhalf16_rtn.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16_rtn(__clc_vec16_fp32_t args_0) { return __spirv_FConvert_Rhalf16_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16_rtn(__clc_vec16_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf16_rtp.cl b/libclc/test/binding/core/FConvert_Rhalf16_rtp.cl index cceac4cab905b..243be1428198d 100644 --- a/libclc/test/binding/core/FConvert_Rhalf16_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rhalf16_rtp.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16_rtp(__clc_vec16_fp32_t args_0) { return __spirv_FConvert_Rhalf16_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16_rtp(__clc_vec16_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf16_rtz.cl b/libclc/test/binding/core/FConvert_Rhalf16_rtz.cl index 79847f6e695b4..5c2786d73b4b3 100644 --- a/libclc/test/binding/core/FConvert_Rhalf16_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rhalf16_rtz.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16_rtz(__clc_vec16_fp32_t args_0) { return __spirv_FConvert_Rhalf16_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_FConvert_Rhalf16_rtz(__clc_vec16_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf2.cl b/libclc/test/binding/core/FConvert_Rhalf2.cl index e152939d614ee..2c8fca4347ddb 100644 --- a/libclc/test/binding/core/FConvert_Rhalf2.cl +++ b/libclc/test/binding/core/FConvert_Rhalf2.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2(__clc_vec2_fp32_t args_0) { return __spirv_FConvert_Rhalf2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2(__clc_vec2_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf2_rte.cl b/libclc/test/binding/core/FConvert_Rhalf2_rte.cl index 86d5ae33cf8dc..703213b0906b4 100644 --- a/libclc/test/binding/core/FConvert_Rhalf2_rte.cl +++ b/libclc/test/binding/core/FConvert_Rhalf2_rte.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2_rte(__clc_vec2_fp32_t args_0) { return __spirv_FConvert_Rhalf2_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2_rte(__clc_vec2_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf2_rtn.cl b/libclc/test/binding/core/FConvert_Rhalf2_rtn.cl index 631f65cde2fe0..a27a6464a94cc 100644 --- a/libclc/test/binding/core/FConvert_Rhalf2_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rhalf2_rtn.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2_rtn(__clc_vec2_fp32_t args_0) { return __spirv_FConvert_Rhalf2_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2_rtn(__clc_vec2_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf2_rtp.cl b/libclc/test/binding/core/FConvert_Rhalf2_rtp.cl index f533bf1189bd1..1982c3c87ba31 100644 --- a/libclc/test/binding/core/FConvert_Rhalf2_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rhalf2_rtp.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2_rtp(__clc_vec2_fp32_t args_0) { return __spirv_FConvert_Rhalf2_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2_rtp(__clc_vec2_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf2_rtz.cl b/libclc/test/binding/core/FConvert_Rhalf2_rtz.cl index 97ed459618dc2..e9f11b9d6d88b 100644 --- a/libclc/test/binding/core/FConvert_Rhalf2_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rhalf2_rtz.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2_rtz(__clc_vec2_fp32_t args_0) { return __spirv_FConvert_Rhalf2_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_FConvert_Rhalf2_rtz(__clc_vec2_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf3.cl b/libclc/test/binding/core/FConvert_Rhalf3.cl index fa95288ced91d..813ff0ed21d05 100644 --- a/libclc/test/binding/core/FConvert_Rhalf3.cl +++ b/libclc/test/binding/core/FConvert_Rhalf3.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3(__clc_vec3_fp32_t args_0) { return __spirv_FConvert_Rhalf3(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3(__clc_vec3_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf3_rte.cl b/libclc/test/binding/core/FConvert_Rhalf3_rte.cl index d59b82a702d96..6ba2f9bad7b8e 100644 --- a/libclc/test/binding/core/FConvert_Rhalf3_rte.cl +++ b/libclc/test/binding/core/FConvert_Rhalf3_rte.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3_rte(__clc_vec3_fp32_t args_0) { return __spirv_FConvert_Rhalf3_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3_rte(__clc_vec3_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf3_rtn.cl b/libclc/test/binding/core/FConvert_Rhalf3_rtn.cl index f25a45bf7a7f1..03cb10f893c58 100644 --- a/libclc/test/binding/core/FConvert_Rhalf3_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rhalf3_rtn.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3_rtn(__clc_vec3_fp32_t args_0) { return __spirv_FConvert_Rhalf3_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3_rtn(__clc_vec3_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf3_rtp.cl b/libclc/test/binding/core/FConvert_Rhalf3_rtp.cl index 47f80c7f3ba7a..576f0a2c588ae 100644 --- a/libclc/test/binding/core/FConvert_Rhalf3_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rhalf3_rtp.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3_rtp(__clc_vec3_fp32_t args_0) { return __spirv_FConvert_Rhalf3_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3_rtp(__clc_vec3_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf3_rtz.cl b/libclc/test/binding/core/FConvert_Rhalf3_rtz.cl index fe057324a6fac..394a7d6880a37 100644 --- a/libclc/test/binding/core/FConvert_Rhalf3_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rhalf3_rtz.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3_rtz(__clc_vec3_fp32_t args_0) { return __spirv_FConvert_Rhalf3_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_FConvert_Rhalf3_rtz(__clc_vec3_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf4.cl b/libclc/test/binding/core/FConvert_Rhalf4.cl index 985d1aa184e27..7b511f2a693ab 100644 --- a/libclc/test/binding/core/FConvert_Rhalf4.cl +++ b/libclc/test/binding/core/FConvert_Rhalf4.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4(__clc_vec4_fp32_t args_0) { return __spirv_FConvert_Rhalf4(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4(__clc_vec4_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf4_rte.cl b/libclc/test/binding/core/FConvert_Rhalf4_rte.cl index 459bb794c2b9e..e497bd388aa23 100644 --- a/libclc/test/binding/core/FConvert_Rhalf4_rte.cl +++ b/libclc/test/binding/core/FConvert_Rhalf4_rte.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4_rte(__clc_vec4_fp32_t args_0) { return __spirv_FConvert_Rhalf4_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4_rte(__clc_vec4_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf4_rtn.cl b/libclc/test/binding/core/FConvert_Rhalf4_rtn.cl index 2d8d9bb2daea8..f7ac4e91520fa 100644 --- a/libclc/test/binding/core/FConvert_Rhalf4_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rhalf4_rtn.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4_rtn(__clc_vec4_fp32_t args_0) { return __spirv_FConvert_Rhalf4_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4_rtn(__clc_vec4_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf4_rtp.cl b/libclc/test/binding/core/FConvert_Rhalf4_rtp.cl index 74e4cc751ce1f..4e09c461afbf5 100644 --- a/libclc/test/binding/core/FConvert_Rhalf4_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rhalf4_rtp.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4_rtp(__clc_vec4_fp32_t args_0) { return __spirv_FConvert_Rhalf4_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4_rtp(__clc_vec4_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf4_rtz.cl b/libclc/test/binding/core/FConvert_Rhalf4_rtz.cl index 06da010ce6df4..256f1e10e7a6d 100644 --- a/libclc/test/binding/core/FConvert_Rhalf4_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rhalf4_rtz.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4_rtz(__clc_vec4_fp32_t args_0) { return __spirv_FConvert_Rhalf4_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_FConvert_Rhalf4_rtz(__clc_vec4_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf8.cl b/libclc/test/binding/core/FConvert_Rhalf8.cl index bac3fbe888b43..102207bdb7781 100644 --- a/libclc/test/binding/core/FConvert_Rhalf8.cl +++ b/libclc/test/binding/core/FConvert_Rhalf8.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8(__clc_vec8_fp32_t args_0) { return __spirv_FConvert_Rhalf8(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8(__clc_vec8_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf8_rte.cl b/libclc/test/binding/core/FConvert_Rhalf8_rte.cl index 33e1aabb212ed..5fc3c5621fea0 100644 --- a/libclc/test/binding/core/FConvert_Rhalf8_rte.cl +++ b/libclc/test/binding/core/FConvert_Rhalf8_rte.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8_rte(__clc_vec8_fp32_t args_0) { return __spirv_FConvert_Rhalf8_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8_rte(__clc_vec8_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf8_rtn.cl b/libclc/test/binding/core/FConvert_Rhalf8_rtn.cl index 9cda98ed9a389..77372464801c1 100644 --- a/libclc/test/binding/core/FConvert_Rhalf8_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rhalf8_rtn.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8_rtn(__clc_vec8_fp32_t args_0) { return __spirv_FConvert_Rhalf8_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8_rtn(__clc_vec8_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf8_rtp.cl b/libclc/test/binding/core/FConvert_Rhalf8_rtp.cl index 886cad3a23d7c..0479d6c790ef0 100644 --- a/libclc/test/binding/core/FConvert_Rhalf8_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rhalf8_rtp.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8_rtp(__clc_vec8_fp32_t args_0) { return __spirv_FConvert_Rhalf8_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8_rtp(__clc_vec8_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf8_rtz.cl b/libclc/test/binding/core/FConvert_Rhalf8_rtz.cl index 627686bb1995d..afc7646b97ea3 100644 --- a/libclc/test/binding/core/FConvert_Rhalf8_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rhalf8_rtz.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8_rtz(__clc_vec8_fp32_t args_0) { return __spirv_FConvert_Rhalf8_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_FConvert_Rhalf8_rtz(__clc_vec8_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf_rte.cl b/libclc/test/binding/core/FConvert_Rhalf_rte.cl index 94ce33a69b542..cc18f94edf346 100644 --- a/libclc/test/binding/core/FConvert_Rhalf_rte.cl +++ b/libclc/test/binding/core/FConvert_Rhalf_rte.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf_rte(__clc_fp32_t args_0) { return __spirv_FConvert_Rhalf_rte(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf_rte(__clc_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf_rtn.cl b/libclc/test/binding/core/FConvert_Rhalf_rtn.cl index 43a8d8833e6e2..d51c6ce0334a5 100644 --- a/libclc/test/binding/core/FConvert_Rhalf_rtn.cl +++ b/libclc/test/binding/core/FConvert_Rhalf_rtn.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf_rtn(__clc_fp32_t args_0) { return __spirv_FConvert_Rhalf_rtn(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf_rtn(__clc_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf_rtp.cl b/libclc/test/binding/core/FConvert_Rhalf_rtp.cl index 6f736e4ab7183..8af18df5c253e 100644 --- a/libclc/test/binding/core/FConvert_Rhalf_rtp.cl +++ b/libclc/test/binding/core/FConvert_Rhalf_rtp.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf_rtp(__clc_fp32_t args_0) { return __spirv_FConvert_Rhalf_rtp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf_rtp(__clc_fp64_t args_0) { diff --git a/libclc/test/binding/core/FConvert_Rhalf_rtz.cl b/libclc/test/binding/core/FConvert_Rhalf_rtz.cl index 4bebcac44907a..c08b7348c8763 100644 --- a/libclc/test/binding/core/FConvert_Rhalf_rtz.cl +++ b/libclc/test/binding/core/FConvert_Rhalf_rtz.cl @@ -9,20 +9,21 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf_rtz(__clc_fp32_t args_0) { return __spirv_FConvert_Rhalf_rtz(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) __clc_fp16_t test___spirv_FConvert_Rhalf_rtz(__clc_fp64_t args_0) { diff --git a/libclc/test/binding/core/FOrdEqual.cl b/libclc/test/binding/core/FOrdEqual.cl index 835528a99ac71..7a272d98b4a0d 100644 --- a/libclc/test/binding/core/FOrdEqual.cl +++ b/libclc/test/binding/core/FOrdEqual.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FOrdEqual(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FOrdEqual(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FOrdEqual(args_0, args_1); @@ -94,35 +95,35 @@ test___spirv_FOrdEqual(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FOrdEqual(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_FOrdEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FOrdEqual(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_FOrdEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FOrdEqual(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_FOrdEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FOrdEqual(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_FOrdEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FOrdEqual(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_FOrdEqual(args_0, args_1); diff --git a/libclc/test/binding/core/FOrdGreaterThan.cl b/libclc/test/binding/core/FOrdGreaterThan.cl index 6e8b6d0d1a411..b02ea4a32c1cb 100644 --- a/libclc/test/binding/core/FOrdGreaterThan.cl +++ b/libclc/test/binding/core/FOrdGreaterThan.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FOrdGreaterThan(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FOrdGreaterThan(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FOrdGreaterThan(args_0, args_1); @@ -104,7 +105,7 @@ test___spirv_FOrdGreaterThan(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FOrdGreaterThan(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_FOrdGreaterThan(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FOrdGreaterThan(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_FOrdGreaterThan(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FOrdGreaterThan(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_FOrdGreaterThan(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FOrdGreaterThan(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_FOrdGreaterThan(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FOrdGreaterThan(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/FOrdGreaterThanEqual.cl b/libclc/test/binding/core/FOrdGreaterThanEqual.cl index 34ea73ce011fc..82351be4c2e12 100644 --- a/libclc/test/binding/core/FOrdGreaterThanEqual.cl +++ b/libclc/test/binding/core/FOrdGreaterThanEqual.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FOrdGreaterThanEqual(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FOrdGreaterThanEqual(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FOrdGreaterThanEqual(args_0, args_1); @@ -104,7 +105,7 @@ test___spirv_FOrdGreaterThanEqual(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FOrdGreaterThanEqual(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_FOrdGreaterThanEqual(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FOrdGreaterThanEqual(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_FOrdGreaterThanEqual(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FOrdGreaterThanEqual(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_FOrdGreaterThanEqual(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FOrdGreaterThanEqual(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_FOrdGreaterThanEqual(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FOrdGreaterThanEqual(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/FOrdLessThan.cl b/libclc/test/binding/core/FOrdLessThan.cl index 966fa4c1340f6..f33417c6f13dd 100644 --- a/libclc/test/binding/core/FOrdLessThan.cl +++ b/libclc/test/binding/core/FOrdLessThan.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FOrdLessThan(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FOrdLessThan(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FOrdLessThan(args_0, args_1); @@ -96,35 +97,35 @@ test___spirv_FOrdLessThan(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FOrdLessThan(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_FOrdLessThan(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FOrdLessThan(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_FOrdLessThan(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FOrdLessThan(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_FOrdLessThan(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FOrdLessThan(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_FOrdLessThan(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FOrdLessThan(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/FOrdLessThanEqual.cl b/libclc/test/binding/core/FOrdLessThanEqual.cl index 309b49431e8a1..4ffddba1a320e 100644 --- a/libclc/test/binding/core/FOrdLessThanEqual.cl +++ b/libclc/test/binding/core/FOrdLessThanEqual.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FOrdLessThanEqual(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FOrdLessThanEqual(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FOrdLessThanEqual(args_0, args_1); @@ -104,7 +105,7 @@ test___spirv_FOrdLessThanEqual(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FOrdLessThanEqual(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_FOrdLessThanEqual(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FOrdLessThanEqual(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_FOrdLessThanEqual(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FOrdLessThanEqual(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_FOrdLessThanEqual(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FOrdLessThanEqual(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_FOrdLessThanEqual(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FOrdLessThanEqual(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/FOrdNotEqual.cl b/libclc/test/binding/core/FOrdNotEqual.cl index 69c9acbfd53bf..07554a851cebf 100644 --- a/libclc/test/binding/core/FOrdNotEqual.cl +++ b/libclc/test/binding/core/FOrdNotEqual.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FOrdNotEqual(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FOrdNotEqual(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FOrdNotEqual(args_0, args_1); @@ -96,35 +97,35 @@ test___spirv_FOrdNotEqual(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FOrdNotEqual(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_FOrdNotEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FOrdNotEqual(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_FOrdNotEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FOrdNotEqual(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_FOrdNotEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FOrdNotEqual(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_FOrdNotEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FOrdNotEqual(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/FUnordEqual.cl b/libclc/test/binding/core/FUnordEqual.cl index d43e6b848849a..cf44a9f4ee66e 100644 --- a/libclc/test/binding/core/FUnordEqual.cl +++ b/libclc/test/binding/core/FUnordEqual.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FUnordEqual(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FUnordEqual(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FUnordEqual(args_0, args_1); @@ -94,35 +95,35 @@ test___spirv_FUnordEqual(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FUnordEqual(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_FUnordEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FUnordEqual(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_FUnordEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FUnordEqual(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_FUnordEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FUnordEqual(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_FUnordEqual(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FUnordEqual(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_FUnordEqual(args_0, args_1); diff --git a/libclc/test/binding/core/FUnordGreaterThan.cl b/libclc/test/binding/core/FUnordGreaterThan.cl index db5f53d773e6b..3a69188449cfe 100644 --- a/libclc/test/binding/core/FUnordGreaterThan.cl +++ b/libclc/test/binding/core/FUnordGreaterThan.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FUnordGreaterThan(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FUnordGreaterThan(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FUnordGreaterThan(args_0, args_1); @@ -104,7 +105,7 @@ test___spirv_FUnordGreaterThan(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FUnordGreaterThan(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_FUnordGreaterThan(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FUnordGreaterThan(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_FUnordGreaterThan(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FUnordGreaterThan(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_FUnordGreaterThan(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FUnordGreaterThan(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_FUnordGreaterThan(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FUnordGreaterThan(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/FUnordGreaterThanEqual.cl b/libclc/test/binding/core/FUnordGreaterThanEqual.cl index 6dc385307b9e3..683b8428a683f 100644 --- a/libclc/test/binding/core/FUnordGreaterThanEqual.cl +++ b/libclc/test/binding/core/FUnordGreaterThanEqual.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FUnordGreaterThanEqual(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FUnordGreaterThanEqual(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FUnordGreaterThanEqual(args_0, args_1); @@ -104,7 +105,7 @@ test___spirv_FUnordGreaterThanEqual(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FUnordGreaterThanEqual(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_FUnordGreaterThanEqual(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FUnordGreaterThanEqual(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_FUnordGreaterThanEqual(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FUnordGreaterThanEqual(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_FUnordGreaterThanEqual(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FUnordGreaterThanEqual(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_FUnordGreaterThanEqual(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FUnordGreaterThanEqual(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/FUnordLessThan.cl b/libclc/test/binding/core/FUnordLessThan.cl index 200b3408dda82..a99ca6768ec30 100644 --- a/libclc/test/binding/core/FUnordLessThan.cl +++ b/libclc/test/binding/core/FUnordLessThan.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FUnordLessThan(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FUnordLessThan(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FUnordLessThan(args_0, args_1); @@ -104,7 +105,7 @@ test___spirv_FUnordLessThan(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FUnordLessThan(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_FUnordLessThan(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FUnordLessThan(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_FUnordLessThan(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FUnordLessThan(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_FUnordLessThan(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FUnordLessThan(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_FUnordLessThan(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FUnordLessThan(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/FUnordLessThanEqual.cl b/libclc/test/binding/core/FUnordLessThanEqual.cl index 579da01979c94..e347e4b086ee8 100644 --- a/libclc/test/binding/core/FUnordLessThanEqual.cl +++ b/libclc/test/binding/core/FUnordLessThanEqual.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FUnordLessThanEqual(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FUnordLessThanEqual(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FUnordLessThanEqual(args_0, args_1); @@ -104,7 +105,7 @@ test___spirv_FUnordLessThanEqual(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FUnordLessThanEqual(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_FUnordLessThanEqual(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FUnordLessThanEqual(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_FUnordLessThanEqual(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FUnordLessThanEqual(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_FUnordLessThanEqual(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FUnordLessThanEqual(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_FUnordLessThanEqual(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FUnordLessThanEqual(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/FUnordNotEqual.cl b/libclc/test/binding/core/FUnordNotEqual.cl index 55000d1f7ab29..f7445eebb905a 100644 --- a/libclc/test/binding/core/FUnordNotEqual.cl +++ b/libclc/test/binding/core/FUnordNotEqual.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_FUnordNotEqual(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_FUnordNotEqual(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_FUnordNotEqual(args_0, args_1); @@ -104,7 +105,7 @@ test___spirv_FUnordNotEqual(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_FUnordNotEqual(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_FUnordNotEqual(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_FUnordNotEqual(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_FUnordNotEqual(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_FUnordNotEqual(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_FUnordNotEqual(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_FUnordNotEqual(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_FUnordNotEqual(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_FUnordNotEqual(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/GroupAsyncCopy.cl b/libclc/test/binding/core/GroupAsyncCopy.cl index e1541ec4c733e..9484f1858f2f0 100644 --- a/libclc/test/binding/core/GroupAsyncCopy.cl +++ b/libclc/test/binding/core/GroupAsyncCopy.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -450,7 +451,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy(__clc_uint32_t args_0, __clc_fp16_t __local *args_1, __clc_fp16_t const __global *args_2, @@ -460,7 +461,7 @@ test___spirv_GroupAsyncCopy(__clc_uint32_t args_0, __clc_fp16_t __local *args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec2_fp16_t __local *args_1, __clc_vec2_fp16_t const __global *args_2, __clc_size_t args_3, @@ -469,7 +470,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec3_fp16_t __local *args_1, __clc_vec3_fp16_t const __global *args_2, __clc_size_t args_3, @@ -478,7 +479,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec4_fp16_t __local *args_1, __clc_vec4_fp16_t const __global *args_2, __clc_size_t args_3, @@ -487,7 +488,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec8_fp16_t __local *args_1, __clc_vec8_fp16_t const __global *args_2, __clc_size_t args_3, @@ -496,7 +497,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec16_fp16_t __local *args_1, __clc_vec16_fp16_t const __global *args_2, __clc_size_t args_3, @@ -937,7 +938,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_fp16_t __global *args_1, __clc_fp16_t const __local *args_2, __clc_size_t args_3, @@ -946,7 +947,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec2_fp16_t __global *args_1, __clc_vec2_fp16_t const __local *args_2, __clc_size_t args_3, @@ -955,7 +956,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec3_fp16_t __global *args_1, __clc_vec3_fp16_t const __local *args_2, __clc_size_t args_3, @@ -964,7 +965,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec4_fp16_t __global *args_1, __clc_vec4_fp16_t const __local *args_2, __clc_size_t args_3, @@ -973,7 +974,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec8_fp16_t __global *args_1, __clc_vec8_fp16_t const __local *args_2, __clc_size_t args_3, @@ -982,7 +983,7 @@ __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_event_t test___spirv_GroupAsyncCopy( __clc_uint32_t args_0, __clc_vec16_fp16_t __global *args_1, __clc_vec16_fp16_t const __local *args_2, __clc_size_t args_3, diff --git a/libclc/test/binding/core/GroupWaitEvents.cl b/libclc/test/binding/core/GroupWaitEvents.cl index 4f96bbbbc6dfd..93880e985eac2 100644 --- a/libclc/test/binding/core/GroupWaitEvents.cl +++ b/libclc/test/binding/core/GroupWaitEvents.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -cl-std=CL2.0 -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -cl-std=CL2.0 -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -cl-std=CL2.0 -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/IsFinite.cl b/libclc/test/binding/core/IsFinite.cl index 1cb067e4b0347..b4c5b9031214e 100644 --- a/libclc/test/binding/core/IsFinite.cl +++ b/libclc/test/binding/core/IsFinite.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_IsFinite(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_IsFinite(__clc_fp16_t args_0) { return __spirv_IsFinite(args_0); @@ -94,35 +95,35 @@ test___spirv_IsFinite(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_IsFinite(__clc_vec2_fp16_t args_0) { return __spirv_IsFinite(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_IsFinite(__clc_vec3_fp16_t args_0) { return __spirv_IsFinite(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_IsFinite(__clc_vec4_fp16_t args_0) { return __spirv_IsFinite(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_IsFinite(__clc_vec8_fp16_t args_0) { return __spirv_IsFinite(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_IsFinite(__clc_vec16_fp16_t args_0) { return __spirv_IsFinite(args_0); diff --git a/libclc/test/binding/core/IsInf.cl b/libclc/test/binding/core/IsInf.cl index 65278c7f0e15e..a966a0d8e9097 100644 --- a/libclc/test/binding/core/IsInf.cl +++ b/libclc/test/binding/core/IsInf.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_IsInf(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_IsInf(__clc_fp16_t args_0) { return __spirv_IsInf(args_0); @@ -94,35 +95,35 @@ test___spirv_IsInf(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_IsInf(__clc_vec2_fp16_t args_0) { return __spirv_IsInf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_IsInf(__clc_vec3_fp16_t args_0) { return __spirv_IsInf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_IsInf(__clc_vec4_fp16_t args_0) { return __spirv_IsInf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_IsInf(__clc_vec8_fp16_t args_0) { return __spirv_IsInf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_IsInf(__clc_vec16_fp16_t args_0) { return __spirv_IsInf(args_0); diff --git a/libclc/test/binding/core/IsNan.cl b/libclc/test/binding/core/IsNan.cl index ba77431a3294f..ea2f6a33a917e 100644 --- a/libclc/test/binding/core/IsNan.cl +++ b/libclc/test/binding/core/IsNan.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_IsNan(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_IsNan(__clc_fp16_t args_0) { return __spirv_IsNan(args_0); @@ -94,35 +95,35 @@ test___spirv_IsNan(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_IsNan(__clc_vec2_fp16_t args_0) { return __spirv_IsNan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_IsNan(__clc_vec3_fp16_t args_0) { return __spirv_IsNan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_IsNan(__clc_vec4_fp16_t args_0) { return __spirv_IsNan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_IsNan(__clc_vec8_fp16_t args_0) { return __spirv_IsNan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_IsNan(__clc_vec16_fp16_t args_0) { return __spirv_IsNan(args_0); diff --git a/libclc/test/binding/core/IsNormal.cl b/libclc/test/binding/core/IsNormal.cl index bf3e130b7f919..0f82339ace46f 100644 --- a/libclc/test/binding/core/IsNormal.cl +++ b/libclc/test/binding/core/IsNormal.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_IsNormal(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_IsNormal(__clc_fp16_t args_0) { return __spirv_IsNormal(args_0); @@ -94,35 +95,35 @@ test___spirv_IsNormal(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_IsNormal(__clc_vec2_fp16_t args_0) { return __spirv_IsNormal(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_IsNormal(__clc_vec3_fp16_t args_0) { return __spirv_IsNormal(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_IsNormal(__clc_vec4_fp16_t args_0) { return __spirv_IsNormal(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_IsNormal(__clc_vec8_fp16_t args_0) { return __spirv_IsNormal(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_IsNormal(__clc_vec16_fp16_t args_0) { return __spirv_IsNormal(args_0); diff --git a/libclc/test/binding/core/LessOrGreater.cl b/libclc/test/binding/core/LessOrGreater.cl index c277f0011d5c2..e341ccbdf4d10 100644 --- a/libclc/test/binding/core/LessOrGreater.cl +++ b/libclc/test/binding/core/LessOrGreater.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_LessOrGreater(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_LessOrGreater(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_LessOrGreater(args_0, args_1); @@ -96,35 +97,35 @@ test___spirv_LessOrGreater(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_LessOrGreater(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_LessOrGreater(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_LessOrGreater(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_LessOrGreater(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_LessOrGreater(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_LessOrGreater(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_LessOrGreater(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_LessOrGreater(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_LessOrGreater(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/core/MemoryBarrier.cl b/libclc/test/binding/core/MemoryBarrier.cl index 43a60d600da3a..8b9a2fa5cdfec 100644 --- a/libclc/test/binding/core/MemoryBarrier.cl +++ b/libclc/test/binding/core/MemoryBarrier.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/Ordered.cl b/libclc/test/binding/core/Ordered.cl index cf98d749984e9..432df5a08b3ca 100644 --- a/libclc/test/binding/core/Ordered.cl +++ b/libclc/test/binding/core/Ordered.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_Ordered(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_Ordered(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_Ordered(args_0, args_1); @@ -94,35 +95,35 @@ test___spirv_Ordered(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_Ordered(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_Ordered(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_Ordered(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_Ordered(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_Ordered(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_Ordered(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_Ordered(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_Ordered(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_Ordered(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_Ordered(args_0, args_1); diff --git a/libclc/test/binding/core/SConvert_Rchar.cl b/libclc/test/binding/core/SConvert_Rchar.cl index f543785653b90..8686527615acc 100644 --- a/libclc/test/binding/core/SConvert_Rchar.cl +++ b/libclc/test/binding/core/SConvert_Rchar.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar16.cl b/libclc/test/binding/core/SConvert_Rchar16.cl index e386c2ce2acef..4f1615a55fd85 100644 --- a/libclc/test/binding/core/SConvert_Rchar16.cl +++ b/libclc/test/binding/core/SConvert_Rchar16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar16_sat.cl b/libclc/test/binding/core/SConvert_Rchar16_sat.cl index 1b4c7862a5670..de16fccbcb292 100644 --- a/libclc/test/binding/core/SConvert_Rchar16_sat.cl +++ b/libclc/test/binding/core/SConvert_Rchar16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar2.cl b/libclc/test/binding/core/SConvert_Rchar2.cl index a131483b00e51..92a8e052408df 100644 --- a/libclc/test/binding/core/SConvert_Rchar2.cl +++ b/libclc/test/binding/core/SConvert_Rchar2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar2_sat.cl b/libclc/test/binding/core/SConvert_Rchar2_sat.cl index ac80b8e579bc9..9dbfc59c60315 100644 --- a/libclc/test/binding/core/SConvert_Rchar2_sat.cl +++ b/libclc/test/binding/core/SConvert_Rchar2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar3.cl b/libclc/test/binding/core/SConvert_Rchar3.cl index 2e9074722d145..ed2137c99d4d2 100644 --- a/libclc/test/binding/core/SConvert_Rchar3.cl +++ b/libclc/test/binding/core/SConvert_Rchar3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar3_sat.cl b/libclc/test/binding/core/SConvert_Rchar3_sat.cl index 1fae9aa669687..b9d32a2623580 100644 --- a/libclc/test/binding/core/SConvert_Rchar3_sat.cl +++ b/libclc/test/binding/core/SConvert_Rchar3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar4.cl b/libclc/test/binding/core/SConvert_Rchar4.cl index d611bf0f94993..9f58874b35020 100644 --- a/libclc/test/binding/core/SConvert_Rchar4.cl +++ b/libclc/test/binding/core/SConvert_Rchar4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar4_sat.cl b/libclc/test/binding/core/SConvert_Rchar4_sat.cl index 4e4e6ca0cd2d8..dac4ca9fab929 100644 --- a/libclc/test/binding/core/SConvert_Rchar4_sat.cl +++ b/libclc/test/binding/core/SConvert_Rchar4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar8.cl b/libclc/test/binding/core/SConvert_Rchar8.cl index 0fd794ba26871..91e3af699c0c6 100644 --- a/libclc/test/binding/core/SConvert_Rchar8.cl +++ b/libclc/test/binding/core/SConvert_Rchar8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar8_sat.cl b/libclc/test/binding/core/SConvert_Rchar8_sat.cl index 40a888e084a34..22ee68c0c90ef 100644 --- a/libclc/test/binding/core/SConvert_Rchar8_sat.cl +++ b/libclc/test/binding/core/SConvert_Rchar8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rchar_sat.cl b/libclc/test/binding/core/SConvert_Rchar_sat.cl index d8001fc42b817..6cb78097baf0c 100644 --- a/libclc/test/binding/core/SConvert_Rchar_sat.cl +++ b/libclc/test/binding/core/SConvert_Rchar_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint.cl b/libclc/test/binding/core/SConvert_Rint.cl index e05de9622c544..39c3e230cd7b7 100644 --- a/libclc/test/binding/core/SConvert_Rint.cl +++ b/libclc/test/binding/core/SConvert_Rint.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint16.cl b/libclc/test/binding/core/SConvert_Rint16.cl index 1850596258482..43c85bd83afda 100644 --- a/libclc/test/binding/core/SConvert_Rint16.cl +++ b/libclc/test/binding/core/SConvert_Rint16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint16_sat.cl b/libclc/test/binding/core/SConvert_Rint16_sat.cl index 63f160275b28a..0f0f05391be1d 100644 --- a/libclc/test/binding/core/SConvert_Rint16_sat.cl +++ b/libclc/test/binding/core/SConvert_Rint16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint2.cl b/libclc/test/binding/core/SConvert_Rint2.cl index 27b5eda64f64b..6c7c2e0fb9e76 100644 --- a/libclc/test/binding/core/SConvert_Rint2.cl +++ b/libclc/test/binding/core/SConvert_Rint2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint2_sat.cl b/libclc/test/binding/core/SConvert_Rint2_sat.cl index afdb051bd9368..8b0486e75e406 100644 --- a/libclc/test/binding/core/SConvert_Rint2_sat.cl +++ b/libclc/test/binding/core/SConvert_Rint2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint3.cl b/libclc/test/binding/core/SConvert_Rint3.cl index a4fc6a73d6deb..1c1faff836619 100644 --- a/libclc/test/binding/core/SConvert_Rint3.cl +++ b/libclc/test/binding/core/SConvert_Rint3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint3_sat.cl b/libclc/test/binding/core/SConvert_Rint3_sat.cl index 72189ea1ee55c..dbe26eef0e535 100644 --- a/libclc/test/binding/core/SConvert_Rint3_sat.cl +++ b/libclc/test/binding/core/SConvert_Rint3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint4.cl b/libclc/test/binding/core/SConvert_Rint4.cl index a88749c820af9..5c2b5b0a4b036 100644 --- a/libclc/test/binding/core/SConvert_Rint4.cl +++ b/libclc/test/binding/core/SConvert_Rint4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint4_sat.cl b/libclc/test/binding/core/SConvert_Rint4_sat.cl index b27abb51a0885..0d9227b796579 100644 --- a/libclc/test/binding/core/SConvert_Rint4_sat.cl +++ b/libclc/test/binding/core/SConvert_Rint4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint8.cl b/libclc/test/binding/core/SConvert_Rint8.cl index 88f28e656c511..9df492c467a23 100644 --- a/libclc/test/binding/core/SConvert_Rint8.cl +++ b/libclc/test/binding/core/SConvert_Rint8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint8_sat.cl b/libclc/test/binding/core/SConvert_Rint8_sat.cl index b481e1f220d9b..f223546f85d96 100644 --- a/libclc/test/binding/core/SConvert_Rint8_sat.cl +++ b/libclc/test/binding/core/SConvert_Rint8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rint_sat.cl b/libclc/test/binding/core/SConvert_Rint_sat.cl index 7e27164c89054..ce559c19dd894 100644 --- a/libclc/test/binding/core/SConvert_Rint_sat.cl +++ b/libclc/test/binding/core/SConvert_Rint_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong.cl b/libclc/test/binding/core/SConvert_Rlong.cl index 65dd7277965a9..0d28b26c8140a 100644 --- a/libclc/test/binding/core/SConvert_Rlong.cl +++ b/libclc/test/binding/core/SConvert_Rlong.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong16.cl b/libclc/test/binding/core/SConvert_Rlong16.cl index 4658795322859..006895bf92301 100644 --- a/libclc/test/binding/core/SConvert_Rlong16.cl +++ b/libclc/test/binding/core/SConvert_Rlong16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong16_sat.cl b/libclc/test/binding/core/SConvert_Rlong16_sat.cl index a77d106c63648..74c9b51ad43d0 100644 --- a/libclc/test/binding/core/SConvert_Rlong16_sat.cl +++ b/libclc/test/binding/core/SConvert_Rlong16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong2.cl b/libclc/test/binding/core/SConvert_Rlong2.cl index 362765b9ae21d..984300c8accba 100644 --- a/libclc/test/binding/core/SConvert_Rlong2.cl +++ b/libclc/test/binding/core/SConvert_Rlong2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong2_sat.cl b/libclc/test/binding/core/SConvert_Rlong2_sat.cl index 0873a00471cc8..ad020b74da151 100644 --- a/libclc/test/binding/core/SConvert_Rlong2_sat.cl +++ b/libclc/test/binding/core/SConvert_Rlong2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong3.cl b/libclc/test/binding/core/SConvert_Rlong3.cl index 85a98b955759b..cf2a8a9620f17 100644 --- a/libclc/test/binding/core/SConvert_Rlong3.cl +++ b/libclc/test/binding/core/SConvert_Rlong3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong3_sat.cl b/libclc/test/binding/core/SConvert_Rlong3_sat.cl index 2d85b02436942..34142f3cbec56 100644 --- a/libclc/test/binding/core/SConvert_Rlong3_sat.cl +++ b/libclc/test/binding/core/SConvert_Rlong3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong4.cl b/libclc/test/binding/core/SConvert_Rlong4.cl index 2fde9723f311d..241ce83930d1a 100644 --- a/libclc/test/binding/core/SConvert_Rlong4.cl +++ b/libclc/test/binding/core/SConvert_Rlong4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong4_sat.cl b/libclc/test/binding/core/SConvert_Rlong4_sat.cl index 9df2c3963d76c..37f3d744eb0e9 100644 --- a/libclc/test/binding/core/SConvert_Rlong4_sat.cl +++ b/libclc/test/binding/core/SConvert_Rlong4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong8.cl b/libclc/test/binding/core/SConvert_Rlong8.cl index b76137bd4e14c..ef5b6056b0c27 100644 --- a/libclc/test/binding/core/SConvert_Rlong8.cl +++ b/libclc/test/binding/core/SConvert_Rlong8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong8_sat.cl b/libclc/test/binding/core/SConvert_Rlong8_sat.cl index 86f6326bdfd67..3e72669a10b17 100644 --- a/libclc/test/binding/core/SConvert_Rlong8_sat.cl +++ b/libclc/test/binding/core/SConvert_Rlong8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rlong_sat.cl b/libclc/test/binding/core/SConvert_Rlong_sat.cl index 125859c25122e..232b83825e537 100644 --- a/libclc/test/binding/core/SConvert_Rlong_sat.cl +++ b/libclc/test/binding/core/SConvert_Rlong_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort.cl b/libclc/test/binding/core/SConvert_Rshort.cl index 1baaf2e9e9ef1..88cedfa8be765 100644 --- a/libclc/test/binding/core/SConvert_Rshort.cl +++ b/libclc/test/binding/core/SConvert_Rshort.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort16.cl b/libclc/test/binding/core/SConvert_Rshort16.cl index e79d8357efbf8..a070e8215a7b8 100644 --- a/libclc/test/binding/core/SConvert_Rshort16.cl +++ b/libclc/test/binding/core/SConvert_Rshort16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort16_sat.cl b/libclc/test/binding/core/SConvert_Rshort16_sat.cl index e856cc7177a11..227cd76c697a4 100644 --- a/libclc/test/binding/core/SConvert_Rshort16_sat.cl +++ b/libclc/test/binding/core/SConvert_Rshort16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort2.cl b/libclc/test/binding/core/SConvert_Rshort2.cl index 8376255609bba..8c1d1df9d15b5 100644 --- a/libclc/test/binding/core/SConvert_Rshort2.cl +++ b/libclc/test/binding/core/SConvert_Rshort2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort2_sat.cl b/libclc/test/binding/core/SConvert_Rshort2_sat.cl index 374a369dec5fe..e225b8f03886c 100644 --- a/libclc/test/binding/core/SConvert_Rshort2_sat.cl +++ b/libclc/test/binding/core/SConvert_Rshort2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort3.cl b/libclc/test/binding/core/SConvert_Rshort3.cl index d1149445908d7..235ad4091316e 100644 --- a/libclc/test/binding/core/SConvert_Rshort3.cl +++ b/libclc/test/binding/core/SConvert_Rshort3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort3_sat.cl b/libclc/test/binding/core/SConvert_Rshort3_sat.cl index 8e578be2575cb..0c1465932dbd5 100644 --- a/libclc/test/binding/core/SConvert_Rshort3_sat.cl +++ b/libclc/test/binding/core/SConvert_Rshort3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort4.cl b/libclc/test/binding/core/SConvert_Rshort4.cl index 21ed598dc7868..84a99e4767d35 100644 --- a/libclc/test/binding/core/SConvert_Rshort4.cl +++ b/libclc/test/binding/core/SConvert_Rshort4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort4_sat.cl b/libclc/test/binding/core/SConvert_Rshort4_sat.cl index 49b21eff09cc5..25be318e0a0cf 100644 --- a/libclc/test/binding/core/SConvert_Rshort4_sat.cl +++ b/libclc/test/binding/core/SConvert_Rshort4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort8.cl b/libclc/test/binding/core/SConvert_Rshort8.cl index c592d8a9979e9..f6fdbbfae594f 100644 --- a/libclc/test/binding/core/SConvert_Rshort8.cl +++ b/libclc/test/binding/core/SConvert_Rshort8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort8_sat.cl b/libclc/test/binding/core/SConvert_Rshort8_sat.cl index 7eced4114bc57..d94f02eb5b1ac 100644 --- a/libclc/test/binding/core/SConvert_Rshort8_sat.cl +++ b/libclc/test/binding/core/SConvert_Rshort8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SConvert_Rshort_sat.cl b/libclc/test/binding/core/SConvert_Rshort_sat.cl index 48d83cf5049c9..678d6a99a5486 100644 --- a/libclc/test/binding/core/SConvert_Rshort_sat.cl +++ b/libclc/test/binding/core/SConvert_Rshort_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruchar.cl b/libclc/test/binding/core/SatConvertSToU_Ruchar.cl index 0bf13566a9520..cc2e19ce56c3b 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruchar.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruchar.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruchar16.cl b/libclc/test/binding/core/SatConvertSToU_Ruchar16.cl index 6875288bc9ea3..cb22b37f5fab9 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruchar16.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruchar16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruchar2.cl b/libclc/test/binding/core/SatConvertSToU_Ruchar2.cl index 3da90b377e516..1feb87e91c060 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruchar2.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruchar2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruchar3.cl b/libclc/test/binding/core/SatConvertSToU_Ruchar3.cl index 082c79336eed5..3190bef191495 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruchar3.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruchar3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruchar4.cl b/libclc/test/binding/core/SatConvertSToU_Ruchar4.cl index 3183b3312311c..b2ef450994a26 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruchar4.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruchar4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruchar8.cl b/libclc/test/binding/core/SatConvertSToU_Ruchar8.cl index 658cb5c3033aa..5240edc688a3c 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruchar8.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruchar8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruint.cl b/libclc/test/binding/core/SatConvertSToU_Ruint.cl index 4f1a6a34c0246..e03c9fddecdb0 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruint.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruint.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruint16.cl b/libclc/test/binding/core/SatConvertSToU_Ruint16.cl index 5ec79faaf664f..5defcc3adb92d 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruint16.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruint16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruint2.cl b/libclc/test/binding/core/SatConvertSToU_Ruint2.cl index d8db4a478dfa5..ca9ca5305fd9d 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruint2.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruint2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruint3.cl b/libclc/test/binding/core/SatConvertSToU_Ruint3.cl index 35d3ebd4dc2f4..bf8df8110caa3 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruint3.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruint3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruint4.cl b/libclc/test/binding/core/SatConvertSToU_Ruint4.cl index 247d25b2f03bb..f71a334ed3791 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruint4.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruint4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Ruint8.cl b/libclc/test/binding/core/SatConvertSToU_Ruint8.cl index a4c9c335996fc..9100e8f5d8e05 100644 --- a/libclc/test/binding/core/SatConvertSToU_Ruint8.cl +++ b/libclc/test/binding/core/SatConvertSToU_Ruint8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rulong.cl b/libclc/test/binding/core/SatConvertSToU_Rulong.cl index bbfa09a0daa79..a7896f2cfe0b9 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rulong.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rulong.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rulong16.cl b/libclc/test/binding/core/SatConvertSToU_Rulong16.cl index a3a02b5d503f2..d0362a499b6e0 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rulong16.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rulong16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rulong2.cl b/libclc/test/binding/core/SatConvertSToU_Rulong2.cl index f249346fc0fa3..b5e99b161a5a2 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rulong2.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rulong2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rulong3.cl b/libclc/test/binding/core/SatConvertSToU_Rulong3.cl index 5eef0226766b3..0d344c5702959 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rulong3.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rulong3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rulong4.cl b/libclc/test/binding/core/SatConvertSToU_Rulong4.cl index 7c7f7edad2acb..293413997262d 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rulong4.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rulong4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rulong8.cl b/libclc/test/binding/core/SatConvertSToU_Rulong8.cl index 7c8474478b197..cd0f148f6218a 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rulong8.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rulong8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rushort.cl b/libclc/test/binding/core/SatConvertSToU_Rushort.cl index da1c544f1e4cc..eeffa96376d03 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rushort.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rushort.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rushort16.cl b/libclc/test/binding/core/SatConvertSToU_Rushort16.cl index f4cbbfa8d3c6e..cfcd60b28b8f1 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rushort16.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rushort16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rushort2.cl b/libclc/test/binding/core/SatConvertSToU_Rushort2.cl index 8734b48d56076..33b21b73c0852 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rushort2.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rushort2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rushort3.cl b/libclc/test/binding/core/SatConvertSToU_Rushort3.cl index 38a80fec5ad8f..e1d0916ccb43e 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rushort3.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rushort3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rushort4.cl b/libclc/test/binding/core/SatConvertSToU_Rushort4.cl index 302e44b7aa5b7..e5b6efc9952b4 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rushort4.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rushort4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertSToU_Rushort8.cl b/libclc/test/binding/core/SatConvertSToU_Rushort8.cl index 9d3dbd6fd7f73..8de5b504855ef 100644 --- a/libclc/test/binding/core/SatConvertSToU_Rushort8.cl +++ b/libclc/test/binding/core/SatConvertSToU_Rushort8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rchar.cl b/libclc/test/binding/core/SatConvertUToS_Rchar.cl index 92aa4a48ed2e9..b8fcd29a72d69 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rchar.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rchar.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rchar16.cl b/libclc/test/binding/core/SatConvertUToS_Rchar16.cl index dcde7aa6c828e..39e2da425bbfb 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rchar16.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rchar16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rchar2.cl b/libclc/test/binding/core/SatConvertUToS_Rchar2.cl index 1a251892dd2ea..edd2a1319ef34 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rchar2.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rchar2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rchar3.cl b/libclc/test/binding/core/SatConvertUToS_Rchar3.cl index 4fc528ee2a313..23bfef3c714ce 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rchar3.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rchar3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rchar4.cl b/libclc/test/binding/core/SatConvertUToS_Rchar4.cl index 092e127af8908..921fb2b9c9fa7 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rchar4.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rchar4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rchar8.cl b/libclc/test/binding/core/SatConvertUToS_Rchar8.cl index 10b5aa79a62fc..8f05138bf736f 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rchar8.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rchar8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rint.cl b/libclc/test/binding/core/SatConvertUToS_Rint.cl index 14a3a91828d9d..39443361eef0f 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rint.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rint.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rint16.cl b/libclc/test/binding/core/SatConvertUToS_Rint16.cl index 6ae4e9674c4f1..becfb79193006 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rint16.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rint16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rint2.cl b/libclc/test/binding/core/SatConvertUToS_Rint2.cl index 04bbd4a435921..ddb6db080c53c 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rint2.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rint2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rint3.cl b/libclc/test/binding/core/SatConvertUToS_Rint3.cl index 9ead39bf66187..12fa5126b3c74 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rint3.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rint3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rint4.cl b/libclc/test/binding/core/SatConvertUToS_Rint4.cl index c08df02a75f93..f94ab62a20f64 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rint4.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rint4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rint8.cl b/libclc/test/binding/core/SatConvertUToS_Rint8.cl index 1c0f8b7c98df0..df6859621137f 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rint8.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rint8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rlong.cl b/libclc/test/binding/core/SatConvertUToS_Rlong.cl index 8cf01dc96397d..c90528b6691b7 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rlong.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rlong.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rlong16.cl b/libclc/test/binding/core/SatConvertUToS_Rlong16.cl index c818291d6084a..71aa4c78ae052 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rlong16.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rlong16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rlong2.cl b/libclc/test/binding/core/SatConvertUToS_Rlong2.cl index 7b6deb344762c..5caca20dc5007 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rlong2.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rlong2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rlong3.cl b/libclc/test/binding/core/SatConvertUToS_Rlong3.cl index 4d845bf2d0ab4..30acc7f28b456 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rlong3.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rlong3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rlong4.cl b/libclc/test/binding/core/SatConvertUToS_Rlong4.cl index 83f7f7c9e85bd..ddb016b9bcbf9 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rlong4.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rlong4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rlong8.cl b/libclc/test/binding/core/SatConvertUToS_Rlong8.cl index 30bb0a43f2349..1029ba790de97 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rlong8.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rlong8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rshort.cl b/libclc/test/binding/core/SatConvertUToS_Rshort.cl index 7a839e4b8ed2b..5239b050b80e6 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rshort.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rshort.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rshort16.cl b/libclc/test/binding/core/SatConvertUToS_Rshort16.cl index 06bed02ead712..91ef6676798df 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rshort16.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rshort16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rshort2.cl b/libclc/test/binding/core/SatConvertUToS_Rshort2.cl index 1e6fa36a6b2ef..e5e53f1e4cd9f 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rshort2.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rshort2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rshort3.cl b/libclc/test/binding/core/SatConvertUToS_Rshort3.cl index b5ebfe3b07d81..69863b7bb84a8 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rshort3.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rshort3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rshort4.cl b/libclc/test/binding/core/SatConvertUToS_Rshort4.cl index 450b999dbd791..0c5bf374812b3 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rshort4.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rshort4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SatConvertUToS_Rshort8.cl b/libclc/test/binding/core/SatConvertUToS_Rshort8.cl index 1f8a7380553c1..bb6de14e9174b 100644 --- a/libclc/test/binding/core/SatConvertUToS_Rshort8.cl +++ b/libclc/test/binding/core/SatConvertUToS_Rshort8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/SignBitSet.cl b/libclc/test/binding/core/SignBitSet.cl index 1f82fd8b72676..1bdff19639619 100644 --- a/libclc/test/binding/core/SignBitSet.cl +++ b/libclc/test/binding/core/SignBitSet.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_SignBitSet(__clc_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_SignBitSet(__clc_fp16_t args_0) { return __spirv_SignBitSet(args_0); @@ -94,35 +95,35 @@ test___spirv_SignBitSet(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_SignBitSet(__clc_vec2_fp16_t args_0) { return __spirv_SignBitSet(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_SignBitSet(__clc_vec3_fp16_t args_0) { return __spirv_SignBitSet(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_SignBitSet(__clc_vec4_fp16_t args_0) { return __spirv_SignBitSet(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_SignBitSet(__clc_vec8_fp16_t args_0) { return __spirv_SignBitSet(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_SignBitSet(__clc_vec16_fp16_t args_0) { return __spirv_SignBitSet(args_0); diff --git a/libclc/test/binding/core/UConvert_Ruchar.cl b/libclc/test/binding/core/UConvert_Ruchar.cl index 6afde55c5b815..5c7bd092d6439 100644 --- a/libclc/test/binding/core/UConvert_Ruchar.cl +++ b/libclc/test/binding/core/UConvert_Ruchar.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar16.cl b/libclc/test/binding/core/UConvert_Ruchar16.cl index 26270fb564a68..8c09b9c0ae2b4 100644 --- a/libclc/test/binding/core/UConvert_Ruchar16.cl +++ b/libclc/test/binding/core/UConvert_Ruchar16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar16_sat.cl b/libclc/test/binding/core/UConvert_Ruchar16_sat.cl index 9d75bb414e124..02c1b1c88d27e 100644 --- a/libclc/test/binding/core/UConvert_Ruchar16_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruchar16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar2.cl b/libclc/test/binding/core/UConvert_Ruchar2.cl index e68867addd14b..bd430b5ce3683 100644 --- a/libclc/test/binding/core/UConvert_Ruchar2.cl +++ b/libclc/test/binding/core/UConvert_Ruchar2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar2_sat.cl b/libclc/test/binding/core/UConvert_Ruchar2_sat.cl index 5d19324bc0660..b2d176dc526cb 100644 --- a/libclc/test/binding/core/UConvert_Ruchar2_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruchar2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar3.cl b/libclc/test/binding/core/UConvert_Ruchar3.cl index 0f9e8e08890f6..d8950eb10a596 100644 --- a/libclc/test/binding/core/UConvert_Ruchar3.cl +++ b/libclc/test/binding/core/UConvert_Ruchar3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar3_sat.cl b/libclc/test/binding/core/UConvert_Ruchar3_sat.cl index 24b47feea3b64..f414121a9ebd1 100644 --- a/libclc/test/binding/core/UConvert_Ruchar3_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruchar3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar4.cl b/libclc/test/binding/core/UConvert_Ruchar4.cl index 4e007caaaa598..ff8e1e0c3633b 100644 --- a/libclc/test/binding/core/UConvert_Ruchar4.cl +++ b/libclc/test/binding/core/UConvert_Ruchar4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar4_sat.cl b/libclc/test/binding/core/UConvert_Ruchar4_sat.cl index 4b2fb67764ade..b4c894f86e3e9 100644 --- a/libclc/test/binding/core/UConvert_Ruchar4_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruchar4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar8.cl b/libclc/test/binding/core/UConvert_Ruchar8.cl index f0275132b6ad3..4cba6097ae7b6 100644 --- a/libclc/test/binding/core/UConvert_Ruchar8.cl +++ b/libclc/test/binding/core/UConvert_Ruchar8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar8_sat.cl b/libclc/test/binding/core/UConvert_Ruchar8_sat.cl index 1a6235c8a79ed..6cefeb1c80c80 100644 --- a/libclc/test/binding/core/UConvert_Ruchar8_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruchar8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruchar_sat.cl b/libclc/test/binding/core/UConvert_Ruchar_sat.cl index e8bf919b2a94f..cb358ef103e76 100644 --- a/libclc/test/binding/core/UConvert_Ruchar_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruchar_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint.cl b/libclc/test/binding/core/UConvert_Ruint.cl index 426528a6bfabc..bb17fdc15ab74 100644 --- a/libclc/test/binding/core/UConvert_Ruint.cl +++ b/libclc/test/binding/core/UConvert_Ruint.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint16.cl b/libclc/test/binding/core/UConvert_Ruint16.cl index 4a26348cba0a2..54e771593e095 100644 --- a/libclc/test/binding/core/UConvert_Ruint16.cl +++ b/libclc/test/binding/core/UConvert_Ruint16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint16_sat.cl b/libclc/test/binding/core/UConvert_Ruint16_sat.cl index e726cf4a149a0..cbdae39225d69 100644 --- a/libclc/test/binding/core/UConvert_Ruint16_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruint16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint2.cl b/libclc/test/binding/core/UConvert_Ruint2.cl index 9c1a878886ed9..4a0d6b2e1f5e2 100644 --- a/libclc/test/binding/core/UConvert_Ruint2.cl +++ b/libclc/test/binding/core/UConvert_Ruint2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint2_sat.cl b/libclc/test/binding/core/UConvert_Ruint2_sat.cl index 94154d523ad8f..06c76ce2fbb6f 100644 --- a/libclc/test/binding/core/UConvert_Ruint2_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruint2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint3.cl b/libclc/test/binding/core/UConvert_Ruint3.cl index 409d364105fb8..f5bc58a7cb644 100644 --- a/libclc/test/binding/core/UConvert_Ruint3.cl +++ b/libclc/test/binding/core/UConvert_Ruint3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint3_sat.cl b/libclc/test/binding/core/UConvert_Ruint3_sat.cl index 2fb2964672359..df68b6e97443d 100644 --- a/libclc/test/binding/core/UConvert_Ruint3_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruint3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint4.cl b/libclc/test/binding/core/UConvert_Ruint4.cl index 2ed5c33fb491b..52bfc7b0437bc 100644 --- a/libclc/test/binding/core/UConvert_Ruint4.cl +++ b/libclc/test/binding/core/UConvert_Ruint4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint4_sat.cl b/libclc/test/binding/core/UConvert_Ruint4_sat.cl index 5fd5f41934b7e..43ce6716eece4 100644 --- a/libclc/test/binding/core/UConvert_Ruint4_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruint4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint8.cl b/libclc/test/binding/core/UConvert_Ruint8.cl index 4eb746b3a8cc8..8e4bbc812f3c8 100644 --- a/libclc/test/binding/core/UConvert_Ruint8.cl +++ b/libclc/test/binding/core/UConvert_Ruint8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint8_sat.cl b/libclc/test/binding/core/UConvert_Ruint8_sat.cl index eed7aa854f52c..2e0d595cb567f 100644 --- a/libclc/test/binding/core/UConvert_Ruint8_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruint8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Ruint_sat.cl b/libclc/test/binding/core/UConvert_Ruint_sat.cl index 3529f5920e26e..192a5548b4c90 100644 --- a/libclc/test/binding/core/UConvert_Ruint_sat.cl +++ b/libclc/test/binding/core/UConvert_Ruint_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong.cl b/libclc/test/binding/core/UConvert_Rulong.cl index 8c826ff9ab705..1d082c1cc518a 100644 --- a/libclc/test/binding/core/UConvert_Rulong.cl +++ b/libclc/test/binding/core/UConvert_Rulong.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong16.cl b/libclc/test/binding/core/UConvert_Rulong16.cl index 8d9cc7a30a24b..9041fac3bb0f3 100644 --- a/libclc/test/binding/core/UConvert_Rulong16.cl +++ b/libclc/test/binding/core/UConvert_Rulong16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong16_sat.cl b/libclc/test/binding/core/UConvert_Rulong16_sat.cl index 102cc614b66b8..db38a13ae11d4 100644 --- a/libclc/test/binding/core/UConvert_Rulong16_sat.cl +++ b/libclc/test/binding/core/UConvert_Rulong16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong2.cl b/libclc/test/binding/core/UConvert_Rulong2.cl index 92d6a8688bbda..1b0d8cbd54c22 100644 --- a/libclc/test/binding/core/UConvert_Rulong2.cl +++ b/libclc/test/binding/core/UConvert_Rulong2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong2_sat.cl b/libclc/test/binding/core/UConvert_Rulong2_sat.cl index 746b20c8de502..dab534f1297b7 100644 --- a/libclc/test/binding/core/UConvert_Rulong2_sat.cl +++ b/libclc/test/binding/core/UConvert_Rulong2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong3.cl b/libclc/test/binding/core/UConvert_Rulong3.cl index 7f30f21f1adfa..396ff29356aac 100644 --- a/libclc/test/binding/core/UConvert_Rulong3.cl +++ b/libclc/test/binding/core/UConvert_Rulong3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong3_sat.cl b/libclc/test/binding/core/UConvert_Rulong3_sat.cl index c8bc886be8cff..7b325d1e953c9 100644 --- a/libclc/test/binding/core/UConvert_Rulong3_sat.cl +++ b/libclc/test/binding/core/UConvert_Rulong3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong4.cl b/libclc/test/binding/core/UConvert_Rulong4.cl index 902373c809589..84d86094fc9de 100644 --- a/libclc/test/binding/core/UConvert_Rulong4.cl +++ b/libclc/test/binding/core/UConvert_Rulong4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong4_sat.cl b/libclc/test/binding/core/UConvert_Rulong4_sat.cl index 7543f1a92458e..473422417c24d 100644 --- a/libclc/test/binding/core/UConvert_Rulong4_sat.cl +++ b/libclc/test/binding/core/UConvert_Rulong4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong8.cl b/libclc/test/binding/core/UConvert_Rulong8.cl index dd43bfda24b20..3f0e8c3c8dbf9 100644 --- a/libclc/test/binding/core/UConvert_Rulong8.cl +++ b/libclc/test/binding/core/UConvert_Rulong8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong8_sat.cl b/libclc/test/binding/core/UConvert_Rulong8_sat.cl index 15f72bc393d1c..e27c1a5776502 100644 --- a/libclc/test/binding/core/UConvert_Rulong8_sat.cl +++ b/libclc/test/binding/core/UConvert_Rulong8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rulong_sat.cl b/libclc/test/binding/core/UConvert_Rulong_sat.cl index d1561646ba385..3d5d12a788628 100644 --- a/libclc/test/binding/core/UConvert_Rulong_sat.cl +++ b/libclc/test/binding/core/UConvert_Rulong_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort.cl b/libclc/test/binding/core/UConvert_Rushort.cl index 84a9eb76afcf5..3f2e73b19dfa7 100644 --- a/libclc/test/binding/core/UConvert_Rushort.cl +++ b/libclc/test/binding/core/UConvert_Rushort.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort16.cl b/libclc/test/binding/core/UConvert_Rushort16.cl index e97f252a3b125..706e42cd981e9 100644 --- a/libclc/test/binding/core/UConvert_Rushort16.cl +++ b/libclc/test/binding/core/UConvert_Rushort16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort16_sat.cl b/libclc/test/binding/core/UConvert_Rushort16_sat.cl index 9c3f804724247..3ccc302df7e9f 100644 --- a/libclc/test/binding/core/UConvert_Rushort16_sat.cl +++ b/libclc/test/binding/core/UConvert_Rushort16_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort2.cl b/libclc/test/binding/core/UConvert_Rushort2.cl index e4b3b0b7c7ac6..af676e3305570 100644 --- a/libclc/test/binding/core/UConvert_Rushort2.cl +++ b/libclc/test/binding/core/UConvert_Rushort2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort2_sat.cl b/libclc/test/binding/core/UConvert_Rushort2_sat.cl index 50e9e54b3daa7..19b59e6caea3b 100644 --- a/libclc/test/binding/core/UConvert_Rushort2_sat.cl +++ b/libclc/test/binding/core/UConvert_Rushort2_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort3.cl b/libclc/test/binding/core/UConvert_Rushort3.cl index 9a21942a349a6..dade2ca2866c2 100644 --- a/libclc/test/binding/core/UConvert_Rushort3.cl +++ b/libclc/test/binding/core/UConvert_Rushort3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort3_sat.cl b/libclc/test/binding/core/UConvert_Rushort3_sat.cl index c96826c3bf19d..e88ee33b94d17 100644 --- a/libclc/test/binding/core/UConvert_Rushort3_sat.cl +++ b/libclc/test/binding/core/UConvert_Rushort3_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort4.cl b/libclc/test/binding/core/UConvert_Rushort4.cl index 56a31bbb2df73..50e019c46d87b 100644 --- a/libclc/test/binding/core/UConvert_Rushort4.cl +++ b/libclc/test/binding/core/UConvert_Rushort4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort4_sat.cl b/libclc/test/binding/core/UConvert_Rushort4_sat.cl index 8bfbc71ff4d75..a719c2b4f0ad3 100644 --- a/libclc/test/binding/core/UConvert_Rushort4_sat.cl +++ b/libclc/test/binding/core/UConvert_Rushort4_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort8.cl b/libclc/test/binding/core/UConvert_Rushort8.cl index 32790cbc2f334..17fd026716630 100644 --- a/libclc/test/binding/core/UConvert_Rushort8.cl +++ b/libclc/test/binding/core/UConvert_Rushort8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort8_sat.cl b/libclc/test/binding/core/UConvert_Rushort8_sat.cl index ffe09255fbc1f..319ff2a9b0fb7 100644 --- a/libclc/test/binding/core/UConvert_Rushort8_sat.cl +++ b/libclc/test/binding/core/UConvert_Rushort8_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/UConvert_Rushort_sat.cl b/libclc/test/binding/core/UConvert_Rushort_sat.cl index da49cef805dea..f4cc6d9b06679 100644 --- a/libclc/test/binding/core/UConvert_Rushort_sat.cl +++ b/libclc/test/binding/core/UConvert_Rushort_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/core/Unordered.cl b/libclc/test/binding/core/Unordered.cl index df36c5737be63..ee78399bce309 100644 --- a/libclc/test/binding/core/Unordered.cl +++ b/libclc/test/binding/core/Unordered.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_Unordered(__clc_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_bool_t test___spirv_Unordered(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_Unordered(args_0, args_1); @@ -94,35 +95,35 @@ test___spirv_Unordered(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int8_t test___spirv_Unordered(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_Unordered(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int8_t test___spirv_Unordered(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_Unordered(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int8_t test___spirv_Unordered(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_Unordered(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int8_t test___spirv_Unordered(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_Unordered(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int8_t test___spirv_Unordered(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_Unordered(args_0, args_1); diff --git a/libclc/test/binding/core/VectorTimesScalar.cl b/libclc/test/binding/core/VectorTimesScalar.cl index dfc82b3e76980..20076f8d57dd2 100644 --- a/libclc/test/binding/core/VectorTimesScalar.cl +++ b/libclc/test/binding/core/VectorTimesScalar.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -75,35 +76,35 @@ test___spirv_VectorTimesScalar(__clc_vec16_fp64_t args_0, __clc_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_VectorTimesScalar(__clc_vec2_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_VectorTimesScalar(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_VectorTimesScalar(__clc_vec3_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_VectorTimesScalar(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_VectorTimesScalar(__clc_vec4_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_VectorTimesScalar(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_VectorTimesScalar(__clc_vec8_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_VectorTimesScalar(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_VectorTimesScalar(__clc_vec16_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_VectorTimesScalar(args_0, args_1); diff --git a/libclc/test/binding/ocl/acos.cl b/libclc/test/binding/ocl/acos.cl index c24348099c779..dd8d2cf41c802 100644 --- a/libclc/test/binding/ocl/acos.cl +++ b/libclc/test/binding/ocl/acos.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_acos(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_acos(__clc_fp16_t args_0) { return __spirv_ocl_acos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_acos(__clc_vec2_fp16_t args_0) { return __spirv_ocl_acos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_acos(__clc_vec3_fp16_t args_0) { return __spirv_ocl_acos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_acos(__clc_vec4_fp16_t args_0) { return __spirv_ocl_acos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_acos(__clc_vec8_fp16_t args_0) { return __spirv_ocl_acos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_acos(__clc_vec16_fp16_t args_0) { return __spirv_ocl_acos(args_0); diff --git a/libclc/test/binding/ocl/acosh.cl b/libclc/test/binding/ocl/acosh.cl index b7cee51af20a6..bc77b6b4aa19c 100644 --- a/libclc/test/binding/ocl/acosh.cl +++ b/libclc/test/binding/ocl/acosh.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_acosh(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_acosh(__clc_fp16_t args_0) { return __spirv_ocl_acosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_acosh(__clc_vec2_fp16_t args_0) { return __spirv_ocl_acosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_acosh(__clc_vec3_fp16_t args_0) { return __spirv_ocl_acosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_acosh(__clc_vec4_fp16_t args_0) { return __spirv_ocl_acosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_acosh(__clc_vec8_fp16_t args_0) { return __spirv_ocl_acosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_acosh(__clc_vec16_fp16_t args_0) { return __spirv_ocl_acosh(args_0); diff --git a/libclc/test/binding/ocl/acospi.cl b/libclc/test/binding/ocl/acospi.cl index f8df863291094..0af3bd68eb7ec 100644 --- a/libclc/test/binding/ocl/acospi.cl +++ b/libclc/test/binding/ocl/acospi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_acospi(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_acospi(__clc_fp16_t args_0) { return __spirv_ocl_acospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_acospi(__clc_vec2_fp16_t args_0) { return __spirv_ocl_acospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_acospi(__clc_vec3_fp16_t args_0) { return __spirv_ocl_acospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_acospi(__clc_vec4_fp16_t args_0) { return __spirv_ocl_acospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_acospi(__clc_vec8_fp16_t args_0) { return __spirv_ocl_acospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_acospi(__clc_vec16_fp16_t args_0) { return __spirv_ocl_acospi(args_0); diff --git a/libclc/test/binding/ocl/asin.cl b/libclc/test/binding/ocl/asin.cl index 72ee03b3065fe..00d37969d365e 100644 --- a/libclc/test/binding/ocl/asin.cl +++ b/libclc/test/binding/ocl/asin.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_asin(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_asin(__clc_fp16_t args_0) { return __spirv_ocl_asin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_asin(__clc_vec2_fp16_t args_0) { return __spirv_ocl_asin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_asin(__clc_vec3_fp16_t args_0) { return __spirv_ocl_asin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_asin(__clc_vec4_fp16_t args_0) { return __spirv_ocl_asin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_asin(__clc_vec8_fp16_t args_0) { return __spirv_ocl_asin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_asin(__clc_vec16_fp16_t args_0) { return __spirv_ocl_asin(args_0); diff --git a/libclc/test/binding/ocl/asinh.cl b/libclc/test/binding/ocl/asinh.cl index 2219ebc305276..aecf30daf8c68 100644 --- a/libclc/test/binding/ocl/asinh.cl +++ b/libclc/test/binding/ocl/asinh.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_asinh(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_asinh(__clc_fp16_t args_0) { return __spirv_ocl_asinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_asinh(__clc_vec2_fp16_t args_0) { return __spirv_ocl_asinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_asinh(__clc_vec3_fp16_t args_0) { return __spirv_ocl_asinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_asinh(__clc_vec4_fp16_t args_0) { return __spirv_ocl_asinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_asinh(__clc_vec8_fp16_t args_0) { return __spirv_ocl_asinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_asinh(__clc_vec16_fp16_t args_0) { return __spirv_ocl_asinh(args_0); diff --git a/libclc/test/binding/ocl/asinpi.cl b/libclc/test/binding/ocl/asinpi.cl index 13d1ecf551bf1..552cb59c77ff2 100644 --- a/libclc/test/binding/ocl/asinpi.cl +++ b/libclc/test/binding/ocl/asinpi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_asinpi(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_asinpi(__clc_fp16_t args_0) { return __spirv_ocl_asinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_asinpi(__clc_vec2_fp16_t args_0) { return __spirv_ocl_asinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_asinpi(__clc_vec3_fp16_t args_0) { return __spirv_ocl_asinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_asinpi(__clc_vec4_fp16_t args_0) { return __spirv_ocl_asinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_asinpi(__clc_vec8_fp16_t args_0) { return __spirv_ocl_asinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_asinpi(__clc_vec16_fp16_t args_0) { return __spirv_ocl_asinpi(args_0); diff --git a/libclc/test/binding/ocl/atan.cl b/libclc/test/binding/ocl/atan.cl index f4cea65663ced..814330d60e22d 100644 --- a/libclc/test/binding/ocl/atan.cl +++ b/libclc/test/binding/ocl/atan.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_atan(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_atan(__clc_fp16_t args_0) { return __spirv_ocl_atan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_atan(__clc_vec2_fp16_t args_0) { return __spirv_ocl_atan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_atan(__clc_vec3_fp16_t args_0) { return __spirv_ocl_atan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_atan(__clc_vec4_fp16_t args_0) { return __spirv_ocl_atan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_atan(__clc_vec8_fp16_t args_0) { return __spirv_ocl_atan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_atan(__clc_vec16_fp16_t args_0) { return __spirv_ocl_atan(args_0); diff --git a/libclc/test/binding/ocl/atan2.cl b/libclc/test/binding/ocl/atan2.cl index 1c47e4d65a9e3..e21a1b03648f9 100644 --- a/libclc/test/binding/ocl/atan2.cl +++ b/libclc/test/binding/ocl/atan2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_atan2(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_atan2(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_atan2(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_atan2(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_atan2(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_atan2(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_atan2(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_atan2(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_atan2(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_atan2(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_atan2(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_atan2(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_atan2(args_0, args_1); diff --git a/libclc/test/binding/ocl/atan2pi.cl b/libclc/test/binding/ocl/atan2pi.cl index 3c3f9ff6c45f7..4ea4068a5902b 100644 --- a/libclc/test/binding/ocl/atan2pi.cl +++ b/libclc/test/binding/ocl/atan2pi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_atan2pi(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_atan2pi(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_atan2pi(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_atan2pi(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_atan2pi(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_atan2pi(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_atan2pi(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_atan2pi(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_atan2pi(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_atan2pi(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_atan2pi(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_atan2pi(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_atan2pi(args_0, args_1); diff --git a/libclc/test/binding/ocl/atanh.cl b/libclc/test/binding/ocl/atanh.cl index f31e359a05fcd..7d6cbc71a6dd6 100644 --- a/libclc/test/binding/ocl/atanh.cl +++ b/libclc/test/binding/ocl/atanh.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_atanh(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_atanh(__clc_fp16_t args_0) { return __spirv_ocl_atanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_atanh(__clc_vec2_fp16_t args_0) { return __spirv_ocl_atanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_atanh(__clc_vec3_fp16_t args_0) { return __spirv_ocl_atanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_atanh(__clc_vec4_fp16_t args_0) { return __spirv_ocl_atanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_atanh(__clc_vec8_fp16_t args_0) { return __spirv_ocl_atanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_atanh(__clc_vec16_fp16_t args_0) { return __spirv_ocl_atanh(args_0); diff --git a/libclc/test/binding/ocl/atanpi.cl b/libclc/test/binding/ocl/atanpi.cl index c10b9e5f3d633..cfd9149bdc245 100644 --- a/libclc/test/binding/ocl/atanpi.cl +++ b/libclc/test/binding/ocl/atanpi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_atanpi(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_atanpi(__clc_fp16_t args_0) { return __spirv_ocl_atanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_atanpi(__clc_vec2_fp16_t args_0) { return __spirv_ocl_atanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_atanpi(__clc_vec3_fp16_t args_0) { return __spirv_ocl_atanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_atanpi(__clc_vec4_fp16_t args_0) { return __spirv_ocl_atanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_atanpi(__clc_vec8_fp16_t args_0) { return __spirv_ocl_atanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_atanpi(__clc_vec16_fp16_t args_0) { return __spirv_ocl_atanpi(args_0); diff --git a/libclc/test/binding/ocl/bitselect.cl b/libclc/test/binding/ocl/bitselect.cl index 4d8c5a5b76868..e7394825fee9b 100644 --- a/libclc/test/binding/ocl/bitselect.cl +++ b/libclc/test/binding/ocl/bitselect.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -406,7 +407,7 @@ test___spirv_ocl_bitselect(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_bitselect(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_fp16_t args_2) { @@ -414,7 +415,7 @@ test___spirv_ocl_bitselect(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_bitselect(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_fp16_t args_2) { @@ -422,7 +423,7 @@ test___spirv_ocl_bitselect(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_bitselect(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_fp16_t args_2) { @@ -430,7 +431,7 @@ test___spirv_ocl_bitselect(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_bitselect(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_fp16_t args_2) { @@ -438,7 +439,7 @@ test___spirv_ocl_bitselect(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_bitselect(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_fp16_t args_2) { @@ -446,7 +447,7 @@ test___spirv_ocl_bitselect(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_bitselect(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_fp16_t args_2) { diff --git a/libclc/test/binding/ocl/cbrt.cl b/libclc/test/binding/ocl/cbrt.cl index 02788aae14626..2296ce2a74a6f 100644 --- a/libclc/test/binding/ocl/cbrt.cl +++ b/libclc/test/binding/ocl/cbrt.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_cbrt(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_cbrt(__clc_fp16_t args_0) { return __spirv_ocl_cbrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_cbrt(__clc_vec2_fp16_t args_0) { return __spirv_ocl_cbrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_cbrt(__clc_vec3_fp16_t args_0) { return __spirv_ocl_cbrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_cbrt(__clc_vec4_fp16_t args_0) { return __spirv_ocl_cbrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_cbrt(__clc_vec8_fp16_t args_0) { return __spirv_ocl_cbrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_cbrt(__clc_vec16_fp16_t args_0) { return __spirv_ocl_cbrt(args_0); diff --git a/libclc/test/binding/ocl/ceil.cl b/libclc/test/binding/ocl/ceil.cl index feaa52e0444ff..dc44dbb863057 100644 --- a/libclc/test/binding/ocl/ceil.cl +++ b/libclc/test/binding/ocl/ceil.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_ceil(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_ceil(__clc_fp16_t args_0) { return __spirv_ocl_ceil(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_ceil(__clc_vec2_fp16_t args_0) { return __spirv_ocl_ceil(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_ceil(__clc_vec3_fp16_t args_0) { return __spirv_ocl_ceil(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_ceil(__clc_vec4_fp16_t args_0) { return __spirv_ocl_ceil(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_ceil(__clc_vec8_fp16_t args_0) { return __spirv_ocl_ceil(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_ceil(__clc_vec16_fp16_t args_0) { return __spirv_ocl_ceil(args_0); diff --git a/libclc/test/binding/ocl/clz.cl b/libclc/test/binding/ocl/clz.cl index 6ada4fae19ddf..dc7f0b8c5f7ed 100644 --- a/libclc/test/binding/ocl/clz.cl +++ b/libclc/test/binding/ocl/clz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/copysign.cl b/libclc/test/binding/ocl/copysign.cl index 2d51d736b5d0c..1716ffdb8cbae 100644 --- a/libclc/test/binding/ocl/copysign.cl +++ b/libclc/test/binding/ocl/copysign.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -89,42 +90,42 @@ test___spirv_ocl_copysign(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_copysign(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_copysign(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_copysign(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_copysign(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_copysign(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_copysign(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_copysign(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_copysign(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_copysign(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_copysign(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_copysign(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/ocl/cos.cl b/libclc/test/binding/ocl/cos.cl index 86d5d861485ae..0ce74c66db421 100644 --- a/libclc/test/binding/ocl/cos.cl +++ b/libclc/test/binding/ocl/cos.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_cos(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_cos(__clc_fp16_t args_0) { return __spirv_ocl_cos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_cos(__clc_vec2_fp16_t args_0) { return __spirv_ocl_cos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_cos(__clc_vec3_fp16_t args_0) { return __spirv_ocl_cos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_cos(__clc_vec4_fp16_t args_0) { return __spirv_ocl_cos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_cos(__clc_vec8_fp16_t args_0) { return __spirv_ocl_cos(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_cos(__clc_vec16_fp16_t args_0) { return __spirv_ocl_cos(args_0); diff --git a/libclc/test/binding/ocl/cosh.cl b/libclc/test/binding/ocl/cosh.cl index 9cb26fc849fa6..32dd358348e71 100644 --- a/libclc/test/binding/ocl/cosh.cl +++ b/libclc/test/binding/ocl/cosh.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_cosh(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_cosh(__clc_fp16_t args_0) { return __spirv_ocl_cosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_cosh(__clc_vec2_fp16_t args_0) { return __spirv_ocl_cosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_cosh(__clc_vec3_fp16_t args_0) { return __spirv_ocl_cosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_cosh(__clc_vec4_fp16_t args_0) { return __spirv_ocl_cosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_cosh(__clc_vec8_fp16_t args_0) { return __spirv_ocl_cosh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_cosh(__clc_vec16_fp16_t args_0) { return __spirv_ocl_cosh(args_0); diff --git a/libclc/test/binding/ocl/cospi.cl b/libclc/test/binding/ocl/cospi.cl index b5512968f1c27..1b614f6dc4f37 100644 --- a/libclc/test/binding/ocl/cospi.cl +++ b/libclc/test/binding/ocl/cospi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_cospi(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_cospi(__clc_fp16_t args_0) { return __spirv_ocl_cospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_cospi(__clc_vec2_fp16_t args_0) { return __spirv_ocl_cospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_cospi(__clc_vec3_fp16_t args_0) { return __spirv_ocl_cospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_cospi(__clc_vec4_fp16_t args_0) { return __spirv_ocl_cospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_cospi(__clc_vec8_fp16_t args_0) { return __spirv_ocl_cospi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_cospi(__clc_vec16_fp16_t args_0) { return __spirv_ocl_cospi(args_0); diff --git a/libclc/test/binding/ocl/cross.cl b/libclc/test/binding/ocl/cross.cl index b680de41d2d83..aff90669e8090 100644 --- a/libclc/test/binding/ocl/cross.cl +++ b/libclc/test/binding/ocl/cross.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -27,7 +28,7 @@ test___spirv_ocl_cross(__clc_vec3_fp64_t args_0, __clc_vec3_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_cross(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_cross(args_0, args_1); @@ -46,7 +47,7 @@ test___spirv_ocl_cross(__clc_vec4_fp64_t args_0, __clc_vec4_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_cross(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_cross(args_0, args_1); diff --git a/libclc/test/binding/ocl/ctz.cl b/libclc/test/binding/ocl/ctz.cl index dc965c189cedf..50e97c20ba3e6 100644 --- a/libclc/test/binding/ocl/ctz.cl +++ b/libclc/test/binding/ocl/ctz.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/degrees.cl b/libclc/test/binding/ocl/degrees.cl index 70754acaf003d..89afa760f3fe0 100644 --- a/libclc/test/binding/ocl/degrees.cl +++ b/libclc/test/binding/ocl/degrees.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_degrees(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_degrees(__clc_fp16_t args_0) { return __spirv_ocl_degrees(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_degrees(__clc_vec2_fp16_t args_0) { return __spirv_ocl_degrees(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_degrees(__clc_vec3_fp16_t args_0) { return __spirv_ocl_degrees(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_degrees(__clc_vec4_fp16_t args_0) { return __spirv_ocl_degrees(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_degrees(__clc_vec8_fp16_t args_0) { return __spirv_ocl_degrees(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_degrees(__clc_vec16_fp16_t args_0) { return __spirv_ocl_degrees(args_0); diff --git a/libclc/test/binding/ocl/distance.cl b/libclc/test/binding/ocl/distance.cl index 0aa0baf885663..a23e74e8ab6be 100644 --- a/libclc/test/binding/ocl/distance.cl +++ b/libclc/test/binding/ocl/distance.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -63,28 +64,28 @@ test___spirv_ocl_distance(__clc_vec4_fp64_t args_0, __clc_vec4_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_distance(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_distance(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_distance(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_distance(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_distance(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_distance(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_distance(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_distance(args_0, args_1); diff --git a/libclc/test/binding/ocl/erf.cl b/libclc/test/binding/ocl/erf.cl index 2a2a4c56cac08..c4980e74d161d 100644 --- a/libclc/test/binding/ocl/erf.cl +++ b/libclc/test/binding/ocl/erf.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_erf(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_erf(__clc_fp16_t args_0) { return __spirv_ocl_erf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_erf(__clc_vec2_fp16_t args_0) { return __spirv_ocl_erf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_erf(__clc_vec3_fp16_t args_0) { return __spirv_ocl_erf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_erf(__clc_vec4_fp16_t args_0) { return __spirv_ocl_erf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_erf(__clc_vec8_fp16_t args_0) { return __spirv_ocl_erf(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_erf(__clc_vec16_fp16_t args_0) { return __spirv_ocl_erf(args_0); diff --git a/libclc/test/binding/ocl/erfc.cl b/libclc/test/binding/ocl/erfc.cl index bf7894de9201f..bfa70b07cd67c 100644 --- a/libclc/test/binding/ocl/erfc.cl +++ b/libclc/test/binding/ocl/erfc.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_erfc(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_erfc(__clc_fp16_t args_0) { return __spirv_ocl_erfc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_erfc(__clc_vec2_fp16_t args_0) { return __spirv_ocl_erfc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_erfc(__clc_vec3_fp16_t args_0) { return __spirv_ocl_erfc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_erfc(__clc_vec4_fp16_t args_0) { return __spirv_ocl_erfc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_erfc(__clc_vec8_fp16_t args_0) { return __spirv_ocl_erfc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_erfc(__clc_vec16_fp16_t args_0) { return __spirv_ocl_erfc(args_0); diff --git a/libclc/test/binding/ocl/exp.cl b/libclc/test/binding/ocl/exp.cl index 5cfdd0d6b3b9a..2a60be1bb47c9 100644 --- a/libclc/test/binding/ocl/exp.cl +++ b/libclc/test/binding/ocl/exp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_exp(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_exp(__clc_fp16_t args_0) { return __spirv_ocl_exp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_exp(__clc_vec2_fp16_t args_0) { return __spirv_ocl_exp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_exp(__clc_vec3_fp16_t args_0) { return __spirv_ocl_exp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_exp(__clc_vec4_fp16_t args_0) { return __spirv_ocl_exp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_exp(__clc_vec8_fp16_t args_0) { return __spirv_ocl_exp(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_exp(__clc_vec16_fp16_t args_0) { return __spirv_ocl_exp(args_0); diff --git a/libclc/test/binding/ocl/exp10.cl b/libclc/test/binding/ocl/exp10.cl index c89d219af6f08..670573c2d6a56 100644 --- a/libclc/test/binding/ocl/exp10.cl +++ b/libclc/test/binding/ocl/exp10.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_exp10(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_exp10(__clc_fp16_t args_0) { return __spirv_ocl_exp10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_exp10(__clc_vec2_fp16_t args_0) { return __spirv_ocl_exp10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_exp10(__clc_vec3_fp16_t args_0) { return __spirv_ocl_exp10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_exp10(__clc_vec4_fp16_t args_0) { return __spirv_ocl_exp10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_exp10(__clc_vec8_fp16_t args_0) { return __spirv_ocl_exp10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_exp10(__clc_vec16_fp16_t args_0) { return __spirv_ocl_exp10(args_0); diff --git a/libclc/test/binding/ocl/exp2.cl b/libclc/test/binding/ocl/exp2.cl index 12369890e3b18..9dbfd066df0ed 100644 --- a/libclc/test/binding/ocl/exp2.cl +++ b/libclc/test/binding/ocl/exp2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_exp2(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_exp2(__clc_fp16_t args_0) { return __spirv_ocl_exp2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_exp2(__clc_vec2_fp16_t args_0) { return __spirv_ocl_exp2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_exp2(__clc_vec3_fp16_t args_0) { return __spirv_ocl_exp2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_exp2(__clc_vec4_fp16_t args_0) { return __spirv_ocl_exp2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_exp2(__clc_vec8_fp16_t args_0) { return __spirv_ocl_exp2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_exp2(__clc_vec16_fp16_t args_0) { return __spirv_ocl_exp2(args_0); diff --git a/libclc/test/binding/ocl/expm1.cl b/libclc/test/binding/ocl/expm1.cl index 684fa7d62ae93..95403ed937210 100644 --- a/libclc/test/binding/ocl/expm1.cl +++ b/libclc/test/binding/ocl/expm1.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_expm1(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_expm1(__clc_fp16_t args_0) { return __spirv_ocl_expm1(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_expm1(__clc_vec2_fp16_t args_0) { return __spirv_ocl_expm1(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_expm1(__clc_vec3_fp16_t args_0) { return __spirv_ocl_expm1(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_expm1(__clc_vec4_fp16_t args_0) { return __spirv_ocl_expm1(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_expm1(__clc_vec8_fp16_t args_0) { return __spirv_ocl_expm1(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_expm1(__clc_vec16_fp16_t args_0) { return __spirv_ocl_expm1(args_0); diff --git a/libclc/test/binding/ocl/fabs.cl b/libclc/test/binding/ocl/fabs.cl index 4cc99640f5b0a..d94cd8640f360 100644 --- a/libclc/test/binding/ocl/fabs.cl +++ b/libclc/test/binding/ocl/fabs.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_fabs(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fabs(__clc_fp16_t args_0) { return __spirv_ocl_fabs(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fabs(__clc_vec2_fp16_t args_0) { return __spirv_ocl_fabs(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fabs(__clc_vec3_fp16_t args_0) { return __spirv_ocl_fabs(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fabs(__clc_vec4_fp16_t args_0) { return __spirv_ocl_fabs(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fabs(__clc_vec8_fp16_t args_0) { return __spirv_ocl_fabs(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fabs(__clc_vec16_fp16_t args_0) { return __spirv_ocl_fabs(args_0); diff --git a/libclc/test/binding/ocl/fast_distance.cl b/libclc/test/binding/ocl/fast_distance.cl index 63e522dd9c712..b1c4644a907b6 100644 --- a/libclc/test/binding/ocl/fast_distance.cl +++ b/libclc/test/binding/ocl/fast_distance.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/fast_length.cl b/libclc/test/binding/ocl/fast_length.cl index db2db9e512305..f776b38712fd2 100644 --- a/libclc/test/binding/ocl/fast_length.cl +++ b/libclc/test/binding/ocl/fast_length.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/fast_normalize.cl b/libclc/test/binding/ocl/fast_normalize.cl index 3d76920a53873..2a97afc2e1dc9 100644 --- a/libclc/test/binding/ocl/fast_normalize.cl +++ b/libclc/test/binding/ocl/fast_normalize.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/fclamp.cl b/libclc/test/binding/ocl/fclamp.cl index 4b70d5d071b32..3b60ef94250ed 100644 --- a/libclc/test/binding/ocl/fclamp.cl +++ b/libclc/test/binding/ocl/fclamp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -99,7 +100,7 @@ test___spirv_ocl_fclamp(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fclamp(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_fp16_t args_2) { @@ -107,7 +108,7 @@ test___spirv_ocl_fclamp(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fclamp(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_fp16_t args_2) { @@ -115,7 +116,7 @@ test___spirv_ocl_fclamp(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fclamp(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_fp16_t args_2) { @@ -123,7 +124,7 @@ test___spirv_ocl_fclamp(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fclamp(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_fp16_t args_2) { @@ -131,7 +132,7 @@ test___spirv_ocl_fclamp(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fclamp(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_fp16_t args_2) { @@ -139,7 +140,7 @@ test___spirv_ocl_fclamp(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fclamp(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_fp16_t args_2) { diff --git a/libclc/test/binding/ocl/fdim.cl b/libclc/test/binding/ocl/fdim.cl index 6d08b22026822..501351060295c 100644 --- a/libclc/test/binding/ocl/fdim.cl +++ b/libclc/test/binding/ocl/fdim.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_fdim(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fdim(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_fdim(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fdim(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_fdim(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fdim(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_fdim(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fdim(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_fdim(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fdim(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_fdim(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fdim(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_fdim(args_0, args_1); diff --git a/libclc/test/binding/ocl/floor.cl b/libclc/test/binding/ocl/floor.cl index e3e2294e515ee..cb2ebee03372b 100644 --- a/libclc/test/binding/ocl/floor.cl +++ b/libclc/test/binding/ocl/floor.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_floor(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_floor(__clc_fp16_t args_0) { return __spirv_ocl_floor(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_floor(__clc_vec2_fp16_t args_0) { return __spirv_ocl_floor(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_floor(__clc_vec3_fp16_t args_0) { return __spirv_ocl_floor(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_floor(__clc_vec4_fp16_t args_0) { return __spirv_ocl_floor(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_floor(__clc_vec8_fp16_t args_0) { return __spirv_ocl_floor(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_floor(__clc_vec16_fp16_t args_0) { return __spirv_ocl_floor(args_0); diff --git a/libclc/test/binding/ocl/fma.cl b/libclc/test/binding/ocl/fma.cl index 4d04b1b3a60e4..1163c0cdd10e8 100644 --- a/libclc/test/binding/ocl/fma.cl +++ b/libclc/test/binding/ocl/fma.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -99,7 +100,7 @@ test___spirv_ocl_fma(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fma(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_fp16_t args_2) { @@ -107,7 +108,7 @@ test___spirv_ocl_fma(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fma(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_fp16_t args_2) { @@ -115,7 +116,7 @@ test___spirv_ocl_fma(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fma(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_fp16_t args_2) { @@ -123,7 +124,7 @@ test___spirv_ocl_fma(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fma(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_fp16_t args_2) { @@ -131,7 +132,7 @@ test___spirv_ocl_fma(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fma(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_fp16_t args_2) { @@ -139,7 +140,7 @@ test___spirv_ocl_fma(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fma(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_fp16_t args_2) { diff --git a/libclc/test/binding/ocl/fmax.cl b/libclc/test/binding/ocl/fmax.cl index 81067a0d5fe98..1c598aa78462e 100644 --- a/libclc/test/binding/ocl/fmax.cl +++ b/libclc/test/binding/ocl/fmax.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_fmax(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fmax(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_fmax(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fmax(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_fmax(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fmax(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_fmax(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fmax(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_fmax(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fmax(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_fmax(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fmax(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_fmax(args_0, args_1); diff --git a/libclc/test/binding/ocl/fmax_common.cl b/libclc/test/binding/ocl/fmax_common.cl index fc4696e8781c2..05575eaaab432 100644 --- a/libclc/test/binding/ocl/fmax_common.cl +++ b/libclc/test/binding/ocl/fmax_common.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -97,14 +98,14 @@ test___spirv_ocl_fmax_common(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fmax_common(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_fmax_common(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fmax_common(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_ocl_fmax_common(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fmax_common(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_ocl_fmax_common(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fmax_common(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_ocl_fmax_common(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fmax_common(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_ocl_fmax_common(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fmax_common(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/ocl/fmin.cl b/libclc/test/binding/ocl/fmin.cl index 68516541b5389..8d41aad7a9961 100644 --- a/libclc/test/binding/ocl/fmin.cl +++ b/libclc/test/binding/ocl/fmin.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_fmin(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fmin(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_fmin(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fmin(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_fmin(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fmin(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_fmin(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fmin(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_fmin(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fmin(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_fmin(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fmin(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_fmin(args_0, args_1); diff --git a/libclc/test/binding/ocl/fmin_common.cl b/libclc/test/binding/ocl/fmin_common.cl index 2cbda0e87636d..847d318e9fd1c 100644 --- a/libclc/test/binding/ocl/fmin_common.cl +++ b/libclc/test/binding/ocl/fmin_common.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -97,14 +98,14 @@ test___spirv_ocl_fmin_common(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fmin_common(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_fmin_common(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fmin_common(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { @@ -112,7 +113,7 @@ test___spirv_ocl_fmin_common(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fmin_common(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { @@ -120,7 +121,7 @@ test___spirv_ocl_fmin_common(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fmin_common(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { @@ -128,7 +129,7 @@ test___spirv_ocl_fmin_common(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fmin_common(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { @@ -136,7 +137,7 @@ test___spirv_ocl_fmin_common(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fmin_common(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/ocl/fmod.cl b/libclc/test/binding/ocl/fmod.cl index 08dd6be192e92..d306e650f095e 100644 --- a/libclc/test/binding/ocl/fmod.cl +++ b/libclc/test/binding/ocl/fmod.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_fmod(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fmod(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_fmod(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fmod(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_fmod(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fmod(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_fmod(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fmod(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_fmod(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fmod(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_fmod(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fmod(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_fmod(args_0, args_1); diff --git a/libclc/test/binding/ocl/fract.cl b/libclc/test/binding/ocl/fract.cl index 0df4159c7d777..85ef531d8e9f2 100644 --- a/libclc/test/binding/ocl/fract.cl +++ b/libclc/test/binding/ocl/fract.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -97,14 +98,14 @@ test___spirv_ocl_fract(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fract(__clc_fp16_t args_0, __clc_fp16_t __local *args_1) { return __spirv_ocl_fract(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fract(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t __local *args_1) { @@ -112,7 +113,7 @@ test___spirv_ocl_fract(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fract(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t __local *args_1) { @@ -120,7 +121,7 @@ test___spirv_ocl_fract(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fract(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t __local *args_1) { @@ -128,7 +129,7 @@ test___spirv_ocl_fract(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fract(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t __local *args_1) { @@ -136,7 +137,7 @@ test___spirv_ocl_fract(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fract(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t __local *args_1) { @@ -216,42 +217,42 @@ test___spirv_ocl_fract(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t *args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fract(__clc_fp16_t args_0, __clc_fp16_t *args_1) { return __spirv_ocl_fract(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fract(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t *args_1) { return __spirv_ocl_fract(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fract(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t *args_1) { return __spirv_ocl_fract(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fract(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t *args_1) { return __spirv_ocl_fract(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fract(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t *args_1) { return __spirv_ocl_fract(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fract(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t *args_1) { return __spirv_ocl_fract(args_0, args_1); @@ -340,14 +341,14 @@ test___spirv_ocl_fract(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_fract(__clc_fp16_t args_0, __clc_fp16_t __global *args_1) { return __spirv_ocl_fract(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_fract(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t __global *args_1) { @@ -355,7 +356,7 @@ test___spirv_ocl_fract(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_fract(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t __global *args_1) { @@ -363,7 +364,7 @@ test___spirv_ocl_fract(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_fract(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t __global *args_1) { @@ -371,7 +372,7 @@ test___spirv_ocl_fract(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_fract(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t __global *args_1) { @@ -379,7 +380,7 @@ test___spirv_ocl_fract(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_fract(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t __global *args_1) { diff --git a/libclc/test/binding/ocl/frexp.cl b/libclc/test/binding/ocl/frexp.cl index 51b5c261417aa..507c114504c22 100644 --- a/libclc/test/binding/ocl/frexp.cl +++ b/libclc/test/binding/ocl/frexp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -97,14 +98,14 @@ test___spirv_ocl_frexp(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_frexp(__clc_fp16_t args_0, __clc_int32_t __local *args_1) { return __spirv_ocl_frexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_frexp(__clc_vec2_fp16_t args_0, __clc_vec2_int32_t __local *args_1) { @@ -112,7 +113,7 @@ test___spirv_ocl_frexp(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_frexp(__clc_vec3_fp16_t args_0, __clc_vec3_int32_t __local *args_1) { @@ -120,7 +121,7 @@ test___spirv_ocl_frexp(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_frexp(__clc_vec4_fp16_t args_0, __clc_vec4_int32_t __local *args_1) { @@ -128,7 +129,7 @@ test___spirv_ocl_frexp(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_frexp(__clc_vec8_fp16_t args_0, __clc_vec8_int32_t __local *args_1) { @@ -136,7 +137,7 @@ test___spirv_ocl_frexp(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_frexp(__clc_vec16_fp16_t args_0, __clc_vec16_int32_t __local *args_1) { @@ -216,42 +217,42 @@ test___spirv_ocl_frexp(__clc_vec16_fp64_t args_0, __clc_vec16_int32_t *args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_frexp(__clc_fp16_t args_0, __clc_int32_t *args_1) { return __spirv_ocl_frexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_frexp(__clc_vec2_fp16_t args_0, __clc_vec2_int32_t *args_1) { return __spirv_ocl_frexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_frexp(__clc_vec3_fp16_t args_0, __clc_vec3_int32_t *args_1) { return __spirv_ocl_frexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_frexp(__clc_vec4_fp16_t args_0, __clc_vec4_int32_t *args_1) { return __spirv_ocl_frexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_frexp(__clc_vec8_fp16_t args_0, __clc_vec8_int32_t *args_1) { return __spirv_ocl_frexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_frexp(__clc_vec16_fp16_t args_0, __clc_vec16_int32_t *args_1) { return __spirv_ocl_frexp(args_0, args_1); @@ -340,14 +341,14 @@ test___spirv_ocl_frexp(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_frexp(__clc_fp16_t args_0, __clc_int32_t __global *args_1) { return __spirv_ocl_frexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_frexp(__clc_vec2_fp16_t args_0, __clc_vec2_int32_t __global *args_1) { @@ -355,7 +356,7 @@ test___spirv_ocl_frexp(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_frexp(__clc_vec3_fp16_t args_0, __clc_vec3_int32_t __global *args_1) { @@ -363,7 +364,7 @@ test___spirv_ocl_frexp(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_frexp(__clc_vec4_fp16_t args_0, __clc_vec4_int32_t __global *args_1) { @@ -371,7 +372,7 @@ test___spirv_ocl_frexp(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_frexp(__clc_vec8_fp16_t args_0, __clc_vec8_int32_t __global *args_1) { @@ -379,7 +380,7 @@ test___spirv_ocl_frexp(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_frexp(__clc_vec16_fp16_t args_0, __clc_vec16_int32_t __global *args_1) { diff --git a/libclc/test/binding/ocl/half_cos.cl b/libclc/test/binding/ocl/half_cos.cl index 6f01654c638a4..4ecb0f274a19b 100644 --- a/libclc/test/binding/ocl/half_cos.cl +++ b/libclc/test/binding/ocl/half_cos.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_divide.cl b/libclc/test/binding/ocl/half_divide.cl index 783717bbb2fde..c18e9a9964762 100644 --- a/libclc/test/binding/ocl/half_divide.cl +++ b/libclc/test/binding/ocl/half_divide.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_exp.cl b/libclc/test/binding/ocl/half_exp.cl index 016f6da0d1917..80182ce50e4f5 100644 --- a/libclc/test/binding/ocl/half_exp.cl +++ b/libclc/test/binding/ocl/half_exp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_exp10.cl b/libclc/test/binding/ocl/half_exp10.cl index e2d3b476fa673..a94374fdefc5a 100644 --- a/libclc/test/binding/ocl/half_exp10.cl +++ b/libclc/test/binding/ocl/half_exp10.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_exp2.cl b/libclc/test/binding/ocl/half_exp2.cl index 08126f8c4a58d..22e641c2b0528 100644 --- a/libclc/test/binding/ocl/half_exp2.cl +++ b/libclc/test/binding/ocl/half_exp2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_log.cl b/libclc/test/binding/ocl/half_log.cl index 4094b557bbea5..62ea0b44ef684 100644 --- a/libclc/test/binding/ocl/half_log.cl +++ b/libclc/test/binding/ocl/half_log.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_log10.cl b/libclc/test/binding/ocl/half_log10.cl index ed1cfdfb52b70..9a6a4bc2f8cb6 100644 --- a/libclc/test/binding/ocl/half_log10.cl +++ b/libclc/test/binding/ocl/half_log10.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_log2.cl b/libclc/test/binding/ocl/half_log2.cl index 03dd49f7f0124..9c211fce08347 100644 --- a/libclc/test/binding/ocl/half_log2.cl +++ b/libclc/test/binding/ocl/half_log2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_powr.cl b/libclc/test/binding/ocl/half_powr.cl index c664541054a1f..9e1af21e81766 100644 --- a/libclc/test/binding/ocl/half_powr.cl +++ b/libclc/test/binding/ocl/half_powr.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_recip.cl b/libclc/test/binding/ocl/half_recip.cl index 9744dfb845dda..bdf131b741a4b 100644 --- a/libclc/test/binding/ocl/half_recip.cl +++ b/libclc/test/binding/ocl/half_recip.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_rsqrt.cl b/libclc/test/binding/ocl/half_rsqrt.cl index 30cec174d379d..4e5be5b364266 100644 --- a/libclc/test/binding/ocl/half_rsqrt.cl +++ b/libclc/test/binding/ocl/half_rsqrt.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_sin.cl b/libclc/test/binding/ocl/half_sin.cl index b7f560ce0b917..060f29e9d3260 100644 --- a/libclc/test/binding/ocl/half_sin.cl +++ b/libclc/test/binding/ocl/half_sin.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_sqrt.cl b/libclc/test/binding/ocl/half_sqrt.cl index 386ec7526a7a8..b7e468e6efd93 100644 --- a/libclc/test/binding/ocl/half_sqrt.cl +++ b/libclc/test/binding/ocl/half_sqrt.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/half_tan.cl b/libclc/test/binding/ocl/half_tan.cl index 78ba6a4758d5a..7e36c8a5970bd 100644 --- a/libclc/test/binding/ocl/half_tan.cl +++ b/libclc/test/binding/ocl/half_tan.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/hypot.cl b/libclc/test/binding/ocl/hypot.cl index 805da383e9d5a..51d25f125e6b2 100644 --- a/libclc/test/binding/ocl/hypot.cl +++ b/libclc/test/binding/ocl/hypot.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_hypot(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_hypot(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_hypot(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_hypot(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_hypot(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_hypot(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_hypot(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_hypot(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_hypot(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_hypot(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_hypot(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_hypot(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_hypot(args_0, args_1); diff --git a/libclc/test/binding/ocl/ilogb.cl b/libclc/test/binding/ocl/ilogb.cl index caf35eb7fc5f2..3b9f218afeb15 100644 --- a/libclc/test/binding/ocl/ilogb.cl +++ b/libclc/test/binding/ocl/ilogb.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_ilogb(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_int32_t test___spirv_ocl_ilogb(__clc_fp16_t args_0) { return __spirv_ocl_ilogb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_int32_t test___spirv_ocl_ilogb(__clc_vec2_fp16_t args_0) { return __spirv_ocl_ilogb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_int32_t test___spirv_ocl_ilogb(__clc_vec3_fp16_t args_0) { return __spirv_ocl_ilogb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_int32_t test___spirv_ocl_ilogb(__clc_vec4_fp16_t args_0) { return __spirv_ocl_ilogb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_int32_t test___spirv_ocl_ilogb(__clc_vec8_fp16_t args_0) { return __spirv_ocl_ilogb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_int32_t test___spirv_ocl_ilogb(__clc_vec16_fp16_t args_0) { return __spirv_ocl_ilogb(args_0); diff --git a/libclc/test/binding/ocl/ldexp.cl b/libclc/test/binding/ocl/ldexp.cl index 6299913350603..5215017c78280 100644 --- a/libclc/test/binding/ocl/ldexp.cl +++ b/libclc/test/binding/ocl/ldexp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -159,84 +160,84 @@ test___spirv_ocl_ldexp(__clc_vec16_fp64_t args_0, __clc_vec16_uint32_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_ldexp(__clc_fp16_t args_0, __clc_int32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_ldexp(__clc_vec2_fp16_t args_0, __clc_vec2_int32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_ldexp(__clc_vec3_fp16_t args_0, __clc_vec3_int32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_ldexp(__clc_vec4_fp16_t args_0, __clc_vec4_int32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_ldexp(__clc_vec8_fp16_t args_0, __clc_vec8_int32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_ldexp(__clc_vec16_fp16_t args_0, __clc_vec16_int32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_ldexp(__clc_fp16_t args_0, __clc_uint32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_ldexp(__clc_vec2_fp16_t args_0, __clc_vec2_uint32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_ldexp(__clc_vec3_fp16_t args_0, __clc_vec3_uint32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_ldexp(__clc_vec4_fp16_t args_0, __clc_vec4_uint32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_ldexp(__clc_vec8_fp16_t args_0, __clc_vec8_uint32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_ldexp(__clc_vec16_fp16_t args_0, __clc_vec16_uint32_t args_1) { return __spirv_ocl_ldexp(args_0, args_1); diff --git a/libclc/test/binding/ocl/length.cl b/libclc/test/binding/ocl/length.cl index cee7878d60dbe..9f6dd602684ac 100644 --- a/libclc/test/binding/ocl/length.cl +++ b/libclc/test/binding/ocl/length.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -63,28 +64,28 @@ test___spirv_ocl_length(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_length(__clc_fp16_t args_0) { return __spirv_ocl_length(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_length(__clc_vec2_fp16_t args_0) { return __spirv_ocl_length(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_length(__clc_vec3_fp16_t args_0) { return __spirv_ocl_length(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_length(__clc_vec4_fp16_t args_0) { return __spirv_ocl_length(args_0); diff --git a/libclc/test/binding/ocl/lgamma.cl b/libclc/test/binding/ocl/lgamma.cl index 085cbaecee864..ddf28b76ab56a 100644 --- a/libclc/test/binding/ocl/lgamma.cl +++ b/libclc/test/binding/ocl/lgamma.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_lgamma(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_lgamma(__clc_fp16_t args_0) { return __spirv_ocl_lgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_lgamma(__clc_vec2_fp16_t args_0) { return __spirv_ocl_lgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_lgamma(__clc_vec3_fp16_t args_0) { return __spirv_ocl_lgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_lgamma(__clc_vec4_fp16_t args_0) { return __spirv_ocl_lgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_lgamma(__clc_vec8_fp16_t args_0) { return __spirv_ocl_lgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_lgamma(__clc_vec16_fp16_t args_0) { return __spirv_ocl_lgamma(args_0); diff --git a/libclc/test/binding/ocl/lgamma_r.cl b/libclc/test/binding/ocl/lgamma_r.cl index 6464c3e3060e8..6b24a68b0bdce 100644 --- a/libclc/test/binding/ocl/lgamma_r.cl +++ b/libclc/test/binding/ocl/lgamma_r.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -97,14 +98,14 @@ test___spirv_ocl_lgamma_r(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_lgamma_r(__clc_fp16_t args_0, __clc_int32_t __local *args_1) { return __spirv_ocl_lgamma_r(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_lgamma_r(__clc_vec2_fp16_t args_0, __clc_vec2_int32_t __local *args_1) { @@ -112,7 +113,7 @@ test___spirv_ocl_lgamma_r(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_lgamma_r(__clc_vec3_fp16_t args_0, __clc_vec3_int32_t __local *args_1) { @@ -120,7 +121,7 @@ test___spirv_ocl_lgamma_r(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_lgamma_r(__clc_vec4_fp16_t args_0, __clc_vec4_int32_t __local *args_1) { @@ -128,7 +129,7 @@ test___spirv_ocl_lgamma_r(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_lgamma_r(__clc_vec8_fp16_t args_0, __clc_vec8_int32_t __local *args_1) { @@ -136,7 +137,7 @@ test___spirv_ocl_lgamma_r(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_lgamma_r(__clc_vec16_fp16_t args_0, __clc_vec16_int32_t __local *args_1) { @@ -226,14 +227,14 @@ test___spirv_ocl_lgamma_r(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_lgamma_r(__clc_fp16_t args_0, __clc_int32_t *args_1) { return __spirv_ocl_lgamma_r(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_lgamma_r(__clc_vec2_fp16_t args_0, __clc_vec2_int32_t *args_1) { @@ -241,7 +242,7 @@ test___spirv_ocl_lgamma_r(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_lgamma_r(__clc_vec3_fp16_t args_0, __clc_vec3_int32_t *args_1) { @@ -249,7 +250,7 @@ test___spirv_ocl_lgamma_r(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_lgamma_r(__clc_vec4_fp16_t args_0, __clc_vec4_int32_t *args_1) { @@ -257,7 +258,7 @@ test___spirv_ocl_lgamma_r(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_lgamma_r(__clc_vec8_fp16_t args_0, __clc_vec8_int32_t *args_1) { @@ -265,7 +266,7 @@ test___spirv_ocl_lgamma_r(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_lgamma_r(__clc_vec16_fp16_t args_0, __clc_vec16_int32_t *args_1) { @@ -355,14 +356,14 @@ test___spirv_ocl_lgamma_r(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_lgamma_r(__clc_fp16_t args_0, __clc_int32_t __global *args_1) { return __spirv_ocl_lgamma_r(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_lgamma_r(__clc_vec2_fp16_t args_0, __clc_vec2_int32_t __global *args_1) { @@ -370,7 +371,7 @@ test___spirv_ocl_lgamma_r(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_lgamma_r(__clc_vec3_fp16_t args_0, __clc_vec3_int32_t __global *args_1) { @@ -378,7 +379,7 @@ test___spirv_ocl_lgamma_r(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_lgamma_r(__clc_vec4_fp16_t args_0, __clc_vec4_int32_t __global *args_1) { @@ -386,7 +387,7 @@ test___spirv_ocl_lgamma_r(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_lgamma_r(__clc_vec8_fp16_t args_0, __clc_vec8_int32_t __global *args_1) { @@ -394,7 +395,7 @@ test___spirv_ocl_lgamma_r(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_lgamma_r(__clc_vec16_fp16_t args_0, __clc_vec16_int32_t __global *args_1) { diff --git a/libclc/test/binding/ocl/log.cl b/libclc/test/binding/ocl/log.cl index 65666a8cb9e36..1c0da48fa48ce 100644 --- a/libclc/test/binding/ocl/log.cl +++ b/libclc/test/binding/ocl/log.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_log(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_log(__clc_fp16_t args_0) { return __spirv_ocl_log(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_log(__clc_vec2_fp16_t args_0) { return __spirv_ocl_log(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_log(__clc_vec3_fp16_t args_0) { return __spirv_ocl_log(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_log(__clc_vec4_fp16_t args_0) { return __spirv_ocl_log(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_log(__clc_vec8_fp16_t args_0) { return __spirv_ocl_log(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_log(__clc_vec16_fp16_t args_0) { return __spirv_ocl_log(args_0); diff --git a/libclc/test/binding/ocl/log10.cl b/libclc/test/binding/ocl/log10.cl index f828866de31d0..cee6dddbfbbcb 100644 --- a/libclc/test/binding/ocl/log10.cl +++ b/libclc/test/binding/ocl/log10.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_log10(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_log10(__clc_fp16_t args_0) { return __spirv_ocl_log10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_log10(__clc_vec2_fp16_t args_0) { return __spirv_ocl_log10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_log10(__clc_vec3_fp16_t args_0) { return __spirv_ocl_log10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_log10(__clc_vec4_fp16_t args_0) { return __spirv_ocl_log10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_log10(__clc_vec8_fp16_t args_0) { return __spirv_ocl_log10(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_log10(__clc_vec16_fp16_t args_0) { return __spirv_ocl_log10(args_0); diff --git a/libclc/test/binding/ocl/log1p.cl b/libclc/test/binding/ocl/log1p.cl index 5a1d6848cbfeb..8d3b37cd29eee 100644 --- a/libclc/test/binding/ocl/log1p.cl +++ b/libclc/test/binding/ocl/log1p.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_log1p(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_log1p(__clc_fp16_t args_0) { return __spirv_ocl_log1p(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_log1p(__clc_vec2_fp16_t args_0) { return __spirv_ocl_log1p(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_log1p(__clc_vec3_fp16_t args_0) { return __spirv_ocl_log1p(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_log1p(__clc_vec4_fp16_t args_0) { return __spirv_ocl_log1p(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_log1p(__clc_vec8_fp16_t args_0) { return __spirv_ocl_log1p(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_log1p(__clc_vec16_fp16_t args_0) { return __spirv_ocl_log1p(args_0); diff --git a/libclc/test/binding/ocl/log2.cl b/libclc/test/binding/ocl/log2.cl index 224b4190cd5ef..892eb5007812a 100644 --- a/libclc/test/binding/ocl/log2.cl +++ b/libclc/test/binding/ocl/log2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_log2(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_log2(__clc_fp16_t args_0) { return __spirv_ocl_log2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_log2(__clc_vec2_fp16_t args_0) { return __spirv_ocl_log2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_log2(__clc_vec3_fp16_t args_0) { return __spirv_ocl_log2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_log2(__clc_vec4_fp16_t args_0) { return __spirv_ocl_log2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_log2(__clc_vec8_fp16_t args_0) { return __spirv_ocl_log2(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_log2(__clc_vec16_fp16_t args_0) { return __spirv_ocl_log2(args_0); diff --git a/libclc/test/binding/ocl/logb.cl b/libclc/test/binding/ocl/logb.cl index 165b956c5af1d..b4fae69bfd1b2 100644 --- a/libclc/test/binding/ocl/logb.cl +++ b/libclc/test/binding/ocl/logb.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_logb(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_logb(__clc_fp16_t args_0) { return __spirv_ocl_logb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_logb(__clc_vec2_fp16_t args_0) { return __spirv_ocl_logb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_logb(__clc_vec3_fp16_t args_0) { return __spirv_ocl_logb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_logb(__clc_vec4_fp16_t args_0) { return __spirv_ocl_logb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_logb(__clc_vec8_fp16_t args_0) { return __spirv_ocl_logb(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_logb(__clc_vec16_fp16_t args_0) { return __spirv_ocl_logb(args_0); diff --git a/libclc/test/binding/ocl/mad.cl b/libclc/test/binding/ocl/mad.cl index f62328336b5b2..68edb893e7f60 100644 --- a/libclc/test/binding/ocl/mad.cl +++ b/libclc/test/binding/ocl/mad.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -99,7 +100,7 @@ test___spirv_ocl_mad(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_mad(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_fp16_t args_2) { @@ -107,7 +108,7 @@ test___spirv_ocl_mad(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_mad(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_fp16_t args_2) { @@ -115,7 +116,7 @@ test___spirv_ocl_mad(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_mad(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_fp16_t args_2) { @@ -123,7 +124,7 @@ test___spirv_ocl_mad(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_mad(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_fp16_t args_2) { @@ -131,7 +132,7 @@ test___spirv_ocl_mad(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_mad(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_fp16_t args_2) { @@ -139,7 +140,7 @@ test___spirv_ocl_mad(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_mad(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_fp16_t args_2) { diff --git a/libclc/test/binding/ocl/maxmag.cl b/libclc/test/binding/ocl/maxmag.cl index aae053f36184c..a614288a3f783 100644 --- a/libclc/test/binding/ocl/maxmag.cl +++ b/libclc/test/binding/ocl/maxmag.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_maxmag(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_maxmag(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_maxmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_maxmag(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_maxmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_maxmag(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_maxmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_maxmag(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_maxmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_maxmag(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_maxmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_maxmag(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_maxmag(args_0, args_1); diff --git a/libclc/test/binding/ocl/minmag.cl b/libclc/test/binding/ocl/minmag.cl index 6de483de3494e..27dd53c9f037f 100644 --- a/libclc/test/binding/ocl/minmag.cl +++ b/libclc/test/binding/ocl/minmag.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_minmag(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_minmag(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_minmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_minmag(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_minmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_minmag(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_minmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_minmag(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_minmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_minmag(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_minmag(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_minmag(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_minmag(args_0, args_1); diff --git a/libclc/test/binding/ocl/mix.cl b/libclc/test/binding/ocl/mix.cl index 9518d8c8c6d61..dd85c70ad70d5 100644 --- a/libclc/test/binding/ocl/mix.cl +++ b/libclc/test/binding/ocl/mix.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -99,7 +100,7 @@ test___spirv_ocl_mix(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_mix(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_fp16_t args_2) { @@ -107,7 +108,7 @@ test___spirv_ocl_mix(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_mix(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_fp16_t args_2) { @@ -115,7 +116,7 @@ test___spirv_ocl_mix(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_mix(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_fp16_t args_2) { @@ -123,7 +124,7 @@ test___spirv_ocl_mix(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_mix(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_fp16_t args_2) { @@ -131,7 +132,7 @@ test___spirv_ocl_mix(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_mix(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_fp16_t args_2) { @@ -139,7 +140,7 @@ test___spirv_ocl_mix(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_mix(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_fp16_t args_2) { diff --git a/libclc/test/binding/ocl/modf.cl b/libclc/test/binding/ocl/modf.cl index e2635a9812674..c2768f774e0c8 100644 --- a/libclc/test/binding/ocl/modf.cl +++ b/libclc/test/binding/ocl/modf.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -97,14 +98,14 @@ test___spirv_ocl_modf(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_modf(__clc_fp16_t args_0, __clc_fp16_t __local *args_1) { return __spirv_ocl_modf(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_modf(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t __local *args_1) { @@ -112,7 +113,7 @@ test___spirv_ocl_modf(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_modf(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t __local *args_1) { @@ -120,7 +121,7 @@ test___spirv_ocl_modf(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_modf(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t __local *args_1) { @@ -128,7 +129,7 @@ test___spirv_ocl_modf(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_modf(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t __local *args_1) { @@ -136,7 +137,7 @@ test___spirv_ocl_modf(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_modf(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t __local *args_1) { @@ -216,42 +217,42 @@ test___spirv_ocl_modf(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t *args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_modf(__clc_fp16_t args_0, __clc_fp16_t *args_1) { return __spirv_ocl_modf(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_modf(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t *args_1) { return __spirv_ocl_modf(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_modf(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t *args_1) { return __spirv_ocl_modf(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_modf(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t *args_1) { return __spirv_ocl_modf(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_modf(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t *args_1) { return __spirv_ocl_modf(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_modf(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t *args_1) { return __spirv_ocl_modf(args_0, args_1); @@ -340,14 +341,14 @@ test___spirv_ocl_modf(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_modf(__clc_fp16_t args_0, __clc_fp16_t __global *args_1) { return __spirv_ocl_modf(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_modf(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t __global *args_1) { @@ -355,7 +356,7 @@ test___spirv_ocl_modf(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_modf(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t __global *args_1) { @@ -363,7 +364,7 @@ test___spirv_ocl_modf(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_modf(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t __global *args_1) { @@ -371,7 +372,7 @@ test___spirv_ocl_modf(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_modf(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t __global *args_1) { @@ -379,7 +380,7 @@ test___spirv_ocl_modf(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_modf(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t __global *args_1) { diff --git a/libclc/test/binding/ocl/nan.cl b/libclc/test/binding/ocl/nan.cl index 6807861acafab..8c1536a0170b2 100644 --- a/libclc/test/binding/ocl/nan.cl +++ b/libclc/test/binding/ocl/nan.cl @@ -9,90 +9,91 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_nan(__clc_int16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_nan(__clc_vec2_int16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_nan(__clc_vec3_int16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_nan(__clc_vec4_int16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_nan(__clc_vec8_int16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_nan(__clc_vec16_int16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_nan(__clc_uint16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_nan(__clc_vec2_uint16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_nan(__clc_vec3_uint16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_nan(__clc_vec4_uint16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_nan(__clc_vec8_uint16_t args_0) { return __spirv_ocl_nan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_nan(__clc_vec16_uint16_t args_0) { return __spirv_ocl_nan(args_0); diff --git a/libclc/test/binding/ocl/native_cos.cl b/libclc/test/binding/ocl/native_cos.cl index 5d3a15fccf035..4c333fe411259 100644 --- a/libclc/test/binding/ocl/native_cos.cl +++ b/libclc/test/binding/ocl/native_cos.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_divide.cl b/libclc/test/binding/ocl/native_divide.cl index be305a3c9a1d4..56ce393a3b721 100644 --- a/libclc/test/binding/ocl/native_divide.cl +++ b/libclc/test/binding/ocl/native_divide.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_exp.cl b/libclc/test/binding/ocl/native_exp.cl index 22b50480bbe20..ae3e6d9511c59 100644 --- a/libclc/test/binding/ocl/native_exp.cl +++ b/libclc/test/binding/ocl/native_exp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_exp10.cl b/libclc/test/binding/ocl/native_exp10.cl index fc5bd9552223c..573f6e57821f8 100644 --- a/libclc/test/binding/ocl/native_exp10.cl +++ b/libclc/test/binding/ocl/native_exp10.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_exp2.cl b/libclc/test/binding/ocl/native_exp2.cl index 892015a00bd11..e7e03512c46f2 100644 --- a/libclc/test/binding/ocl/native_exp2.cl +++ b/libclc/test/binding/ocl/native_exp2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_log.cl b/libclc/test/binding/ocl/native_log.cl index 41245f4f138ee..38748042bb26d 100644 --- a/libclc/test/binding/ocl/native_log.cl +++ b/libclc/test/binding/ocl/native_log.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_log10.cl b/libclc/test/binding/ocl/native_log10.cl index 7808ab26ebea0..7dbde74bb5204 100644 --- a/libclc/test/binding/ocl/native_log10.cl +++ b/libclc/test/binding/ocl/native_log10.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_log2.cl b/libclc/test/binding/ocl/native_log2.cl index 6d063d7728443..e099ca79a307c 100644 --- a/libclc/test/binding/ocl/native_log2.cl +++ b/libclc/test/binding/ocl/native_log2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_powr.cl b/libclc/test/binding/ocl/native_powr.cl index 2412e87a0c74b..f2540b12b63dc 100644 --- a/libclc/test/binding/ocl/native_powr.cl +++ b/libclc/test/binding/ocl/native_powr.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_recip.cl b/libclc/test/binding/ocl/native_recip.cl index 2c9491f4205a7..61bb918491cbe 100644 --- a/libclc/test/binding/ocl/native_recip.cl +++ b/libclc/test/binding/ocl/native_recip.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_rsqrt.cl b/libclc/test/binding/ocl/native_rsqrt.cl index b055110ac002b..5c04b1fdda085 100644 --- a/libclc/test/binding/ocl/native_rsqrt.cl +++ b/libclc/test/binding/ocl/native_rsqrt.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_sin.cl b/libclc/test/binding/ocl/native_sin.cl index 66881ab6f10d0..cc20a2a1c18d5 100644 --- a/libclc/test/binding/ocl/native_sin.cl +++ b/libclc/test/binding/ocl/native_sin.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_sqrt.cl b/libclc/test/binding/ocl/native_sqrt.cl index 325a403f6d458..9f428aa647a57 100644 --- a/libclc/test/binding/ocl/native_sqrt.cl +++ b/libclc/test/binding/ocl/native_sqrt.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/native_tan.cl b/libclc/test/binding/ocl/native_tan.cl index b88b003828c2d..652917a51a17a 100644 --- a/libclc/test/binding/ocl/native_tan.cl +++ b/libclc/test/binding/ocl/native_tan.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/nextafter.cl b/libclc/test/binding/ocl/nextafter.cl index b6b1b505c514c..1547570eacdfd 100644 --- a/libclc/test/binding/ocl/nextafter.cl +++ b/libclc/test/binding/ocl/nextafter.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -89,42 +90,42 @@ test___spirv_ocl_nextafter(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_nextafter(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_nextafter(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_nextafter(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_nextafter(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_nextafter(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_nextafter(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_nextafter(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_nextafter(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_nextafter(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_nextafter(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_nextafter(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/ocl/normalize.cl b/libclc/test/binding/ocl/normalize.cl index b52c7309a94b7..d46ecbad470a5 100644 --- a/libclc/test/binding/ocl/normalize.cl +++ b/libclc/test/binding/ocl/normalize.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -63,28 +64,28 @@ test___spirv_ocl_normalize(__clc_vec4_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_normalize(__clc_fp16_t args_0) { return __spirv_ocl_normalize(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_normalize(__clc_vec2_fp16_t args_0) { return __spirv_ocl_normalize(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_normalize(__clc_vec3_fp16_t args_0) { return __spirv_ocl_normalize(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_normalize(__clc_vec4_fp16_t args_0) { return __spirv_ocl_normalize(args_0); diff --git a/libclc/test/binding/ocl/popcount.cl b/libclc/test/binding/ocl/popcount.cl index 9b9ac65cc378a..00100ecf386a7 100644 --- a/libclc/test/binding/ocl/popcount.cl +++ b/libclc/test/binding/ocl/popcount.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/pow.cl b/libclc/test/binding/ocl/pow.cl index a5449bf868295..bb0755d563eb7 100644 --- a/libclc/test/binding/ocl/pow.cl +++ b/libclc/test/binding/ocl/pow.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_pow(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_pow(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_pow(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_pow(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_pow(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_pow(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_pow(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_pow(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_pow(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_pow(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_pow(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_pow(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_pow(args_0, args_1); diff --git a/libclc/test/binding/ocl/pown.cl b/libclc/test/binding/ocl/pown.cl index be55a1bb0cf3c..2905e53cd3439 100644 --- a/libclc/test/binding/ocl/pown.cl +++ b/libclc/test/binding/ocl/pown.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_pown(__clc_vec16_fp64_t args_0, __clc_vec16_int32_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_pown(__clc_fp16_t args_0, __clc_int32_t args_1) { return __spirv_ocl_pown(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_pown(__clc_vec2_fp16_t args_0, __clc_vec2_int32_t args_1) { return __spirv_ocl_pown(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_pown(__clc_vec3_fp16_t args_0, __clc_vec3_int32_t args_1) { return __spirv_ocl_pown(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_pown(__clc_vec4_fp16_t args_0, __clc_vec4_int32_t args_1) { return __spirv_ocl_pown(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_pown(__clc_vec8_fp16_t args_0, __clc_vec8_int32_t args_1) { return __spirv_ocl_pown(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_pown(__clc_vec16_fp16_t args_0, __clc_vec16_int32_t args_1) { return __spirv_ocl_pown(args_0, args_1); diff --git a/libclc/test/binding/ocl/powr.cl b/libclc/test/binding/ocl/powr.cl index f0db2cfedaa01..d22b0acaf9d51 100644 --- a/libclc/test/binding/ocl/powr.cl +++ b/libclc/test/binding/ocl/powr.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_powr(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_powr(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_powr(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_powr(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_powr(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_powr(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_powr(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_powr(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_powr(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_powr(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_powr(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_powr(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_powr(args_0, args_1); diff --git a/libclc/test/binding/ocl/prefetch.cl b/libclc/test/binding/ocl/prefetch.cl index da9d09d625e45..5d41efe085cd5 100644 --- a/libclc/test/binding/ocl/prefetch.cl +++ b/libclc/test/binding/ocl/prefetch.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -387,7 +388,7 @@ test___spirv_ocl_prefetch(__clc_vec16_fp64_t const __global *args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_prefetch(__clc_fp16_t const __global *args_0, __clc_size_t args_1) { @@ -395,7 +396,7 @@ test___spirv_ocl_prefetch(__clc_fp16_t const __global *args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_prefetch(__clc_vec2_fp16_t const __global *args_0, __clc_size_t args_1) { @@ -403,7 +404,7 @@ test___spirv_ocl_prefetch(__clc_vec2_fp16_t const __global *args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_prefetch(__clc_vec3_fp16_t const __global *args_0, __clc_size_t args_1) { @@ -411,7 +412,7 @@ test___spirv_ocl_prefetch(__clc_vec3_fp16_t const __global *args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_prefetch(__clc_vec4_fp16_t const __global *args_0, __clc_size_t args_1) { @@ -419,7 +420,7 @@ test___spirv_ocl_prefetch(__clc_vec4_fp16_t const __global *args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_prefetch(__clc_vec8_fp16_t const __global *args_0, __clc_size_t args_1) { @@ -427,7 +428,7 @@ test___spirv_ocl_prefetch(__clc_vec8_fp16_t const __global *args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_prefetch(__clc_vec16_fp16_t const __global *args_0, __clc_size_t args_1) { diff --git a/libclc/test/binding/ocl/radians.cl b/libclc/test/binding/ocl/radians.cl index 5bf1e19f8f223..1dd46d20954a2 100644 --- a/libclc/test/binding/ocl/radians.cl +++ b/libclc/test/binding/ocl/radians.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_radians(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_radians(__clc_fp16_t args_0) { return __spirv_ocl_radians(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_radians(__clc_vec2_fp16_t args_0) { return __spirv_ocl_radians(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_radians(__clc_vec3_fp16_t args_0) { return __spirv_ocl_radians(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_radians(__clc_vec4_fp16_t args_0) { return __spirv_ocl_radians(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_radians(__clc_vec8_fp16_t args_0) { return __spirv_ocl_radians(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_radians(__clc_vec16_fp16_t args_0) { return __spirv_ocl_radians(args_0); diff --git a/libclc/test/binding/ocl/remainder.cl b/libclc/test/binding/ocl/remainder.cl index 3c95e44be6a6e..90ae6229d6680 100644 --- a/libclc/test/binding/ocl/remainder.cl +++ b/libclc/test/binding/ocl/remainder.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -89,42 +90,42 @@ test___spirv_ocl_remainder(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_remainder(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_remainder(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_remainder(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_remainder(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_remainder(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_remainder(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_remainder(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_remainder(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_remainder(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_remainder(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_remainder(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { diff --git a/libclc/test/binding/ocl/remquo.cl b/libclc/test/binding/ocl/remquo.cl index 034dcf1f53ed2..842e5523ce0a8 100644 --- a/libclc/test/binding/ocl/remquo.cl +++ b/libclc/test/binding/ocl/remquo.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -99,7 +100,7 @@ test___spirv_ocl_remquo(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_remquo(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_int32_t __global *args_2) { @@ -107,7 +108,7 @@ test___spirv_ocl_remquo(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_remquo(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_int32_t __global *args_2) { @@ -115,7 +116,7 @@ test___spirv_ocl_remquo(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_remquo(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_int32_t __global *args_2) { @@ -123,7 +124,7 @@ test___spirv_ocl_remquo(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_remquo(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_int32_t __global *args_2) { @@ -131,7 +132,7 @@ test___spirv_ocl_remquo(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_remquo(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_int32_t __global *args_2) { @@ -139,7 +140,7 @@ test___spirv_ocl_remquo(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_remquo(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_int32_t __global *args_2) { @@ -231,7 +232,7 @@ test___spirv_ocl_remquo(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_remquo(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_int32_t __local *args_2) { @@ -239,7 +240,7 @@ test___spirv_ocl_remquo(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_remquo(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_int32_t __local *args_2) { @@ -247,7 +248,7 @@ test___spirv_ocl_remquo(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_remquo(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_int32_t __local *args_2) { @@ -255,7 +256,7 @@ test___spirv_ocl_remquo(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_remquo(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_int32_t __local *args_2) { @@ -263,7 +264,7 @@ test___spirv_ocl_remquo(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_remquo(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_int32_t __local *args_2) { @@ -271,7 +272,7 @@ test___spirv_ocl_remquo(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_remquo(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_int32_t __local *args_2) { @@ -363,7 +364,7 @@ test___spirv_ocl_remquo(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_remquo(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_int32_t *args_2) { @@ -371,7 +372,7 @@ test___spirv_ocl_remquo(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_remquo(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_int32_t *args_2) { @@ -379,7 +380,7 @@ test___spirv_ocl_remquo(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_remquo(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_int32_t *args_2) { @@ -387,7 +388,7 @@ test___spirv_ocl_remquo(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_remquo(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_int32_t *args_2) { @@ -395,7 +396,7 @@ test___spirv_ocl_remquo(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_remquo(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_int32_t *args_2) { @@ -403,7 +404,7 @@ test___spirv_ocl_remquo(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_remquo(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_int32_t *args_2) { diff --git a/libclc/test/binding/ocl/rint.cl b/libclc/test/binding/ocl/rint.cl index d8745fa212b84..49fdb9f95f817 100644 --- a/libclc/test/binding/ocl/rint.cl +++ b/libclc/test/binding/ocl/rint.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_rint(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_rint(__clc_fp16_t args_0) { return __spirv_ocl_rint(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_rint(__clc_vec2_fp16_t args_0) { return __spirv_ocl_rint(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_rint(__clc_vec3_fp16_t args_0) { return __spirv_ocl_rint(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_rint(__clc_vec4_fp16_t args_0) { return __spirv_ocl_rint(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_rint(__clc_vec8_fp16_t args_0) { return __spirv_ocl_rint(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_rint(__clc_vec16_fp16_t args_0) { return __spirv_ocl_rint(args_0); diff --git a/libclc/test/binding/ocl/rootn.cl b/libclc/test/binding/ocl/rootn.cl index 5467669d6dd5a..1202684ed1f95 100644 --- a/libclc/test/binding/ocl/rootn.cl +++ b/libclc/test/binding/ocl/rootn.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_rootn(__clc_vec16_fp64_t args_0, __clc_vec16_int32_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_rootn(__clc_fp16_t args_0, __clc_int32_t args_1) { return __spirv_ocl_rootn(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_rootn(__clc_vec2_fp16_t args_0, __clc_vec2_int32_t args_1) { return __spirv_ocl_rootn(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_rootn(__clc_vec3_fp16_t args_0, __clc_vec3_int32_t args_1) { return __spirv_ocl_rootn(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_rootn(__clc_vec4_fp16_t args_0, __clc_vec4_int32_t args_1) { return __spirv_ocl_rootn(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_rootn(__clc_vec8_fp16_t args_0, __clc_vec8_int32_t args_1) { return __spirv_ocl_rootn(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_rootn(__clc_vec16_fp16_t args_0, __clc_vec16_int32_t args_1) { return __spirv_ocl_rootn(args_0, args_1); diff --git a/libclc/test/binding/ocl/rotate.cl b/libclc/test/binding/ocl/rotate.cl index 4312abeb8696b..4b71cc5de8076 100644 --- a/libclc/test/binding/ocl/rotate.cl +++ b/libclc/test/binding/ocl/rotate.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/round.cl b/libclc/test/binding/ocl/round.cl index 493643223fe26..aa70b98cd8de7 100644 --- a/libclc/test/binding/ocl/round.cl +++ b/libclc/test/binding/ocl/round.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_round(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_round(__clc_fp16_t args_0) { return __spirv_ocl_round(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_round(__clc_vec2_fp16_t args_0) { return __spirv_ocl_round(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_round(__clc_vec3_fp16_t args_0) { return __spirv_ocl_round(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_round(__clc_vec4_fp16_t args_0) { return __spirv_ocl_round(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_round(__clc_vec8_fp16_t args_0) { return __spirv_ocl_round(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_round(__clc_vec16_fp16_t args_0) { return __spirv_ocl_round(args_0); diff --git a/libclc/test/binding/ocl/rsqrt.cl b/libclc/test/binding/ocl/rsqrt.cl index fdcac1222457f..fece7a80a999e 100644 --- a/libclc/test/binding/ocl/rsqrt.cl +++ b/libclc/test/binding/ocl/rsqrt.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_rsqrt(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_rsqrt(__clc_fp16_t args_0) { return __spirv_ocl_rsqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_rsqrt(__clc_vec2_fp16_t args_0) { return __spirv_ocl_rsqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_rsqrt(__clc_vec3_fp16_t args_0) { return __spirv_ocl_rsqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_rsqrt(__clc_vec4_fp16_t args_0) { return __spirv_ocl_rsqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_rsqrt(__clc_vec8_fp16_t args_0) { return __spirv_ocl_rsqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_rsqrt(__clc_vec16_fp16_t args_0) { return __spirv_ocl_rsqrt(args_0); diff --git a/libclc/test/binding/ocl/s_abs.cl b/libclc/test/binding/ocl/s_abs.cl index f2ef308ef6d32..5affa9b45b910 100644 --- a/libclc/test/binding/ocl/s_abs.cl +++ b/libclc/test/binding/ocl/s_abs.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_abs_diff.cl b/libclc/test/binding/ocl/s_abs_diff.cl index d117827447a92..879ce7d56de23 100644 --- a/libclc/test/binding/ocl/s_abs_diff.cl +++ b/libclc/test/binding/ocl/s_abs_diff.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_add_sat.cl b/libclc/test/binding/ocl/s_add_sat.cl index 20811aa9f6115..9094fb7e53920 100644 --- a/libclc/test/binding/ocl/s_add_sat.cl +++ b/libclc/test/binding/ocl/s_add_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_clamp.cl b/libclc/test/binding/ocl/s_clamp.cl index ae024173c9d2a..ed31aa8eb9e0f 100644 --- a/libclc/test/binding/ocl/s_clamp.cl +++ b/libclc/test/binding/ocl/s_clamp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_hadd.cl b/libclc/test/binding/ocl/s_hadd.cl index 8d1bf0d74fecb..052da803e2b32 100644 --- a/libclc/test/binding/ocl/s_hadd.cl +++ b/libclc/test/binding/ocl/s_hadd.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_mad24.cl b/libclc/test/binding/ocl/s_mad24.cl index b5110189a89d8..39c30fdebb22d 100644 --- a/libclc/test/binding/ocl/s_mad24.cl +++ b/libclc/test/binding/ocl/s_mad24.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_mad_hi.cl b/libclc/test/binding/ocl/s_mad_hi.cl index 57f7f43d14e97..5b05d8e877d69 100644 --- a/libclc/test/binding/ocl/s_mad_hi.cl +++ b/libclc/test/binding/ocl/s_mad_hi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_mad_sat.cl b/libclc/test/binding/ocl/s_mad_sat.cl index 364cd99084ef5..fe10ed948c6db 100644 --- a/libclc/test/binding/ocl/s_mad_sat.cl +++ b/libclc/test/binding/ocl/s_mad_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_max.cl b/libclc/test/binding/ocl/s_max.cl index 891ea5759cf76..c8bb673a3aa3e 100644 --- a/libclc/test/binding/ocl/s_max.cl +++ b/libclc/test/binding/ocl/s_max.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_min.cl b/libclc/test/binding/ocl/s_min.cl index f2bed978f2295..c05268f607d24 100644 --- a/libclc/test/binding/ocl/s_min.cl +++ b/libclc/test/binding/ocl/s_min.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_mul24.cl b/libclc/test/binding/ocl/s_mul24.cl index 3ac01a75e9d1a..e6f0790393777 100644 --- a/libclc/test/binding/ocl/s_mul24.cl +++ b/libclc/test/binding/ocl/s_mul24.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_mul_hi.cl b/libclc/test/binding/ocl/s_mul_hi.cl index 0b86076351f17..b234cb5b3dbf2 100644 --- a/libclc/test/binding/ocl/s_mul_hi.cl +++ b/libclc/test/binding/ocl/s_mul_hi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_rhadd.cl b/libclc/test/binding/ocl/s_rhadd.cl index f6dc9c1411304..454cf7f7f3f54 100644 --- a/libclc/test/binding/ocl/s_rhadd.cl +++ b/libclc/test/binding/ocl/s_rhadd.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_sub_sat.cl b/libclc/test/binding/ocl/s_sub_sat.cl index 36e752d24bf42..4887b5831b640 100644 --- a/libclc/test/binding/ocl/s_sub_sat.cl +++ b/libclc/test/binding/ocl/s_sub_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/s_upsample.cl b/libclc/test/binding/ocl/s_upsample.cl index 241db23b59b0a..7873949dc6d58 100644 --- a/libclc/test/binding/ocl/s_upsample.cl +++ b/libclc/test/binding/ocl/s_upsample.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/select.cl b/libclc/test/binding/ocl/select.cl index 2503a4640aacc..e6fe6c44f0a3a 100644 --- a/libclc/test/binding/ocl/select.cl +++ b/libclc/test/binding/ocl/select.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -681,7 +682,7 @@ test___spirv_ocl_select(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_select(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_uint16_t args_2) { @@ -689,7 +690,7 @@ test___spirv_ocl_select(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_select(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_uint16_t args_2) { @@ -697,7 +698,7 @@ test___spirv_ocl_select(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_select(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_uint16_t args_2) { @@ -705,7 +706,7 @@ test___spirv_ocl_select(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_select(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_uint16_t args_2) { @@ -713,7 +714,7 @@ test___spirv_ocl_select(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_select(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_uint16_t args_2) { @@ -721,7 +722,7 @@ test___spirv_ocl_select(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_select(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_uint16_t args_2) { @@ -813,7 +814,7 @@ test___spirv_ocl_select(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_select(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_int16_t args_2) { @@ -821,7 +822,7 @@ test___spirv_ocl_select(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_select(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_int16_t args_2) { @@ -829,7 +830,7 @@ test___spirv_ocl_select(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_select(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_int16_t args_2) { @@ -837,7 +838,7 @@ test___spirv_ocl_select(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_select(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_int16_t args_2) { @@ -845,7 +846,7 @@ test___spirv_ocl_select(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_select(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_int16_t args_2) { @@ -853,7 +854,7 @@ test___spirv_ocl_select(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_select(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_int16_t args_2) { diff --git a/libclc/test/binding/ocl/shuffle.cl b/libclc/test/binding/ocl/shuffle.cl index 37a8cf4f4d64e..838aff4416d47 100644 --- a/libclc/test/binding/ocl/shuffle.cl +++ b/libclc/test/binding/ocl/shuffle.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -73,7 +74,7 @@ test___spirv_ocl_shuffle(__clc_vec2_fp64_t args_0, __clc_vec2_uint64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_shuffle(__clc_vec2_fp16_t args_0, __clc_vec2_uint16_t args_1) { return __spirv_ocl_shuffle(args_0, args_1); @@ -138,7 +139,7 @@ test___spirv_ocl_shuffle(__clc_vec4_fp64_t args_0, __clc_vec2_uint64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_shuffle(__clc_vec4_fp16_t args_0, __clc_vec2_uint16_t args_1) { return __spirv_ocl_shuffle(args_0, args_1); @@ -203,7 +204,7 @@ test___spirv_ocl_shuffle(__clc_vec8_fp64_t args_0, __clc_vec2_uint64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_shuffle(__clc_vec8_fp16_t args_0, __clc_vec2_uint16_t args_1) { return __spirv_ocl_shuffle(args_0, args_1); @@ -271,7 +272,7 @@ test___spirv_ocl_shuffle(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_shuffle(__clc_vec16_fp16_t args_0, __clc_vec2_uint16_t args_1) { @@ -337,7 +338,7 @@ test___spirv_ocl_shuffle(__clc_vec2_fp64_t args_0, __clc_vec4_uint64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_shuffle(__clc_vec2_fp16_t args_0, __clc_vec4_uint16_t args_1) { return __spirv_ocl_shuffle(args_0, args_1); @@ -402,7 +403,7 @@ test___spirv_ocl_shuffle(__clc_vec4_fp64_t args_0, __clc_vec4_uint64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_shuffle(__clc_vec4_fp16_t args_0, __clc_vec4_uint16_t args_1) { return __spirv_ocl_shuffle(args_0, args_1); @@ -467,7 +468,7 @@ test___spirv_ocl_shuffle(__clc_vec8_fp64_t args_0, __clc_vec4_uint64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_shuffle(__clc_vec8_fp16_t args_0, __clc_vec4_uint16_t args_1) { return __spirv_ocl_shuffle(args_0, args_1); @@ -535,7 +536,7 @@ test___spirv_ocl_shuffle(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_shuffle(__clc_vec16_fp16_t args_0, __clc_vec4_uint16_t args_1) { @@ -601,7 +602,7 @@ test___spirv_ocl_shuffle(__clc_vec2_fp64_t args_0, __clc_vec8_uint64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_shuffle(__clc_vec2_fp16_t args_0, __clc_vec8_uint16_t args_1) { return __spirv_ocl_shuffle(args_0, args_1); @@ -666,7 +667,7 @@ test___spirv_ocl_shuffle(__clc_vec4_fp64_t args_0, __clc_vec8_uint64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_shuffle(__clc_vec4_fp16_t args_0, __clc_vec8_uint16_t args_1) { return __spirv_ocl_shuffle(args_0, args_1); @@ -731,7 +732,7 @@ test___spirv_ocl_shuffle(__clc_vec8_fp64_t args_0, __clc_vec8_uint64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_shuffle(__clc_vec8_fp16_t args_0, __clc_vec8_uint16_t args_1) { return __spirv_ocl_shuffle(args_0, args_1); @@ -799,7 +800,7 @@ test___spirv_ocl_shuffle(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_shuffle(__clc_vec16_fp16_t args_0, __clc_vec8_uint16_t args_1) { @@ -868,7 +869,7 @@ test___spirv_ocl_shuffle(__clc_vec2_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_shuffle(__clc_vec2_fp16_t args_0, __clc_vec16_uint16_t args_1) { @@ -937,7 +938,7 @@ test___spirv_ocl_shuffle(__clc_vec4_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_shuffle(__clc_vec4_fp16_t args_0, __clc_vec16_uint16_t args_1) { @@ -1006,7 +1007,7 @@ test___spirv_ocl_shuffle(__clc_vec8_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_shuffle(__clc_vec8_fp16_t args_0, __clc_vec16_uint16_t args_1) { @@ -1076,7 +1077,7 @@ test___spirv_ocl_shuffle(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_shuffle(__clc_vec16_fp16_t args_0, __clc_vec16_uint16_t args_1) { diff --git a/libclc/test/binding/ocl/shuffle2.cl b/libclc/test/binding/ocl/shuffle2.cl index 60b3c8ce3aeee..b55f2c78eb3c5 100644 --- a/libclc/test/binding/ocl/shuffle2.cl +++ b/libclc/test/binding/ocl/shuffle2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -80,7 +81,7 @@ test___spirv_ocl_shuffle2(__clc_vec2_fp64_t args_0, __clc_vec2_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_shuffle2(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_uint16_t args_2) { @@ -153,7 +154,7 @@ test___spirv_ocl_shuffle2(__clc_vec4_fp64_t args_0, __clc_vec4_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_shuffle2(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec2_uint16_t args_2) { @@ -226,7 +227,7 @@ test___spirv_ocl_shuffle2(__clc_vec8_fp64_t args_0, __clc_vec8_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_shuffle2(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec2_uint16_t args_2) { @@ -303,7 +304,7 @@ test___spirv_ocl_shuffle2(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_shuffle2(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec2_uint16_t args_2) { @@ -376,7 +377,7 @@ test___spirv_ocl_shuffle2(__clc_vec2_fp64_t args_0, __clc_vec2_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_shuffle2(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec4_uint16_t args_2) { @@ -449,7 +450,7 @@ test___spirv_ocl_shuffle2(__clc_vec4_fp64_t args_0, __clc_vec4_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_shuffle2(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_uint16_t args_2) { @@ -522,7 +523,7 @@ test___spirv_ocl_shuffle2(__clc_vec8_fp64_t args_0, __clc_vec8_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_shuffle2(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec4_uint16_t args_2) { @@ -599,7 +600,7 @@ test___spirv_ocl_shuffle2(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_shuffle2(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec4_uint16_t args_2) { @@ -672,7 +673,7 @@ test___spirv_ocl_shuffle2(__clc_vec2_fp64_t args_0, __clc_vec2_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_shuffle2(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec8_uint16_t args_2) { @@ -745,7 +746,7 @@ test___spirv_ocl_shuffle2(__clc_vec4_fp64_t args_0, __clc_vec4_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_shuffle2(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec8_uint16_t args_2) { @@ -818,7 +819,7 @@ test___spirv_ocl_shuffle2(__clc_vec8_fp64_t args_0, __clc_vec8_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_shuffle2(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_uint16_t args_2) { @@ -895,7 +896,7 @@ test___spirv_ocl_shuffle2(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_shuffle2(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec8_uint16_t args_2) { @@ -968,7 +969,7 @@ test___spirv_ocl_shuffle2(__clc_vec2_fp64_t args_0, __clc_vec2_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_shuffle2(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec16_uint16_t args_2) { @@ -1041,7 +1042,7 @@ test___spirv_ocl_shuffle2(__clc_vec4_fp64_t args_0, __clc_vec4_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_shuffle2(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec16_uint16_t args_2) { @@ -1114,7 +1115,7 @@ test___spirv_ocl_shuffle2(__clc_vec8_fp64_t args_0, __clc_vec8_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_shuffle2(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec16_uint16_t args_2) { @@ -1191,7 +1192,7 @@ test___spirv_ocl_shuffle2(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_shuffle2(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, __clc_vec16_uint16_t args_2) { diff --git a/libclc/test/binding/ocl/sign.cl b/libclc/test/binding/ocl/sign.cl index fe2e303e94f3c..73b04a2fed00d 100644 --- a/libclc/test/binding/ocl/sign.cl +++ b/libclc/test/binding/ocl/sign.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_sign(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_sign(__clc_fp16_t args_0) { return __spirv_ocl_sign(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_sign(__clc_vec2_fp16_t args_0) { return __spirv_ocl_sign(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_sign(__clc_vec3_fp16_t args_0) { return __spirv_ocl_sign(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_sign(__clc_vec4_fp16_t args_0) { return __spirv_ocl_sign(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_sign(__clc_vec8_fp16_t args_0) { return __spirv_ocl_sign(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_sign(__clc_vec16_fp16_t args_0) { return __spirv_ocl_sign(args_0); diff --git a/libclc/test/binding/ocl/sin.cl b/libclc/test/binding/ocl/sin.cl index 8ea40dab9e504..570b8d836792f 100644 --- a/libclc/test/binding/ocl/sin.cl +++ b/libclc/test/binding/ocl/sin.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_sin(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_sin(__clc_fp16_t args_0) { return __spirv_ocl_sin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_sin(__clc_vec2_fp16_t args_0) { return __spirv_ocl_sin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_sin(__clc_vec3_fp16_t args_0) { return __spirv_ocl_sin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_sin(__clc_vec4_fp16_t args_0) { return __spirv_ocl_sin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_sin(__clc_vec8_fp16_t args_0) { return __spirv_ocl_sin(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_sin(__clc_vec16_fp16_t args_0) { return __spirv_ocl_sin(args_0); diff --git a/libclc/test/binding/ocl/sincos.cl b/libclc/test/binding/ocl/sincos.cl index ac613fed64ba7..235b7d9bfba6c 100644 --- a/libclc/test/binding/ocl/sincos.cl +++ b/libclc/test/binding/ocl/sincos.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -97,14 +98,14 @@ test___spirv_ocl_sincos(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_sincos(__clc_fp16_t args_0, __clc_fp16_t __local *args_1) { return __spirv_ocl_sincos(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_sincos(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t __local *args_1) { @@ -112,7 +113,7 @@ test___spirv_ocl_sincos(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_sincos(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t __local *args_1) { @@ -120,7 +121,7 @@ test___spirv_ocl_sincos(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_sincos(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t __local *args_1) { @@ -128,7 +129,7 @@ test___spirv_ocl_sincos(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_sincos(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t __local *args_1) { @@ -136,7 +137,7 @@ test___spirv_ocl_sincos(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_sincos(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t __local *args_1) { @@ -216,42 +217,42 @@ test___spirv_ocl_sincos(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t *args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_sincos(__clc_fp16_t args_0, __clc_fp16_t *args_1) { return __spirv_ocl_sincos(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_sincos(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t *args_1) { return __spirv_ocl_sincos(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_sincos(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t *args_1) { return __spirv_ocl_sincos(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_sincos(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t *args_1) { return __spirv_ocl_sincos(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_sincos(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t *args_1) { return __spirv_ocl_sincos(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_sincos(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t *args_1) { return __spirv_ocl_sincos(args_0, args_1); @@ -340,14 +341,14 @@ test___spirv_ocl_sincos(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_sincos(__clc_fp16_t args_0, __clc_fp16_t __global *args_1) { return __spirv_ocl_sincos(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_sincos(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t __global *args_1) { @@ -355,7 +356,7 @@ test___spirv_ocl_sincos(__clc_vec2_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_sincos(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t __global *args_1) { @@ -363,7 +364,7 @@ test___spirv_ocl_sincos(__clc_vec3_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_sincos(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t __global *args_1) { @@ -371,7 +372,7 @@ test___spirv_ocl_sincos(__clc_vec4_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_sincos(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t __global *args_1) { @@ -379,7 +380,7 @@ test___spirv_ocl_sincos(__clc_vec8_fp16_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_sincos(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t __global *args_1) { diff --git a/libclc/test/binding/ocl/sinh.cl b/libclc/test/binding/ocl/sinh.cl index d8e72294328cf..220e973f41ef5 100644 --- a/libclc/test/binding/ocl/sinh.cl +++ b/libclc/test/binding/ocl/sinh.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_sinh(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_sinh(__clc_fp16_t args_0) { return __spirv_ocl_sinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_sinh(__clc_vec2_fp16_t args_0) { return __spirv_ocl_sinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_sinh(__clc_vec3_fp16_t args_0) { return __spirv_ocl_sinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_sinh(__clc_vec4_fp16_t args_0) { return __spirv_ocl_sinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_sinh(__clc_vec8_fp16_t args_0) { return __spirv_ocl_sinh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_sinh(__clc_vec16_fp16_t args_0) { return __spirv_ocl_sinh(args_0); diff --git a/libclc/test/binding/ocl/sinpi.cl b/libclc/test/binding/ocl/sinpi.cl index bc9b9ddd51c91..f899e50f82ab2 100644 --- a/libclc/test/binding/ocl/sinpi.cl +++ b/libclc/test/binding/ocl/sinpi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_sinpi(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_sinpi(__clc_fp16_t args_0) { return __spirv_ocl_sinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_sinpi(__clc_vec2_fp16_t args_0) { return __spirv_ocl_sinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_sinpi(__clc_vec3_fp16_t args_0) { return __spirv_ocl_sinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_sinpi(__clc_vec4_fp16_t args_0) { return __spirv_ocl_sinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_sinpi(__clc_vec8_fp16_t args_0) { return __spirv_ocl_sinpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_sinpi(__clc_vec16_fp16_t args_0) { return __spirv_ocl_sinpi(args_0); diff --git a/libclc/test/binding/ocl/smoothstep.cl b/libclc/test/binding/ocl/smoothstep.cl index 5b76501993672..58bf093fa3c24 100644 --- a/libclc/test/binding/ocl/smoothstep.cl +++ b/libclc/test/binding/ocl/smoothstep.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -101,7 +102,7 @@ test___spirv_ocl_smoothstep(__clc_vec16_fp64_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_smoothstep(__clc_fp16_t args_0, __clc_fp16_t args_1, __clc_fp16_t args_2) { @@ -109,7 +110,7 @@ test___spirv_ocl_smoothstep(__clc_fp16_t args_0, __clc_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_smoothstep(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, __clc_vec2_fp16_t args_2) { @@ -117,7 +118,7 @@ test___spirv_ocl_smoothstep(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_smoothstep(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, __clc_vec3_fp16_t args_2) { @@ -125,7 +126,7 @@ test___spirv_ocl_smoothstep(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_smoothstep(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, __clc_vec4_fp16_t args_2) { @@ -133,7 +134,7 @@ test___spirv_ocl_smoothstep(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_smoothstep(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, __clc_vec8_fp16_t args_2) { @@ -141,7 +142,7 @@ test___spirv_ocl_smoothstep(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_smoothstep(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1, diff --git a/libclc/test/binding/ocl/sqrt.cl b/libclc/test/binding/ocl/sqrt.cl index ceb6045a4c994..88916b706bc1a 100644 --- a/libclc/test/binding/ocl/sqrt.cl +++ b/libclc/test/binding/ocl/sqrt.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_sqrt(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_sqrt(__clc_fp16_t args_0) { return __spirv_ocl_sqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_sqrt(__clc_vec2_fp16_t args_0) { return __spirv_ocl_sqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_sqrt(__clc_vec3_fp16_t args_0) { return __spirv_ocl_sqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_sqrt(__clc_vec4_fp16_t args_0) { return __spirv_ocl_sqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_sqrt(__clc_vec8_fp16_t args_0) { return __spirv_ocl_sqrt(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_sqrt(__clc_vec16_fp16_t args_0) { return __spirv_ocl_sqrt(args_0); diff --git a/libclc/test/binding/ocl/step.cl b/libclc/test/binding/ocl/step.cl index 8933fc112017e..7d5a1fd4daea6 100644 --- a/libclc/test/binding/ocl/step.cl +++ b/libclc/test/binding/ocl/step.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_step(__clc_vec16_fp64_t args_0, __clc_vec16_fp64_t args_1) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_step(__clc_fp16_t args_0, __clc_fp16_t args_1) { return __spirv_ocl_step(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_step(__clc_vec2_fp16_t args_0, __clc_vec2_fp16_t args_1) { return __spirv_ocl_step(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_step(__clc_vec3_fp16_t args_0, __clc_vec3_fp16_t args_1) { return __spirv_ocl_step(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_step(__clc_vec4_fp16_t args_0, __clc_vec4_fp16_t args_1) { return __spirv_ocl_step(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_step(__clc_vec8_fp16_t args_0, __clc_vec8_fp16_t args_1) { return __spirv_ocl_step(args_0, args_1); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_step(__clc_vec16_fp16_t args_0, __clc_vec16_fp16_t args_1) { return __spirv_ocl_step(args_0, args_1); diff --git a/libclc/test/binding/ocl/tan.cl b/libclc/test/binding/ocl/tan.cl index e1bb42f49d70e..8cb835b2aa29a 100644 --- a/libclc/test/binding/ocl/tan.cl +++ b/libclc/test/binding/ocl/tan.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_tan(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_tan(__clc_fp16_t args_0) { return __spirv_ocl_tan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_tan(__clc_vec2_fp16_t args_0) { return __spirv_ocl_tan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_tan(__clc_vec3_fp16_t args_0) { return __spirv_ocl_tan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_tan(__clc_vec4_fp16_t args_0) { return __spirv_ocl_tan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_tan(__clc_vec8_fp16_t args_0) { return __spirv_ocl_tan(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_tan(__clc_vec16_fp16_t args_0) { return __spirv_ocl_tan(args_0); diff --git a/libclc/test/binding/ocl/tanh.cl b/libclc/test/binding/ocl/tanh.cl index 25205f8178525..41789ba934564 100644 --- a/libclc/test/binding/ocl/tanh.cl +++ b/libclc/test/binding/ocl/tanh.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_tanh(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_tanh(__clc_fp16_t args_0) { return __spirv_ocl_tanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_tanh(__clc_vec2_fp16_t args_0) { return __spirv_ocl_tanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_tanh(__clc_vec3_fp16_t args_0) { return __spirv_ocl_tanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_tanh(__clc_vec4_fp16_t args_0) { return __spirv_ocl_tanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_tanh(__clc_vec8_fp16_t args_0) { return __spirv_ocl_tanh(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_tanh(__clc_vec16_fp16_t args_0) { return __spirv_ocl_tanh(args_0); diff --git a/libclc/test/binding/ocl/tanpi.cl b/libclc/test/binding/ocl/tanpi.cl index 107cf40891ff8..ddea10457267d 100644 --- a/libclc/test/binding/ocl/tanpi.cl +++ b/libclc/test/binding/ocl/tanpi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_tanpi(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_tanpi(__clc_fp16_t args_0) { return __spirv_ocl_tanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_tanpi(__clc_vec2_fp16_t args_0) { return __spirv_ocl_tanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_tanpi(__clc_vec3_fp16_t args_0) { return __spirv_ocl_tanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_tanpi(__clc_vec4_fp16_t args_0) { return __spirv_ocl_tanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_tanpi(__clc_vec8_fp16_t args_0) { return __spirv_ocl_tanpi(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_tanpi(__clc_vec16_fp16_t args_0) { return __spirv_ocl_tanpi(args_0); diff --git a/libclc/test/binding/ocl/tgamma.cl b/libclc/test/binding/ocl/tgamma.cl index 9f57646e2de9e..090d33f83a9ce 100644 --- a/libclc/test/binding/ocl/tgamma.cl +++ b/libclc/test/binding/ocl/tgamma.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_tgamma(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_tgamma(__clc_fp16_t args_0) { return __spirv_ocl_tgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_tgamma(__clc_vec2_fp16_t args_0) { return __spirv_ocl_tgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_tgamma(__clc_vec3_fp16_t args_0) { return __spirv_ocl_tgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_tgamma(__clc_vec4_fp16_t args_0) { return __spirv_ocl_tgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_tgamma(__clc_vec8_fp16_t args_0) { return __spirv_ocl_tgamma(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_tgamma(__clc_vec16_fp16_t args_0) { return __spirv_ocl_tgamma(args_0); diff --git a/libclc/test/binding/ocl/trunc.cl b/libclc/test/binding/ocl/trunc.cl index fd32745a896ba..ff3ebc7905b38 100644 --- a/libclc/test/binding/ocl/trunc.cl +++ b/libclc/test/binding/ocl/trunc.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -87,42 +88,42 @@ test___spirv_ocl_trunc(__clc_vec16_fp64_t args_0) { } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp16_t test___spirv_ocl_trunc(__clc_fp16_t args_0) { return __spirv_ocl_trunc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_trunc(__clc_vec2_fp16_t args_0) { return __spirv_ocl_trunc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_trunc(__clc_vec3_fp16_t args_0) { return __spirv_ocl_trunc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_trunc(__clc_vec4_fp16_t args_0) { return __spirv_ocl_trunc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_trunc(__clc_vec8_fp16_t args_0) { return __spirv_ocl_trunc(args_0); } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_trunc(__clc_vec16_fp16_t args_0) { return __spirv_ocl_trunc(args_0); diff --git a/libclc/test/binding/ocl/u_abs.cl b/libclc/test/binding/ocl/u_abs.cl index 7cc9c13a77c80..62887fee0493c 100644 --- a/libclc/test/binding/ocl/u_abs.cl +++ b/libclc/test/binding/ocl/u_abs.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_abs_diff.cl b/libclc/test/binding/ocl/u_abs_diff.cl index ae9356a5f5c1b..bb572dad37e0c 100644 --- a/libclc/test/binding/ocl/u_abs_diff.cl +++ b/libclc/test/binding/ocl/u_abs_diff.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_add_sat.cl b/libclc/test/binding/ocl/u_add_sat.cl index 6931486b31134..f8f651a3772cf 100644 --- a/libclc/test/binding/ocl/u_add_sat.cl +++ b/libclc/test/binding/ocl/u_add_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_clamp.cl b/libclc/test/binding/ocl/u_clamp.cl index 85a323ed5d2a1..e9c7181d67d92 100644 --- a/libclc/test/binding/ocl/u_clamp.cl +++ b/libclc/test/binding/ocl/u_clamp.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_hadd.cl b/libclc/test/binding/ocl/u_hadd.cl index 109b679b46b48..7ace25ec1597d 100644 --- a/libclc/test/binding/ocl/u_hadd.cl +++ b/libclc/test/binding/ocl/u_hadd.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_mad24.cl b/libclc/test/binding/ocl/u_mad24.cl index 3887ca817a849..3cc28b2474d7a 100644 --- a/libclc/test/binding/ocl/u_mad24.cl +++ b/libclc/test/binding/ocl/u_mad24.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_mad_hi.cl b/libclc/test/binding/ocl/u_mad_hi.cl index 42a8460f9fcc6..d6fa07f80cbf1 100644 --- a/libclc/test/binding/ocl/u_mad_hi.cl +++ b/libclc/test/binding/ocl/u_mad_hi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_mad_sat.cl b/libclc/test/binding/ocl/u_mad_sat.cl index 36a30a46b5987..d4f84148d8181 100644 --- a/libclc/test/binding/ocl/u_mad_sat.cl +++ b/libclc/test/binding/ocl/u_mad_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_max.cl b/libclc/test/binding/ocl/u_max.cl index 02e8b8ebfb4d8..6e52e9d961dd9 100644 --- a/libclc/test/binding/ocl/u_max.cl +++ b/libclc/test/binding/ocl/u_max.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_min.cl b/libclc/test/binding/ocl/u_min.cl index f24bb3d07598d..a78f39f4aeb6f 100644 --- a/libclc/test/binding/ocl/u_min.cl +++ b/libclc/test/binding/ocl/u_min.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_mul24.cl b/libclc/test/binding/ocl/u_mul24.cl index 851b0def7586f..36ce234c82eb0 100644 --- a/libclc/test/binding/ocl/u_mul24.cl +++ b/libclc/test/binding/ocl/u_mul24.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_mul_hi.cl b/libclc/test/binding/ocl/u_mul_hi.cl index 1fa2fd71be9f9..5b55079c1bb5d 100644 --- a/libclc/test/binding/ocl/u_mul_hi.cl +++ b/libclc/test/binding/ocl/u_mul_hi.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_rhadd.cl b/libclc/test/binding/ocl/u_rhadd.cl index 586e7f592d3c5..1b69cf525ba72 100644 --- a/libclc/test/binding/ocl/u_rhadd.cl +++ b/libclc/test/binding/ocl/u_rhadd.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_sub_sat.cl b/libclc/test/binding/ocl/u_sub_sat.cl index 138ed2fe15c47..04fc0e191718f 100644 --- a/libclc/test/binding/ocl/u_sub_sat.cl +++ b/libclc/test/binding/ocl/u_sub_sat.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/u_upsample.cl b/libclc/test/binding/ocl/u_upsample.cl index ae3167abe3621..59230bf2dd625 100644 --- a/libclc/test/binding/ocl/u_upsample.cl +++ b/libclc/test/binding/ocl/u_upsample.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vload_half.cl b/libclc/test/binding/ocl/vload_half.cl index 396177ecbb9c0..8c385a5499155 100644 --- a/libclc/test/binding/ocl/vload_half.cl +++ b/libclc/test/binding/ocl/vload_half.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp32_t test___spirv_ocl_vload_half(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vload_half(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp32_t test___spirv_ocl_vload_half(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vload_half(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp32_t test___spirv_ocl_vload_half(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vload_half(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_fp32_t test___spirv_ocl_vload_half(__clc_size_t args_0, __clc_fp16_t const *args_1) { return __spirv_ocl_vload_half(args_0, args_1); diff --git a/libclc/test/binding/ocl/vload_halfn_Rfloat16.cl b/libclc/test/binding/ocl/vload_halfn_Rfloat16.cl index d10cb72ac990d..ee53b23f8bc4d 100644 --- a/libclc/test/binding/ocl/vload_halfn_Rfloat16.cl +++ b/libclc/test/binding/ocl/vload_halfn_Rfloat16.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_ocl_vload_halfn_Rfloat16(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vload_halfn_Rfloat16(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_ocl_vload_halfn_Rfloat16(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vload_halfn_Rfloat16(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_ocl_vload_halfn_Rfloat16(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vload_halfn_Rfloat16(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_ocl_vload_halfn_Rfloat16(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vload_halfn_Rfloat2.cl b/libclc/test/binding/ocl/vload_halfn_Rfloat2.cl index 2dfcf883766ab..e04055207c789 100644 --- a/libclc/test/binding/ocl/vload_halfn_Rfloat2.cl +++ b/libclc/test/binding/ocl/vload_halfn_Rfloat2.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_ocl_vload_halfn_Rfloat2(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vload_halfn_Rfloat2(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_ocl_vload_halfn_Rfloat2(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vload_halfn_Rfloat2(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_ocl_vload_halfn_Rfloat2(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vload_halfn_Rfloat2(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_ocl_vload_halfn_Rfloat2(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vload_halfn_Rfloat3.cl b/libclc/test/binding/ocl/vload_halfn_Rfloat3.cl index 37cf66c296752..5cf96c765c74c 100644 --- a/libclc/test/binding/ocl/vload_halfn_Rfloat3.cl +++ b/libclc/test/binding/ocl/vload_halfn_Rfloat3.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_ocl_vload_halfn_Rfloat3(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vload_halfn_Rfloat3(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_ocl_vload_halfn_Rfloat3(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vload_halfn_Rfloat3(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_ocl_vload_halfn_Rfloat3(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vload_halfn_Rfloat3(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_ocl_vload_halfn_Rfloat3(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vload_halfn_Rfloat4.cl b/libclc/test/binding/ocl/vload_halfn_Rfloat4.cl index d141b6fc37b12..01256b7faf3f2 100644 --- a/libclc/test/binding/ocl/vload_halfn_Rfloat4.cl +++ b/libclc/test/binding/ocl/vload_halfn_Rfloat4.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_ocl_vload_halfn_Rfloat4(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vload_halfn_Rfloat4(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_ocl_vload_halfn_Rfloat4(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vload_halfn_Rfloat4(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_ocl_vload_halfn_Rfloat4(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vload_halfn_Rfloat4(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_ocl_vload_halfn_Rfloat4(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vload_halfn_Rfloat8.cl b/libclc/test/binding/ocl/vload_halfn_Rfloat8.cl index 628ba269f91e3..bb2544874921f 100644 --- a/libclc/test/binding/ocl/vload_halfn_Rfloat8.cl +++ b/libclc/test/binding/ocl/vload_halfn_Rfloat8.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_ocl_vload_halfn_Rfloat8(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vload_halfn_Rfloat8(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_ocl_vload_halfn_Rfloat8(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vload_halfn_Rfloat8(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_ocl_vload_halfn_Rfloat8(__clc_size_t args_0, __clc_fp16_t const *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vload_halfn_Rfloat8(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_ocl_vload_halfn_Rfloat8(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { diff --git a/libclc/test/binding/ocl/vloada_halfn_Rfloat16.cl b/libclc/test/binding/ocl/vloada_halfn_Rfloat16.cl index a6cb6fb2daac0..95757cf611ee2 100644 --- a/libclc/test/binding/ocl/vloada_halfn_Rfloat16.cl +++ b/libclc/test/binding/ocl/vloada_halfn_Rfloat16.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_ocl_vloada_halfn_Rfloat16(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloada_halfn_Rfloat16(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_ocl_vloada_halfn_Rfloat16(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloada_halfn_Rfloat16(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_ocl_vloada_halfn_Rfloat16(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloada_halfn_Rfloat16(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp32_t test___spirv_ocl_vloada_halfn_Rfloat16(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vloada_halfn_Rfloat2.cl b/libclc/test/binding/ocl/vloada_halfn_Rfloat2.cl index 2fcf239da4abf..07a73f3efe4e9 100644 --- a/libclc/test/binding/ocl/vloada_halfn_Rfloat2.cl +++ b/libclc/test/binding/ocl/vloada_halfn_Rfloat2.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_ocl_vloada_halfn_Rfloat2(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloada_halfn_Rfloat2(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_ocl_vloada_halfn_Rfloat2(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloada_halfn_Rfloat2(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_ocl_vloada_halfn_Rfloat2(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloada_halfn_Rfloat2(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp32_t test___spirv_ocl_vloada_halfn_Rfloat2(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vloada_halfn_Rfloat3.cl b/libclc/test/binding/ocl/vloada_halfn_Rfloat3.cl index f4af130a284a3..c30d159a59c67 100644 --- a/libclc/test/binding/ocl/vloada_halfn_Rfloat3.cl +++ b/libclc/test/binding/ocl/vloada_halfn_Rfloat3.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_ocl_vloada_halfn_Rfloat3(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloada_halfn_Rfloat3(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_ocl_vloada_halfn_Rfloat3(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloada_halfn_Rfloat3(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_ocl_vloada_halfn_Rfloat3(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloada_halfn_Rfloat3(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp32_t test___spirv_ocl_vloada_halfn_Rfloat3(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vloada_halfn_Rfloat4.cl b/libclc/test/binding/ocl/vloada_halfn_Rfloat4.cl index c4037d16946bd..4eff5d27c9ee0 100644 --- a/libclc/test/binding/ocl/vloada_halfn_Rfloat4.cl +++ b/libclc/test/binding/ocl/vloada_halfn_Rfloat4.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_ocl_vloada_halfn_Rfloat4(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloada_halfn_Rfloat4(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_ocl_vloada_halfn_Rfloat4(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloada_halfn_Rfloat4(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_ocl_vloada_halfn_Rfloat4(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloada_halfn_Rfloat4(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp32_t test___spirv_ocl_vloada_halfn_Rfloat4(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vloada_halfn_Rfloat8.cl b/libclc/test/binding/ocl/vloada_halfn_Rfloat8.cl index 5704c6fe5680c..cb4c28a18d6fb 100644 --- a/libclc/test/binding/ocl/vloada_halfn_Rfloat8.cl +++ b/libclc/test/binding/ocl/vloada_halfn_Rfloat8.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_ocl_vloada_halfn_Rfloat8(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloada_halfn_Rfloat8(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_ocl_vloada_halfn_Rfloat8(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloada_halfn_Rfloat8(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_ocl_vloada_halfn_Rfloat8(__clc_size_t args_0, __clc_fp16_t const *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloada_halfn_Rfloat8(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp32_t test___spirv_ocl_vloada_halfn_Rfloat8(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { diff --git a/libclc/test/binding/ocl/vloadn_Rchar16.cl b/libclc/test/binding/ocl/vloadn_Rchar16.cl index cc6ddd06345e5..2f930a2563a5c 100644 --- a/libclc/test/binding/ocl/vloadn_Rchar16.cl +++ b/libclc/test/binding/ocl/vloadn_Rchar16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rchar2.cl b/libclc/test/binding/ocl/vloadn_Rchar2.cl index 4ba2b9bd1b38b..0ce7c794d28ea 100644 --- a/libclc/test/binding/ocl/vloadn_Rchar2.cl +++ b/libclc/test/binding/ocl/vloadn_Rchar2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rchar3.cl b/libclc/test/binding/ocl/vloadn_Rchar3.cl index b4019a2820c22..7bb0440b5d776 100644 --- a/libclc/test/binding/ocl/vloadn_Rchar3.cl +++ b/libclc/test/binding/ocl/vloadn_Rchar3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rchar4.cl b/libclc/test/binding/ocl/vloadn_Rchar4.cl index ef3fa77c56a09..46a0a4a1a9edb 100644 --- a/libclc/test/binding/ocl/vloadn_Rchar4.cl +++ b/libclc/test/binding/ocl/vloadn_Rchar4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rchar8.cl b/libclc/test/binding/ocl/vloadn_Rchar8.cl index e03c072e42f4d..6fafd9826ec58 100644 --- a/libclc/test/binding/ocl/vloadn_Rchar8.cl +++ b/libclc/test/binding/ocl/vloadn_Rchar8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rdouble16.cl b/libclc/test/binding/ocl/vloadn_Rdouble16.cl index 1baa75932f69f..302eeec75dcf9 100644 --- a/libclc/test/binding/ocl/vloadn_Rdouble16.cl +++ b/libclc/test/binding/ocl/vloadn_Rdouble16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rdouble2.cl b/libclc/test/binding/ocl/vloadn_Rdouble2.cl index a78175c858f5d..080d1e163698f 100644 --- a/libclc/test/binding/ocl/vloadn_Rdouble2.cl +++ b/libclc/test/binding/ocl/vloadn_Rdouble2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rdouble3.cl b/libclc/test/binding/ocl/vloadn_Rdouble3.cl index 7e6f67cf6aba7..d35f4a0b7fff0 100644 --- a/libclc/test/binding/ocl/vloadn_Rdouble3.cl +++ b/libclc/test/binding/ocl/vloadn_Rdouble3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rdouble4.cl b/libclc/test/binding/ocl/vloadn_Rdouble4.cl index 6c9199efc7501..961d2675a066a 100644 --- a/libclc/test/binding/ocl/vloadn_Rdouble4.cl +++ b/libclc/test/binding/ocl/vloadn_Rdouble4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rdouble8.cl b/libclc/test/binding/ocl/vloadn_Rdouble8.cl index fab3d6470e59e..ca4e8cc4fa123 100644 --- a/libclc/test/binding/ocl/vloadn_Rdouble8.cl +++ b/libclc/test/binding/ocl/vloadn_Rdouble8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rfloat16.cl b/libclc/test/binding/ocl/vloadn_Rfloat16.cl index 0a9ccbca49ad8..dcc40d11513fc 100644 --- a/libclc/test/binding/ocl/vloadn_Rfloat16.cl +++ b/libclc/test/binding/ocl/vloadn_Rfloat16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rfloat2.cl b/libclc/test/binding/ocl/vloadn_Rfloat2.cl index 1a2a7fce96ce3..4ef62bff61934 100644 --- a/libclc/test/binding/ocl/vloadn_Rfloat2.cl +++ b/libclc/test/binding/ocl/vloadn_Rfloat2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rfloat3.cl b/libclc/test/binding/ocl/vloadn_Rfloat3.cl index 8d37f39867ed5..89eb9dd8addbe 100644 --- a/libclc/test/binding/ocl/vloadn_Rfloat3.cl +++ b/libclc/test/binding/ocl/vloadn_Rfloat3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rfloat4.cl b/libclc/test/binding/ocl/vloadn_Rfloat4.cl index 8ba449cf63d1d..040f324a1de1b 100644 --- a/libclc/test/binding/ocl/vloadn_Rfloat4.cl +++ b/libclc/test/binding/ocl/vloadn_Rfloat4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rfloat8.cl b/libclc/test/binding/ocl/vloadn_Rfloat8.cl index 35d19138b7467..4a59ff2b2e680 100644 --- a/libclc/test/binding/ocl/vloadn_Rfloat8.cl +++ b/libclc/test/binding/ocl/vloadn_Rfloat8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rhalf16.cl b/libclc/test/binding/ocl/vloadn_Rhalf16.cl index 13fbe403451fc..a7c8870dea01a 100644 --- a/libclc/test/binding/ocl/vloadn_Rhalf16.cl +++ b/libclc/test/binding/ocl/vloadn_Rhalf16.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_vloadn_Rhalf16(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloadn_Rhalf16(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_vloadn_Rhalf16(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloadn_Rhalf16(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_vloadn_Rhalf16(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloadn_Rhalf16(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec16_fp16_t test___spirv_ocl_vloadn_Rhalf16(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vloadn_Rhalf2.cl b/libclc/test/binding/ocl/vloadn_Rhalf2.cl index 38b232c37ae4a..d3de7fe074ce6 100644 --- a/libclc/test/binding/ocl/vloadn_Rhalf2.cl +++ b/libclc/test/binding/ocl/vloadn_Rhalf2.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_vloadn_Rhalf2(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloadn_Rhalf2(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_vloadn_Rhalf2(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloadn_Rhalf2(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_vloadn_Rhalf2(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloadn_Rhalf2(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec2_fp16_t test___spirv_ocl_vloadn_Rhalf2(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vloadn_Rhalf3.cl b/libclc/test/binding/ocl/vloadn_Rhalf3.cl index de1914637a370..9f28d0641238d 100644 --- a/libclc/test/binding/ocl/vloadn_Rhalf3.cl +++ b/libclc/test/binding/ocl/vloadn_Rhalf3.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_vloadn_Rhalf3(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloadn_Rhalf3(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_vloadn_Rhalf3(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloadn_Rhalf3(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_vloadn_Rhalf3(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloadn_Rhalf3(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec3_fp16_t test___spirv_ocl_vloadn_Rhalf3(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vloadn_Rhalf4.cl b/libclc/test/binding/ocl/vloadn_Rhalf4.cl index dd67ec602c3a8..38440ba8fdd44 100644 --- a/libclc/test/binding/ocl/vloadn_Rhalf4.cl +++ b/libclc/test/binding/ocl/vloadn_Rhalf4.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_vloadn_Rhalf4(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloadn_Rhalf4(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_vloadn_Rhalf4(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloadn_Rhalf4(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_vloadn_Rhalf4(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloadn_Rhalf4(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec4_fp16_t test___spirv_ocl_vloadn_Rhalf4(__clc_size_t args_0, __clc_fp16_t const *args_1) { diff --git a/libclc/test/binding/ocl/vloadn_Rhalf8.cl b/libclc/test/binding/ocl/vloadn_Rhalf8.cl index c779ea5e87859..1adb84ec37be8 100644 --- a/libclc/test/binding/ocl/vloadn_Rhalf8.cl +++ b/libclc/test/binding/ocl/vloadn_Rhalf8.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_vloadn_Rhalf8(__clc_size_t args_0, __clc_fp16_t const __local *args_1) { @@ -23,7 +24,7 @@ test___spirv_ocl_vloadn_Rhalf8(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_vloadn_Rhalf8(__clc_size_t args_0, __clc_fp16_t const __constant *args_1) { @@ -31,7 +32,7 @@ test___spirv_ocl_vloadn_Rhalf8(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_vloadn_Rhalf8(__clc_size_t args_0, __clc_fp16_t const *args_1) { @@ -39,7 +40,7 @@ test___spirv_ocl_vloadn_Rhalf8(__clc_size_t args_0, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) __clc_vec8_fp16_t test___spirv_ocl_vloadn_Rhalf8(__clc_size_t args_0, __clc_fp16_t const __global *args_1) { diff --git a/libclc/test/binding/ocl/vloadn_Rint16.cl b/libclc/test/binding/ocl/vloadn_Rint16.cl index d141ab36f8884..00bdf8eab3485 100644 --- a/libclc/test/binding/ocl/vloadn_Rint16.cl +++ b/libclc/test/binding/ocl/vloadn_Rint16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rint2.cl b/libclc/test/binding/ocl/vloadn_Rint2.cl index e768bc11e7d51..85efa03827fa2 100644 --- a/libclc/test/binding/ocl/vloadn_Rint2.cl +++ b/libclc/test/binding/ocl/vloadn_Rint2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rint3.cl b/libclc/test/binding/ocl/vloadn_Rint3.cl index 2ddab761c9237..46440f407a2a6 100644 --- a/libclc/test/binding/ocl/vloadn_Rint3.cl +++ b/libclc/test/binding/ocl/vloadn_Rint3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rint4.cl b/libclc/test/binding/ocl/vloadn_Rint4.cl index f672444b2468e..a483dad919bfb 100644 --- a/libclc/test/binding/ocl/vloadn_Rint4.cl +++ b/libclc/test/binding/ocl/vloadn_Rint4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rint8.cl b/libclc/test/binding/ocl/vloadn_Rint8.cl index 27237ec1bae1a..5809af9fa53bb 100644 --- a/libclc/test/binding/ocl/vloadn_Rint8.cl +++ b/libclc/test/binding/ocl/vloadn_Rint8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rlong16.cl b/libclc/test/binding/ocl/vloadn_Rlong16.cl index 455a4907e0b14..92142783be8e8 100644 --- a/libclc/test/binding/ocl/vloadn_Rlong16.cl +++ b/libclc/test/binding/ocl/vloadn_Rlong16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rlong2.cl b/libclc/test/binding/ocl/vloadn_Rlong2.cl index b64065e48804f..10833c3878700 100644 --- a/libclc/test/binding/ocl/vloadn_Rlong2.cl +++ b/libclc/test/binding/ocl/vloadn_Rlong2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rlong3.cl b/libclc/test/binding/ocl/vloadn_Rlong3.cl index 207ee7fe79543..f8bdd0860b828 100644 --- a/libclc/test/binding/ocl/vloadn_Rlong3.cl +++ b/libclc/test/binding/ocl/vloadn_Rlong3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rlong4.cl b/libclc/test/binding/ocl/vloadn_Rlong4.cl index ca48f124f261e..469b386f80411 100644 --- a/libclc/test/binding/ocl/vloadn_Rlong4.cl +++ b/libclc/test/binding/ocl/vloadn_Rlong4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rlong8.cl b/libclc/test/binding/ocl/vloadn_Rlong8.cl index 795bd3d446e3d..8be47d6d5d4ba 100644 --- a/libclc/test/binding/ocl/vloadn_Rlong8.cl +++ b/libclc/test/binding/ocl/vloadn_Rlong8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rshort16.cl b/libclc/test/binding/ocl/vloadn_Rshort16.cl index ad74ee6029399..6adea1d3ea8a7 100644 --- a/libclc/test/binding/ocl/vloadn_Rshort16.cl +++ b/libclc/test/binding/ocl/vloadn_Rshort16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rshort2.cl b/libclc/test/binding/ocl/vloadn_Rshort2.cl index 02e0f086e0ad0..dd1aab7b26a51 100644 --- a/libclc/test/binding/ocl/vloadn_Rshort2.cl +++ b/libclc/test/binding/ocl/vloadn_Rshort2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rshort3.cl b/libclc/test/binding/ocl/vloadn_Rshort3.cl index 32b3b8726cf6c..0ab4f6b0c195e 100644 --- a/libclc/test/binding/ocl/vloadn_Rshort3.cl +++ b/libclc/test/binding/ocl/vloadn_Rshort3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rshort4.cl b/libclc/test/binding/ocl/vloadn_Rshort4.cl index 5fcffd552dd60..d5af750456d8f 100644 --- a/libclc/test/binding/ocl/vloadn_Rshort4.cl +++ b/libclc/test/binding/ocl/vloadn_Rshort4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rshort8.cl b/libclc/test/binding/ocl/vloadn_Rshort8.cl index 84d1747965158..ef80d1226cef4 100644 --- a/libclc/test/binding/ocl/vloadn_Rshort8.cl +++ b/libclc/test/binding/ocl/vloadn_Rshort8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruchar16.cl b/libclc/test/binding/ocl/vloadn_Ruchar16.cl index 1aebe0191d430..e1588b53c4c2a 100644 --- a/libclc/test/binding/ocl/vloadn_Ruchar16.cl +++ b/libclc/test/binding/ocl/vloadn_Ruchar16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruchar2.cl b/libclc/test/binding/ocl/vloadn_Ruchar2.cl index 4e0f94da81b42..b921039bdf83b 100644 --- a/libclc/test/binding/ocl/vloadn_Ruchar2.cl +++ b/libclc/test/binding/ocl/vloadn_Ruchar2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruchar3.cl b/libclc/test/binding/ocl/vloadn_Ruchar3.cl index 8326ada0462ca..700bc75d7013a 100644 --- a/libclc/test/binding/ocl/vloadn_Ruchar3.cl +++ b/libclc/test/binding/ocl/vloadn_Ruchar3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruchar4.cl b/libclc/test/binding/ocl/vloadn_Ruchar4.cl index f2df4aa28abd5..2cebfcc845ca3 100644 --- a/libclc/test/binding/ocl/vloadn_Ruchar4.cl +++ b/libclc/test/binding/ocl/vloadn_Ruchar4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruchar8.cl b/libclc/test/binding/ocl/vloadn_Ruchar8.cl index 08c2d2295b4cc..1185b2ae73f2f 100644 --- a/libclc/test/binding/ocl/vloadn_Ruchar8.cl +++ b/libclc/test/binding/ocl/vloadn_Ruchar8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruint16.cl b/libclc/test/binding/ocl/vloadn_Ruint16.cl index 9105f7979bc23..2891d7d3a546c 100644 --- a/libclc/test/binding/ocl/vloadn_Ruint16.cl +++ b/libclc/test/binding/ocl/vloadn_Ruint16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruint2.cl b/libclc/test/binding/ocl/vloadn_Ruint2.cl index bbe03b141059c..c7e29c8e92c4d 100644 --- a/libclc/test/binding/ocl/vloadn_Ruint2.cl +++ b/libclc/test/binding/ocl/vloadn_Ruint2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruint3.cl b/libclc/test/binding/ocl/vloadn_Ruint3.cl index bcd6f8b1be7bd..3a07cabbe2e44 100644 --- a/libclc/test/binding/ocl/vloadn_Ruint3.cl +++ b/libclc/test/binding/ocl/vloadn_Ruint3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruint4.cl b/libclc/test/binding/ocl/vloadn_Ruint4.cl index 4870b943d1ee7..0f7a49595bb57 100644 --- a/libclc/test/binding/ocl/vloadn_Ruint4.cl +++ b/libclc/test/binding/ocl/vloadn_Ruint4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Ruint8.cl b/libclc/test/binding/ocl/vloadn_Ruint8.cl index 147996de2fd77..b03ab2aec68e3 100644 --- a/libclc/test/binding/ocl/vloadn_Ruint8.cl +++ b/libclc/test/binding/ocl/vloadn_Ruint8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rulong16.cl b/libclc/test/binding/ocl/vloadn_Rulong16.cl index c590cb1e1f173..749504034ba73 100644 --- a/libclc/test/binding/ocl/vloadn_Rulong16.cl +++ b/libclc/test/binding/ocl/vloadn_Rulong16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rulong2.cl b/libclc/test/binding/ocl/vloadn_Rulong2.cl index ce62abf499fdd..b814c5295d777 100644 --- a/libclc/test/binding/ocl/vloadn_Rulong2.cl +++ b/libclc/test/binding/ocl/vloadn_Rulong2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rulong3.cl b/libclc/test/binding/ocl/vloadn_Rulong3.cl index 619b38d77649a..48aae4eeba5ea 100644 --- a/libclc/test/binding/ocl/vloadn_Rulong3.cl +++ b/libclc/test/binding/ocl/vloadn_Rulong3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rulong4.cl b/libclc/test/binding/ocl/vloadn_Rulong4.cl index cb5adb70a9df6..8455d1595d72e 100644 --- a/libclc/test/binding/ocl/vloadn_Rulong4.cl +++ b/libclc/test/binding/ocl/vloadn_Rulong4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rulong8.cl b/libclc/test/binding/ocl/vloadn_Rulong8.cl index cdccea298787b..eab06a32fd285 100644 --- a/libclc/test/binding/ocl/vloadn_Rulong8.cl +++ b/libclc/test/binding/ocl/vloadn_Rulong8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rushort16.cl b/libclc/test/binding/ocl/vloadn_Rushort16.cl index dd1d7c8214c45..68fc17b5f6a6d 100644 --- a/libclc/test/binding/ocl/vloadn_Rushort16.cl +++ b/libclc/test/binding/ocl/vloadn_Rushort16.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rushort2.cl b/libclc/test/binding/ocl/vloadn_Rushort2.cl index 795b3078cae9b..60791064a0832 100644 --- a/libclc/test/binding/ocl/vloadn_Rushort2.cl +++ b/libclc/test/binding/ocl/vloadn_Rushort2.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rushort3.cl b/libclc/test/binding/ocl/vloadn_Rushort3.cl index a0c37eccf4411..dc1567f5d3de3 100644 --- a/libclc/test/binding/ocl/vloadn_Rushort3.cl +++ b/libclc/test/binding/ocl/vloadn_Rushort3.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rushort4.cl b/libclc/test/binding/ocl/vloadn_Rushort4.cl index b69edb7ec1932..aed577e49edc5 100644 --- a/libclc/test/binding/ocl/vloadn_Rushort4.cl +++ b/libclc/test/binding/ocl/vloadn_Rushort4.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vloadn_Rushort8.cl b/libclc/test/binding/ocl/vloadn_Rushort8.cl index 381199d732a80..71dfee992ce12 100644 --- a/libclc/test/binding/ocl/vloadn_Rushort8.cl +++ b/libclc/test/binding/ocl/vloadn_Rushort8.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include diff --git a/libclc/test/binding/ocl/vstore_half.cl b/libclc/test/binding/ocl/vstore_half.cl index 2e601e7f39d14..d438e87583455 100644 --- a/libclc/test/binding/ocl/vstore_half.cl +++ b/libclc/test/binding/ocl/vstore_half.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_half(__clc_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -23,7 +24,7 @@ test___spirv_ocl_vstore_half(__clc_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_half(__clc_fp64_t args_0, __clc_size_t args_1, @@ -33,7 +34,7 @@ test___spirv_ocl_vstore_half(__clc_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_half(__clc_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -41,7 +42,7 @@ test___spirv_ocl_vstore_half(__clc_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_half(__clc_fp64_t args_0, __clc_size_t args_1, @@ -51,7 +52,7 @@ test___spirv_ocl_vstore_half(__clc_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_half(__clc_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -59,7 +60,7 @@ test___spirv_ocl_vstore_half(__clc_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_half(__clc_fp64_t args_0, __clc_size_t args_1, diff --git a/libclc/test/binding/ocl/vstore_half_r.cl b/libclc/test/binding/ocl/vstore_half_r.cl index 370b470fc4c3b..cbd634ac5adca 100644 --- a/libclc/test/binding/ocl/vstore_half_r.cl +++ b/libclc/test/binding/ocl/vstore_half_r.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_half_r(__clc_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -24,7 +25,7 @@ test___spirv_ocl_vstore_half_r(__clc_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_half_r(__clc_fp64_t args_0, __clc_size_t args_1, @@ -35,7 +36,7 @@ test___spirv_ocl_vstore_half_r(__clc_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_half_r(__clc_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -44,7 +45,7 @@ test___spirv_ocl_vstore_half_r(__clc_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_half_r(__clc_fp64_t args_0, __clc_size_t args_1, @@ -55,7 +56,7 @@ test___spirv_ocl_vstore_half_r(__clc_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_half_r(__clc_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -63,7 +64,7 @@ test___spirv_ocl_vstore_half_r(__clc_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_half_r(__clc_fp64_t args_0, __clc_size_t args_1, diff --git a/libclc/test/binding/ocl/vstore_halfn.cl b/libclc/test/binding/ocl/vstore_halfn.cl index 4285fa20c6428..8416043976df4 100644 --- a/libclc/test/binding/ocl/vstore_halfn.cl +++ b/libclc/test/binding/ocl/vstore_halfn.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -23,7 +24,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -33,7 +34,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -41,7 +42,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -51,7 +52,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -59,7 +60,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -69,7 +70,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -77,7 +78,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -87,7 +88,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -95,7 +96,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -105,7 +106,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -113,7 +114,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -123,7 +124,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -131,7 +132,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -141,7 +142,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -149,7 +150,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -159,7 +160,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -167,7 +168,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -177,7 +178,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -185,7 +186,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -195,7 +196,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -203,7 +204,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -213,7 +214,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -221,7 +222,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -231,7 +232,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -239,7 +240,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, @@ -249,7 +250,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -257,7 +258,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, @@ -267,7 +268,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -275,7 +276,7 @@ test___spirv_ocl_vstore_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, diff --git a/libclc/test/binding/ocl/vstore_halfn_r.cl b/libclc/test/binding/ocl/vstore_halfn_r.cl index 7cf8a23946bdb..867383d9b0852 100644 --- a/libclc/test/binding/ocl/vstore_halfn_r.cl +++ b/libclc/test/binding/ocl/vstore_halfn_r.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -24,7 +25,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -35,7 +36,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -44,7 +45,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -55,7 +56,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -63,7 +64,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -73,7 +74,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -82,7 +83,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -93,7 +94,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -102,7 +103,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -113,7 +114,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -121,7 +122,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -131,7 +132,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -140,7 +141,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -151,7 +152,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -160,7 +161,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -171,7 +172,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -179,7 +180,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -189,7 +190,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -198,7 +199,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -209,7 +210,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -218,7 +219,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -229,7 +230,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -237,7 +238,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -247,7 +248,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -256,7 +257,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, @@ -267,7 +268,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -276,7 +277,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, @@ -287,7 +288,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -295,7 +296,7 @@ test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstore_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, diff --git a/libclc/test/binding/ocl/vstorea_halfn.cl b/libclc/test/binding/ocl/vstorea_halfn.cl index 0152b798e9902..2e1802f29ae8f 100644 --- a/libclc/test/binding/ocl/vstorea_halfn.cl +++ b/libclc/test/binding/ocl/vstorea_halfn.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -23,7 +24,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -33,7 +34,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -41,7 +42,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -51,7 +52,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -59,7 +60,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -69,7 +70,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -77,7 +78,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -87,7 +88,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -95,7 +96,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -105,7 +106,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -113,7 +114,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -123,7 +124,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -131,7 +132,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -141,7 +142,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -149,7 +150,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -159,7 +160,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -167,7 +168,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -177,7 +178,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -185,7 +186,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -195,7 +196,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -203,7 +204,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -213,7 +214,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -221,7 +222,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -231,7 +232,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -239,7 +240,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, @@ -249,7 +250,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -257,7 +258,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, @@ -267,7 +268,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -275,7 +276,7 @@ test___spirv_ocl_vstorea_halfn(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn(__clc_vec4_fp64_t args_0, __clc_size_t args_1, diff --git a/libclc/test/binding/ocl/vstorea_halfn_r.cl b/libclc/test/binding/ocl/vstorea_halfn_r.cl index 65e2eee261d76..644b6fd68bc6e 100644 --- a/libclc/test/binding/ocl/vstorea_halfn_r.cl +++ b/libclc/test/binding/ocl/vstorea_halfn_r.cl @@ -9,13 +9,14 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include // CHECK-NOT: declare {{.*}} @_Z // CHECK-NOT: call {{[^ ]*}} bitcast -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -24,7 +25,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -35,7 +36,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -44,7 +45,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -55,7 +56,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -63,7 +64,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, @@ -73,7 +74,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec8_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -82,7 +83,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -93,7 +94,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -102,7 +103,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -113,7 +114,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -121,7 +122,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, @@ -131,7 +132,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec16_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -140,7 +141,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -151,7 +152,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -160,7 +161,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -171,7 +172,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -179,7 +180,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, @@ -189,7 +190,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec2_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -198,7 +199,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -209,7 +210,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -218,7 +219,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -229,7 +230,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -237,7 +238,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, @@ -247,7 +248,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec3_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2, @@ -256,7 +257,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, @@ -267,7 +268,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2, @@ -276,7 +277,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, @@ -287,7 +288,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, #endif #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2, __clc_uint32_t args_3) { @@ -295,7 +296,7 @@ test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp32_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) #ifdef cl_khr_fp64 __attribute__((overloadable)) void test___spirv_ocl_vstorea_halfn_r(__clc_vec4_fp64_t args_0, __clc_size_t args_1, diff --git a/libclc/test/binding/ocl/vstoren.cl b/libclc/test/binding/ocl/vstoren.cl index 40e43ca01d7be..9075ab6a90113 100644 --- a/libclc/test/binding/ocl/vstoren.cl +++ b/libclc/test/binding/ocl/vstoren.cl @@ -9,7 +9,8 @@ // Autogenerated by gen-libclc-test.py -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-libspirv -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang %link-remangled-libspirv -DSKIP_FP16 -emit-llvm -S -o - %s | FileCheck %s #include @@ -77,7 +78,7 @@ test___spirv_ocl_vstoren(__clc_vec8_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec8_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -147,7 +148,7 @@ test___spirv_ocl_vstoren(__clc_vec8_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec8_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -217,7 +218,7 @@ test___spirv_ocl_vstoren(__clc_vec8_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec8_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -287,7 +288,7 @@ test___spirv_ocl_vstoren(__clc_vec16_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec16_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -357,7 +358,7 @@ test___spirv_ocl_vstoren(__clc_vec16_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec16_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -427,7 +428,7 @@ test___spirv_ocl_vstoren(__clc_vec16_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec16_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -497,7 +498,7 @@ test___spirv_ocl_vstoren(__clc_vec2_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec2_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -567,7 +568,7 @@ test___spirv_ocl_vstoren(__clc_vec2_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec2_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -637,7 +638,7 @@ test___spirv_ocl_vstoren(__clc_vec2_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec2_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -707,7 +708,7 @@ test___spirv_ocl_vstoren(__clc_vec3_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec3_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -777,7 +778,7 @@ test___spirv_ocl_vstoren(__clc_vec3_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec3_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -847,7 +848,7 @@ test___spirv_ocl_vstoren(__clc_vec3_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec3_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { @@ -917,7 +918,7 @@ test___spirv_ocl_vstoren(__clc_vec4_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec4_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __global *args_2) { @@ -987,7 +988,7 @@ test___spirv_ocl_vstoren(__clc_vec4_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec4_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t __local *args_2) { @@ -1057,7 +1058,7 @@ test___spirv_ocl_vstoren(__clc_vec4_fp64_t args_0, __clc_size_t args_1, } #endif -#ifdef cl_khr_fp16 +#if defined(cl_khr_fp16) && !defined(SKIP_FP16) __attribute__((overloadable)) void test___spirv_ocl_vstoren(__clc_vec4_fp16_t args_0, __clc_size_t args_1, __clc_fp16_t *args_2) { diff --git a/libclc/test/lit.cfg.py b/libclc/test/lit.cfg.py index b5fb01be7ebc2..e2679d5fa9408 100644 --- a/libclc/test/lit.cfg.py +++ b/libclc/test/lit.cfg.py @@ -1,6 +1,8 @@ # -*- Python -*- import os +import platform +import shlex import lit.formats import lit.util @@ -60,10 +62,6 @@ def quote(s): config.libclc_target, "-Xclang", "-fdeclare-spirv-builtins", - "-Xclang", - "-mlink-builtin-bitcode", - "-Xclang", - os.path.join(config.libclc_output_dir, f"libspirv-{config.libclc_target}.bc"), "-nogpulib", ] @@ -74,6 +72,23 @@ def quote(s): llvm_config.use_clang(additional_flags=clang_flags) +link_libspirv = "-Xclang -mlink-builtin-bitcode -Xclang " +libspirv = os.path.abspath(os.path.join(config.libclc_output_dir, f"libspirv-{config.libclc_target}.bc")) +config.substitutions.append(("%link-libspirv", f"{link_libspirv}{shlex.quote(libspirv)}")) + +if config.libclc_target == "nvptx64--nvidiacl": + libclc_target_canonical = "nvptx64-nvidia-cuda" +elif config.libclc_target == "amdgcn--amdhsa": + libclc_target_canonical = "amdgcn-amd-amdhsa" +else: + libclc_target_canonical = config.libclc_target +if "cygwin" in config.host_triple: + remangled_libspirv = f"remangled-l32-signed_char.libspirv-{libclc_target_canonical}.bc" +else: + remangled_libspirv = f"remangled-l64-signed_char.libspirv-{libclc_target_canonical}.bc" +remangled_libspirv = os.path.join(config.libclc_output_dir, remangled_libspirv) +config.substitutions.append(("%link-remangled-libspirv", f"{link_libspirv}{shlex.quote(remangled_libspirv)}")) + config.substitutions.append(("%PATH%", config.environment["PATH"])) tool_dirs = [config.llvm_tools_dir] From 051b3b3b683d678ff2d6a4c1334171d71f9ec9b6 Mon Sep 17 00:00:00 2001 From: Wenju He Date: Mon, 22 Dec 2025 08:56:12 +0100 Subject: [PATCH 2/3] DisableFormat: true --- libclc/test/.clang-format | 1 + 1 file changed, 1 insertion(+) create mode 100644 libclc/test/.clang-format diff --git a/libclc/test/.clang-format b/libclc/test/.clang-format new file mode 100644 index 0000000000000..e3845288a2aec --- /dev/null +++ b/libclc/test/.clang-format @@ -0,0 +1 @@ +DisableFormat: true From 0b11a005e1dcc80e1a5914aef01a8e04598854a7 Mon Sep 17 00:00:00 2001 From: Wenju He Date: Mon, 22 Dec 2025 09:07:39 +0100 Subject: [PATCH 3/3] format --- libclc/test/lit.cfg.py | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/libclc/test/lit.cfg.py b/libclc/test/lit.cfg.py index e2679d5fa9408..5bf96417295c7 100644 --- a/libclc/test/lit.cfg.py +++ b/libclc/test/lit.cfg.py @@ -73,8 +73,12 @@ def quote(s): llvm_config.use_clang(additional_flags=clang_flags) link_libspirv = "-Xclang -mlink-builtin-bitcode -Xclang " -libspirv = os.path.abspath(os.path.join(config.libclc_output_dir, f"libspirv-{config.libclc_target}.bc")) -config.substitutions.append(("%link-libspirv", f"{link_libspirv}{shlex.quote(libspirv)}")) +libspirv = os.path.abspath( + os.path.join(config.libclc_output_dir, f"libspirv-{config.libclc_target}.bc") +) +config.substitutions.append( + ("%link-libspirv", f"{link_libspirv}{shlex.quote(libspirv)}") +) if config.libclc_target == "nvptx64--nvidiacl": libclc_target_canonical = "nvptx64-nvidia-cuda" @@ -83,11 +87,17 @@ def quote(s): else: libclc_target_canonical = config.libclc_target if "cygwin" in config.host_triple: - remangled_libspirv = f"remangled-l32-signed_char.libspirv-{libclc_target_canonical}.bc" + remangled_libspirv = ( + f"remangled-l32-signed_char.libspirv-{libclc_target_canonical}.bc" + ) else: - remangled_libspirv = f"remangled-l64-signed_char.libspirv-{libclc_target_canonical}.bc" + remangled_libspirv = ( + f"remangled-l64-signed_char.libspirv-{libclc_target_canonical}.bc" + ) remangled_libspirv = os.path.join(config.libclc_output_dir, remangled_libspirv) -config.substitutions.append(("%link-remangled-libspirv", f"{link_libspirv}{shlex.quote(remangled_libspirv)}")) +config.substitutions.append( + ("%link-remangled-libspirv", f"{link_libspirv}{shlex.quote(remangled_libspirv)}") +) config.substitutions.append(("%PATH%", config.environment["PATH"]))