Home
last modified time | relevance | path

Searched refs:Float32 (Results 1 – 25 of 126) sorted by relevance

123456

/external/v8/src/
Dboxed-float.h19 class Float32 {
21 Float32() = default;
25 explicit Float32(float value) : bit_pattern_(bit_cast<uint32_t>(value)) { in Float32() function
45 static constexpr Float32 FromBits(uint32_t bits) { return Float32(bits); } in FromBits()
50 explicit constexpr Float32(uint32_t bit_pattern) in Float32() function
54 ASSERT_TRIVIALLY_COPYABLE(Float32);
Ddeoptimizer.h88 static TranslatedValue NewFloat(TranslatedState* container, Float32 value);
132 Float32 float_value_;
143 Float32 float_value() const;
371 static Float32 GetFloatSlot(Address fp, int slot_index);
664 Float32 GetFloatRegister(unsigned n) const { in GetFloatRegister()
679 void SetFloatRegister(unsigned n, Float32 value) { in SetFloatRegister()
691 static_assert(sizeof(Float32) == kFloatSize, "size mismatch");
695 Float32 float_registers_[FloatRegister::kNumRegisters];
/external/clang/test/SemaCXX/
Dneon-vector-types.cpp5 typedef float Float32; typedef
14 int foo (const Float32 *realBufPtr) { in foo()
19 MP4Err autoCorrelation2nd_Neon(Float32 *alphar, Float32 *alphai, in autoCorrelation2nd_Neon()
20 const Float32 *realBufPtr, in autoCorrelation2nd_Neon()
21 const Float32 *imagBufPtr, in autoCorrelation2nd_Neon()
/external/tensorflow/tensorflow/lite/experimental/swift/TestApps/TensorFlowLiteApp/TensorFlowLiteApp/
DViewController.swift128 let input: [Float32] = [1, 3] in invokeAdd()
137 guard let results = [Float32](unsafeData: outputTensor.data) else { return "No results." } in invokeAdd()
200 let inputs = try (0..<interpreter.inputTensorCount).map { index -> [Float32] in in invokeMultiAdd()
201 let input = [Float32(index + 1), Float32(index + 2)] in invokeMultiAdd()
210 let results = try (0..<interpreter.outputTensorCount).map { index -> [Float32] in in invokeMultiAdd()
212 return [Float32](unsafeData: tensor.data) ?? [] in invokeMultiAdd()
/external/tensorflow/tensorflow/lite/experimental/swift/Tests/
DInterpreterTests.swift104 let expectedResults = [Float32](unsafeData: outputTensor.data) in testInterpreter_OutputTensorAtIndex()
229 static let inputData = Data(copyingBufferOf: [Float32(1.0), Float32(3.0)])
230 static let outputData = Data(copyingBufferOf: [Float32(3.0), Float32(9.0)])
231 static let results = [Float32(3.0), Float32(9.0)]
/external/flatbuffers/samples/lua/MyGame/Sample/
DVec3.lua19 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 0)
22 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 4)
25 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 8)
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp104 const int inExp = tcu::Float32(input).exponent(); in numBitsLostInOp()
105 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp()
112 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
113 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
119 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign()
120 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign()
121 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign()
122 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign()
136 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff()
137 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
[all …]
/external/flatbuffers/tests/MyGame/Example/
DVec3.lua19 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 0)
22 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 4)
25 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 8)
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp108 const int inExp = tcu::Float32(input).exponent(); in numBitsLostInOp()
109 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp()
116 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
117 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
123 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign()
124 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign()
125 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign()
126 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign()
140 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff()
141 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp100 const int inExp = tcu::Float32(input).exponent(); in numBitsLostInOp()
101 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp()
108 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
109 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
115 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign()
116 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign()
117 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign()
118 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign()
132 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff()
133 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
[all …]
Des3fShaderDerivateTests.cpp207 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits()
208 tcu::Float32(v[1]).exponentBits(), in getCompExpBits()
209 tcu::Float32(v[2]).exponentBits(), in getCompExpBits()
210 tcu::Float32(v[3]).exponentBits()); in getCompExpBits()
217 const int exp = (tcu::Float32(value).exponent() < -3) ? -3 : tcu::Float32(value).exponent(); in computeFloatingPointError()
219 …return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, e… in computeFloatingPointError()
255 …return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::cons… in getSingleULPForExponent()
260 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent()
266 const int exp = tcu::Float32(value).exponent(); in getSingleULPForValue()
278 const tcu::Float32 inputFloat = tcu::Float32(value); in convertFloatFlushToZeroRtn()
[all …]
Des3fShaderPrecisionTests.cpp299 const int in0Exp = tcu::Float32(in0).exponent(); in compare()
300 const int in1Exp = tcu::Float32(in1).exponent(); in compare()
301 const int resExp = tcu::Float32(result).exponent(); in compare()
371 << "in0 = " << in0 << " / " << tcu::toHex(tcu::Float32(in0).bits()) in iterate()
372 << ", in1 = " << in1 << " / " << tcu::toHex(tcu::Float32(in1).bits()) in iterate()
374 …<< TestLog::Message << " reference = " << refF << " / " << tcu::toHex(tcu::Float32(refF).bits()) … in iterate()
384 …log << TestLog::Message << " result = " << pixels[0] << " / " << tcu::toHex(tcu::Float32(pixels[0… in iterate()
393 const deUint32 firstPixelBits = tcu::Float32(pixels[0]).bits(); in iterate()
400 const deUint32 pixelBits = tcu::Float32(pixels[(y*FRAMEBUFFER_WIDTH + x)*4]).bits(); in iterate()
838 float minF32 = tcu::Float32((1u<<31) | (0xfdu<<23) | 0x0u).asFloat(); in init()
[all …]
Des3fShaderPackingFunctionTests.cpp49 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
50 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
62 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
566 …v[c] = tcu::Float32::construct(s, exp ? exp : 1 /* avoid denormals */, (1u<<23) | mantissa).asFloa… in iterate()
706 const deUint32 refBits0 = tcu::Float32(ref0).bits(); in iterate()
707 const deUint32 refBits1 = tcu::Float32(ref1).bits(); in iterate()
708 const deUint32 resBits0 = tcu::Float32(res0).bits(); in iterate()
709 const deUint32 resBits1 = tcu::Float32(res1).bits(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp177 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits()
178 tcu::Float32(v[1]).exponentBits(), in getCompExpBits()
179 tcu::Float32(v[2]).exponentBits(), in getCompExpBits()
180 tcu::Float32(v[3]).exponentBits()); in getCompExpBits()
187 const int exp = tcu::Float32(value).exponent(); in computeFloatingPointError()
189 …return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, e… in computeFloatingPointError()
225 …return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::cons… in getSingleULPForExponent()
230 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent()
236 const int exp = tcu::Float32(value).exponent(); in getSingleULPForValue()
248 const tcu::Float32 inputFloat = tcu::Float32(value); in convertFloatFlushToZeroRtn()
[all …]
/external/v8/src/arm/
Dsimulator-arm.h128 void set_s_register_from_float(int sreg, const Float32 flt) { in set_s_register_from_float()
129 SetVFPRegister<Float32, 1>(sreg, flt); in set_s_register_from_float()
135 Float32 get_float_from_s_register(int sreg) { in get_float_from_s_register()
136 return GetFromVFPRegister<Float32, 1>(sreg); in get_float_from_s_register()
245 inline Float32 canonicalizeNaN(Float32 value);
/external/deqp/framework/common/
DtcuTexVerifierUtil.cpp36 const int exp = tcu::Float32(value).exponent(); in computeFloatingPointError()
38 …return Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - Float32::construct(+1, exp, 1u<<23… in computeFloatingPointError()
DtcuFloat.hpp132 typedef Float<deUint32, 8, 23, 127, FLOAT_HAS_SIGN|FLOAT_SUPPORT_DENORM> Float32; //!< IEEE 754 3… typedef
155 *this = convert(Float32(u32)); in Float()
171 deUint32 u32 = Float32::convert(*this).bits(); in asFloat()
/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeIndex.h53 Float32 = 0x0040, // 32 bit real enumerator
158 static TypeIndex Float32() { return TypeIndex(SimpleTypeKind::Float32); } in Float32() function
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.cc232 const Float32 vol = (Float32)(volume / 255.0); in SetSpeakerVolume()
284 Float32 channelVol = 0; in SpeakerVolume()
285 Float32 vol = 0; in SpeakerVolume()
853 const Float32 vol = (Float32)(volume / 255.0); in SetMicrophoneVolume()
905 Float32 channelVol = 0; in MicrophoneVolume()
906 Float32 volFloat32 = 0; in MicrophoneVolume()
/external/deqp/modules/internal/
DditSRGB8ConversionTest.cpp38 const deUint32 au = tcu::Float32(a).bits(); in calculateDiscreteFloatDistance()
39 const deUint32 bu = tcu::Float32(b).bits(); in calculateDiscreteFloatDistance()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeIndex.h60 Float32 = 0x0040, // 32 bit real enumerator
177 static TypeIndex Float32() { return TypeIndex(SimpleTypeKind::Float32); } in Float32() function
/external/v8/src/wasm/
Dvalue-type.h44 V(F32, , Float32, 2) \
111 V(F32, , Float32, 2) \
237 return MachineType::Float32(); in MachineTypeFor()
/external/flatbuffers/lua/flatbuffers/
Dbuilder.lua22 local Float32 = N.Float32
329 function mt:PrependFloat32Slot(...) self:PrependSlot(Float32, ...) end
358 function mt:PrependFloat32(x) self:Prepend(Float32, x) end
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dlib.go397 func Float32(v float32) *float32 { func
607 case reflect.Float32:
804 case reflect.Float32:
897 case reflect.Float32, reflect.Float64:
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp137 tcu::Float32 fp32(val); in isValidFloat()
298 float minF32 = tcu::Float32((0u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init()
299 float maxF32 = tcu::Float32((1u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init()

123456