Home
last modified time | relevance | path

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

/external/swiftshader/src/System/
DMath.hpp225 static const float maxf = static_cast<float>(max); in unorm() local
237 return static_cast<unsigned int>(maxf * x + 0.5f); in unorm()
246 static const float maxf = static_cast<float>(max); in snorm() local
257 return static_cast<int>(maxf * x + 0.5f); in snorm()
268 return static_cast<int>(maxf * x - 0.5f) & range; in snorm()
277 static const float maxf = static_cast<float>(max); in ucast() local
279 if(x >= maxf) in ucast()
298 static const float maxf = static_cast<float>(max); in scast() local
304 if(x >= maxf) in scast()
/external/swiftshader/src/Common/
DMath.hpp257 static const float maxf = static_cast<float>(max); in unorm() local
269 return static_cast<unsigned int>(maxf * x + 0.5f); in unorm()
278 static const float maxf = static_cast<float>(max); in snorm() local
289 return static_cast<int>(maxf * x + 0.5f); in snorm()
300 return static_cast<int>(maxf * x - 0.5f) & range; in snorm()
309 static const float maxf = static_cast<float>(max); in ucast() local
311 if(x >= maxf) in ucast()
330 static const float maxf = static_cast<float>(max); in scast() local
336 if(x >= maxf) in scast()
/external/OpenCL-CTS/test_conformance/commonfns/
Dmain.cpp44 ADD_TEST( maxf ),
/external/llvm-project/mlir/include/mlir/Dialect/StandardOps/IR/
DStandardOpsBase.td21 def ATOMIC_RMW_KIND_MAXF : I64EnumAttrCase<"maxf", 3>;
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DExpandOps.cpp46 case AtomicRMWKind::maxf: in matchAndRewrite()
223 return op.kind() != AtomicRMWKind::maxf && in runOnFunction()
/external/llvm-project/mlir/test/Dialect/Affine/
Dops.mlir161 …%{{.*}}) = (%[[I0]], %[[J0]]) to (%[[I0]] + 10, %[[J0]] + 10) reduce ("minf", "maxf") -> (f32, f32)
162 …%0:2 = affine.parallel (%i1, %j1) = (%i0, %j0) to (%i0 + 10, %j0 + 10) reduce ("minf", "maxf") -> …
/external/llvm-project/mlir/test/Dialect/Standard/
Dexpand-ops.mlir6 %x = atomic_rmw "maxf" %f, %F[%i] : (f32, memref<10xf32>) -> f32
/external/llvm-project/mlir/test/Transforms/
Dloop-fusion.mlir706 %v2 = "maxf"(%v0, %v1) : (f32, f32) -> f32
726 // CHECK-NEXT: "maxf"(%{{.*}}, %{{.*}}) : (f32, f32) -> f32
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp451 case AtomicRMWKind::maxf: in verify()