Home
last modified time | relevance | path

Searched refs:F16 (Results 1 – 25 of 232) sorted by relevance

12345678910

/external/llvm-project/llvm/test/MC/ARM/
Darmv8a-fpmul.s36 VFMAL.F16 D0, S1, S2
39 VFMSL.F16 Q0, D1, D2
41 VFMAL.F16 D0, S1, S2[1]
44 VFMSL.F16 Q0, D1, D2[3]
Darmv8a-fpmul-error.s3 VFMAL.F16 D0, S1, S2[2]
7 VFMSL.F16 Q0, D1, D2[4]
9 VFMSL.F16 D0, S1, S16[0]
11 VFMSL.F16 Q0, D1, D8[0]
/external/llvm-project/llvm/test/CodeGen/NVPTX/
Df16-instructions.ll4 ; RUN: | FileCheck -check-prefixes CHECK,CHECK-NOFTZ,CHECK-F16,CHECK-F16-NOFTZ %s
9 ; RUN: | FileCheck -check-prefixes CHECK,CHECK-F16,CHECK-F16-FTZ %s
33 ; CHECK-F16-NOFTZ-NEXT: add.rn.f16 [[R:%h[0-9]+]], [[A]], [[B]];
34 ; CHECK-F16-FTZ-NEXT: add.rn.ftz.f16 [[R:%h[0-9]+]], [[A]], [[B]];
49 ; CHECK-F16-NOFTZ-NEXT: add.rn.f16 [[R:%h[0-9]+]], [[A]], [[B]];
50 ; CHECK-F16-FTZ-NEXT: add.rn.ftz.f16 [[R:%h[0-9]+]], [[A]], [[B]];
65 ; CHECK-F16-NOFTZ-DAG: mov.b16 [[A:%h[0-9]+]], 0x3C00;
66 ; CHECK-F16-NOFTZ-NEXT: add.rn.f16 [[R:%h[0-9]+]], [[B]], [[A]];
67 ; CHECK-F16-FTZ-DAG: mov.b16 [[A:%h[0-9]+]], 0x3C00;
68 ; CHECK-F16-FTZ-NEXT: add.rn.ftz.f16 [[R:%h[0-9]+]], [[B]], [[A]];
[all …]
Df16x2-instructions.ll4 ; RUN: | FileCheck -allow-deprecated-dag-overlap -check-prefixes CHECK,CHECK-F16 %s
63 ; CHECK-F16-NEXT: add.rn.f16x2 [[R:%hh[0-9]+]], [[A]], [[B]];
88 ; CHECK-F16: mov.u32 [[I:%r[0-9+]]], 1073757184;
89 ; CHECK-F16: mov.b32 [[IHH:%hh[0-9+]]], [[I]];
90 ; CHECK-F16: add.rn.f16x2 [[R:%hh[0-9]+]], [[A]], [[IHH]];
111 ; CHECK-F16: mov.u32 [[I:%r[0-9+]]], 1073757184;
112 ; CHECK-F16: mov.b32 [[IHH:%hh[0-9+]]], [[I]];
113 ; CHECK-F16: add.rn.f16x2 [[R:%hh[0-9]+]], [[B]], [[IHH]];
135 ; CHECK-F16-NEXT: sub.rn.f16x2 [[R:%hh[0-9]+]], [[A]], [[B]];
159 ; CHECK-F16: mov.u32 [[I0:%r[0-9+]]], 0;
[all …]
/external/llvm/test/CodeGen/ARM/
Dhalf.ll2 …lc < %s -mtriple=thumbv7s-apple-ios7.0 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-F16
34 ; CHECK-F16: vcvtb.f32.f16
46 ; CHECK-F16: vcvtb.f32.f16
47 ; CHECK-F16: vcvt.f64.f32
58 ; CHECK-F16: vcvtb.f16.f32
69 ; CHECK-F16: bl ___truncdfhf2
/external/skia/tools/fiddle/
Dexamples.h40 #define REGISTER_FIDDLE(NAME, WIDTH, HEIGHT, TEXT, IMG_INDEX, DURATION, SRGB, F16, \ argument
47 TEXT, SRGB, F16, OFSCR, OFSCR_TEXTURABLE, OFSCR_MIPMAP}); \
50 #define REG_FIDDLE_SRGB(NAME, W, H, T, I, DURATION, F16) \ argument
51 REGISTER_FIDDLE(NAME, W, H, T, I, DURATION, true, F16, \
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dconstants.cc46 case F16: in Epsilon()
71 case F16: in MinFiniteValue()
88 case F16: in MinPositiveNormalValue()
111 case F16: in MaxFiniteValue()
129 case F16: in NanValue()
Dcomparators_test.cc108 BuildComparatorAndComparisons<F16>(this, /*compare_less_than=*/true, in XLA_TEST_F()
115 BuildComparatorAndComparisons<F16>(this, /*compare_less_than=*/false, in XLA_TEST_F()
Dmath.cc152 case F16: in IsNegZero()
292 return DoWithUpcastToF32(x, {BF16, F16}, [](XlaOp x) { in Erfc()
333 return DoWithUpcastToF32(x, {BF16, F16}, in Erf()
482 return DoWithUpcastToF32(x, {BF16, F16}, in ErfInv()
611 return DoWithUpcastToF32(input, {BF16, F16}, do_it); in Lgamma()
706 return DoWithUpcastToF32(input, {BF16, F16}, do_it); in Digamma()
958 a_shape.element_type() == F16 || a_shape.element_type() == BF16; in Igamma()
1005 a_shape.element_type() == F16 || a_shape.element_type() == BF16; in IgammaGradA()
1052 a_shape.element_type() == F16 || a_shape.element_type() == BF16; in RandomGammaGrad()
1095 a_shape.element_type() == F16 || a_shape.element_type() == BF16; in Igammac()
[all …]
/external/llvm-project/llvm/test/CodeGen/ARM/
Dhalf.ll2 …lc < %s -mtriple=thumbv7s-apple-ios7.0 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-F16
40 ; CHECK-F16: vcvtb.f32.f16
53 ; CHECK-F16: vcvtb.f32.f16
54 ; CHECK-F16: vcvt.f64.f32
67 ; CHECK-F16: vcvtb.f16.f32
79 ; CHECK-F16: bl ___truncdfhf2
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_pad_for_convolutions_test.cc54 ShapeUtil::MakeShape(F16, {10, 20, 30, 48}))); in TEST_F()
56 ShapeUtil::MakeShape(F16, {2, 2, 48, 40}))); in TEST_F()
77 ShapeUtil::MakeShape(F16, {10, 20, 30, 48}))); in TEST_F()
79 ShapeUtil::MakeShape(F16, {2, 2, 40, 48}))); in TEST_F()
188 ShapeUtil::MakeShape(F16, {10, 20, 30, 4}))); in TEST_F()
190 ShapeUtil::MakeShape(F16, {2, 2, 4, 32}))); in TEST_F()
Dcudnn_batchnorm_rewriter.cc66 return convert->operand(0)->shape().element_type() == F16; in IsF32BatchNormWithFP16Inputs()
97 operands[0] = AddConvert(batch_norm->mutable_operand(0), F16); in HandleBatchNormInference()
148 operands[0] = AddConvert(batch_norm->mutable_operand(0), F16); in HandleBatchNormTraining()
250 operands[0] = AddConvert(operand_0_convert, F16); in HandleBatchNormGrad()
254 F16 && in HandleBatchNormGrad()
257 operands[index] = AddConvert(batch_norm->mutable_operand(index), F16); in HandleBatchNormGrad()
Delemental_ir_emitter.cc91 case F16: in EmitDeviceMathCall()
94 if (input_types[i] == F16) { in EmitDeviceMathCall()
128 case F16: in EmitLlvmIntrinsicMathCall()
282 llvm::Type* type = prim_type == F16 ? b()->getFloatTy() : value->getType(); in EmitTanh()
/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util.cc38 case F16: in SignificandWidth()
71 case F16: in OverflowExponent()
79 return type == F16 || type == F32 || type == F64 || type == BF16; in IsFloatingPointType()
107 case F16: in BitWidth()
Dliteral_util.cc143 case F16: in Zero()
184 case F16: in One()
237 case F16: in MinValue()
278 case F16: in MaxValue()
296 case F16: in NanValue()
435 case F16: in GetFirstScalarLiteral()
Dprimitive_util.h120 return F16;
227 struct PrimitiveTypeToNative<F16> {
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Delemental_ir_emitter.cc42 case F16: in EmitAtan2()
78 case F16: in EmitTanh()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/testing/
Dperformance_profiling.cc43 create_info.precision = env.IsSupported(CalculationsPrecision::F16) in RunModelSample()
44 ? CalculationsPrecision::F16 in RunModelSample()
/external/tensorflow/tensorflow/compiler/xla/python_api/
Dtypes.py50 xla_data_pb2.F16:
52 primitive_type=xla_data_pb2.F16,
/external/tensorflow/tensorflow/compiler/xla/service/
Doperand_upcaster_test.cc98 ::testing::Combine(::testing::Values(BF16, F16),
99 ::testing::Values(BF16, F16),
/external/tensorflow/tensorflow/compiler/xla/python/
Dtypes.cc39 {{'f', 2}, F16}, in DtypeToPrimitiveType()
77 case F16: in PrimitiveTypeToDtype()
117 case F16: in FormatDescriptorForPrimitiveType()
157 case F16: in TypeDescriptorForPrimitiveType()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtype_util.cc62 *type = xla::F16; in DataTypeToPrimitiveType()
88 {xla::F16, DT_HALF}, in EncodePrimitiveTypeAsDataType()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dwinograd.cc237 if (definition_.precision == CalculationsPrecision::F16 && in Winograd4x4To36TileX6()
257 case CalculationsPrecision::F16: in GetWinograd4x4To36TileX6Code()
262 const DataType accum_type = op_def.precision == CalculationsPrecision::F16 in GetWinograd4x4To36TileX6Code()
522 if (definition_.precision == CalculationsPrecision::F16 && in Winograd36To4x4Tile4x1()
538 case CalculationsPrecision::F16: in GetWinograd36To4x4Tile4x1Code()
543 const DataType accum_type = op_def.precision == CalculationsPrecision::F16 in GetWinograd36To4x4Tile4x1Code()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dexhaustive_binary_16_bit_test.cc74 using ExhaustiveF16BinaryTest = Exhaustive16BitBinaryTest<F16>;
142 INSTANTIATE_TEST_SUITE_P(F16, ExhaustiveF16BinaryTest,
Dexhaustive_unary_test_f32_or_smaller.cc214 using ExhaustiveF16UnaryTest = Exhaustive32BitOrLessUnaryTest<F16>;
484 } else if (T == F16) { in SetParamsForSinCos()
511 } else if (T == F16) { in SetParamsForTan()
622 if (platform_ == "CUDA" && (ty_ == F32 || ty_ == F16)) {
655 INSTANTIATE_TEST_SUITE_P(F16, ExhaustiveF16UnaryTest,

12345678910