Home
last modified time | relevance | path

Searched refs:to_half (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
Dgen_vk_format_table.py150 to_half = to_float
152 to_float, to_half)
/external/llvm/test/CodeGen/AArch64/
Darm64-vcvt_f.ll65 define i16 @to_half(float %in) {
66 ; CHECK-LABEL: to_half:
/external/llvm-project/llvm/test/CodeGen/AArch64/
Darm64-vcvt_f.ll277 define i16 @to_half(float %in) {
278 ; GENERIC-LABEL: to_half:
284 ; FAST-LABEL: to_half:
294 ; GISEL-LABEL: to_half:
/external/OpenCL-CTS/test_conformance/subgroups/
Dsubgroup_common_templates.h301 static subgroups::cl_half to_half(float x) in to_half() function
378 case ArithmeticOp::add_: return to_half(to_float(a) + to_float(b)); in calculate()
383 case ArithmeticOp::mul_: return to_half(to_float(a) * to_float(b)); in calculate()
386 return to_half(0); in calculate()
/external/skia/tests/
DSkVxTest.cpp163 REPORTER_ASSERT(r, all(skvx:: to_half(fs) == hs)); in DEF_TEST()
/external/skia/include/private/
DSkVx.h585 SI Vec<1,uint16_t> to_half(const Vec<1,float>& x) { return to_half_finite_ftz(x); }
588 SIN Vec<N,uint16_t> to_half(const Vec<N,float>& x) {
602 return join(to_half(x.lo),
603 to_half(x.hi));
/external/skia/src/opts/
DSkVM_opts.h265 r[d].i32 = skvx::cast<int>(skvx::to_half(r[x].f32)); in interpret_skvm()
DSkRasterPipeline_opts.h999 SI U16 to_half(F f) { in to_half() function
2162 store4((uint16_t*)ptr,tail, to_half(r) in STAGE()
2163 , to_half(g) in STAGE()
2164 , to_half(b) in STAGE()
2165 , to_half(a)); in STAGE()
2203 store(ptr, to_half(a), tail); in STAGE()
2240 store2((uint16_t*)ptr, tail, to_half(r) in STAGE()
2241 , to_half(g)); in STAGE()
/external/skqp/src/opts/
DSkRasterPipeline_opts.h751 SI U16 to_half(F f) { in to_half() function
1756 store4((uint16_t*)ptr,tail, to_half(r) in STAGE()
1757 , to_half(g) in STAGE()
1758 , to_half(b) in STAGE()
1759 , to_half(a)); in STAGE()