etc/services - sync with NetBSD-8
[minix.git] / external / bsd / llvm / dist / clang / test / CodeGenOpenCL / half.cl
blob7ecae894d03dc4f54fba36e1005a06c9990669eb
1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
3 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
6 half test()
8 half x = 0.1f;
9 x+=2.0f;
10 x-=2.0f;
11 half y = x + x;
12 half z = y * 1.0f;
13 return z;
14 // CHECK: half 0xH3260