Home
last modified time | relevance | path

Searched +full:0 +full:x1f (Results 1 – 22 of 22) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ic/
Dic_binary_op.h287 int32_t opNumber0 = 0; in ShlWithTSType()
288 int32_t opNumber1 = 0; in ShlWithTSType()
291 …static_cast<uint32_t>(opNumber1) & 0x1f; // NOLINT(hicpp-signed-bitwise, readability-magic-number… in ShlWithTSType()
303 int32_t opNumber0 = 0; in ShrWithTSType()
304 int32_t opNumber1 = 0; in ShrWithTSType()
307 …static_cast<uint32_t>(opNumber1) & 0x1f; // NOLINT(hicpp-signed-bitwise, readability-magic-num… in ShrWithTSType()
317 int32_t opNumber0 = 0; in AshrWithTSType()
318 int32_t opNumber1 = 0; in AshrWithTSType()
321 …static_cast<uint32_t>(opNumber1) & 0x1f; // NOLINT(hicpp-signed-bitwise, readability-magic-number… in AshrWithTSType()
333 int32_t opNumber0 = 0; in AndWithTSType()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dutf.h32 * 1 7 U+0000 U+007F 0xxxxxxx
37 constexpr size_t MASK1 = 0x80;
38 constexpr size_t MASK2 = 0x20;
39 constexpr size_t MASK3 = 0x10;
41 constexpr size_t MASK_4BIT = 0x0f;
42 constexpr size_t MASK_5BIT = 0x1f;
43 constexpr size_t MASK_6BIT = 0x3f;
44 constexpr size_t MASK_10BIT = 0x03ff;
45 constexpr size_t MASK_16BIT = 0xffff;
50 constexpr size_t HI_SURROGATE_MIN = 0xd800;
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dshli.yaml34 ldai 0
36 movi v0, 0
38 ldai 0
46 - values: ["0"]
49 - values: ["0xF"]
50 - values: ["-0xF"]
51 - values: ["0x7F"]
52 - values: ["-0x7F"]
53 - values: ["0x80"]
54 - values: ["-0x80"]
[all …]
Dmuli.yaml34 ldai 0
36 movi v0, 0
38 ldai 0
47 - values: ["0"]
50 - values: ["0xF"]
51 - values: ["-0xF"]
52 - values: ["0x7F"]
53 - values: ["-0x7F"]
54 - values: ["0x80"]
55 - values: ["-0x80"]
[all …]
Dmodi.yaml34 ldai 0
36 movi v0, 0
38 ldai 0
48 - values: ["0xF"]
49 - values: ["-0xF"]
50 - values: ["0x7F"]
51 - values: ["-0x7F"]
52 - values: ["0x80"]
53 - values: ["-0x80"]
54 - values: ["0xFF"]
[all …]
Dshl2.yaml33 ldai 0
37 movi v0, 0
39 ldai 0
47 - "0"
54 - "0x7FFFFFFF"
57 - "0x80000000"
60 - "-0x7FFFFFFF"
63 - "-0x80000000"
66 - "0xFFFFFFFF"
69 - "-0xFFFFFFFF"
[all …]
Dshl.yaml33 movi v0, 0
37 movi v0, 0
39 ldai 0
47 - "0"
53 - "0x7FFFFFFF"
55 - "0x80000000"
57 - "-0x7FFFFFFF"
59 - "-0x80000000"
61 - "0xFFFFFFFF"
63 - "-0xFFFFFFFF"
[all …]
Dcalle.polymorphic.range.yaml58 call.virt.acc.short panda.reflect.Field.get, v0, 0
186 ldai 0
253 ldai 0
319 movi v4, 0
342 ldai 0
436 ldai 0
499 movi v4, 0
521 ldai 0
532 movi v6, 0x800000000039
533 movi v7, 0x7ffffffffff1
[all …]
Dcall.polymorphic.range.yaml58 call.virt.acc.short panda.reflect.Field.get, v0, 0
186 ldai 0
253 ldai 0
319 movi v4, 0
342 ldai 0
436 ldai 0
499 movi v4, 0
521 ldai 0
532 movi v6, 0x800000000039
533 movi v7, 0x7ffffffffff1
[all …]
Dcall.polymorphic.yaml58 call.virt.acc.short panda.reflect.Field.get, v0, 0
162 ldai 0
229 ldai 0
295 movi v4, 0
318 ldai 0
412 ldai 0
475 movi v4, 0
497 ldai 0
508 movi v6, 0x800000000039
509 movi v7, 0x7ffffffffff1
[all …]
Dcalle.polymorphic.yaml58 call.virt.acc.short panda.reflect.Field.get, v0, 0
162 ldai 0
229 ldai 0
295 movi v4, 0
318 ldai 0
412 ldai 0
475 movi v4, 0
497 ldai 0
508 movi v6, 0x800000000039
509 movi v7, 0x7ffffffffff1
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Doperations_stub_builder.cpp120 DEFVARIABLE(doubleLeft, VariableType::FLOAT64(), Double(0)); in Less()
121 DEFVARIABLE(doubleRight, VariableType::FLOAT64(), Double(0)); in Less()
217 DEFVARIABLE(doubleLeft, VariableType::FLOAT64(), Double(0)); in LessEq()
218 DEFVARIABLE(doubleRight, VariableType::FLOAT64(), Double(0)); in LessEq()
313 DEFVARIABLE(doubleLeft, VariableType::FLOAT64(), Double(0)); in Greater()
314 DEFVARIABLE(doubleRight, VariableType::FLOAT64(), Double(0)); in Greater()
409 DEFVARIABLE(doubleLeft, VariableType::FLOAT64(), Double(0)); in GreaterEq()
410 DEFVARIABLE(doubleRight, VariableType::FLOAT64(), Double(0)); in GreaterEq()
579 DEFVARIABLE(opNumber0, VariableType::INT32(), Int32(0)); in Shl()
580 DEFVARIABLE(opNumber1, VariableType::INT32(), Int32(0)); in Shl()
[all …]
Dtype_lowering.cpp37 << "==================" << "\033[0m"; in RunTypeLowering()
39 …ER(INFO) << "\033[34m" << "=========================== End =========================" << "\033[0m"; in RunTypeLowering()
137 GateRef value = acc_.GetValueIn(gate, 0); in LowerIntCheck()
148 GateRef value = acc_.GetValueIn(gate, 0); in LowerDoubleCheck()
159 GateRef value = acc_.GetValueIn(gate, 0); in LowerNumberCheck()
170 GateRef value = acc_.GetValueIn(gate, 0); in LowerBooleanCheck()
184 GateRef receiver = acc_.GetValueIn(gate, 0); in LowerArrayCheck()
204 GateRef receiver = acc_.GetValueIn(gate, 0); in LowerStableArrayCheck()
239 GateRef receiver = acc_.GetValueIn(gate, 0); in LowerFloat32ArrayCheck()
269 auto receiver = acc_.GetValueIn(gate, 0); in LowerClassInstanceCheck()
[all …]
/arkcompiler/ets_frontend/es2panda/util/
Dustring.h216 static constexpr uint16_t UTF8_1BYTE_LIMIT = 0x80;
217 static constexpr uint16_t UTF8_2BYTE_LIMIT = 0x800;
218 static constexpr uint32_t UTF8_3BYTE_LIMIT = 0x10000;
220 static constexpr uint16_t UTF8_2BYTE_MASK = 0x1F;
221 static constexpr uint16_t UTF8_3BYTE_MASK = 0x0F;
222 static constexpr uint16_t UTF8_4BYTE_MASK = 0x07;
224 static constexpr uint16_t UTF8_DECODE_4BYTE_MASK = 0xf8;
225 static constexpr uint16_t UTF8_DECODE_4BYTE_LIMIT = 0xf4;
227 static constexpr uint16_t UTF8_2BYTE_HEADER = 0xC0;
228 static constexpr uint16_t UTF8_3BYTE_HEADER = 0xE0;
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h390x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x0020, 0x00A0, 0x1680, 0x2000, 0x2001, 0x2002, 0x2003, 0x…
40 0x2005, 0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x2028, 0x2029, 0x202F, 0x205F, 0x3000, 0xFEFF,
43 0x80, 0xc0, 0xdf, 0xe0, 0xef, 0xf0, 0xf7, 0xf8, 0xfb, 0xfc, 0xfd,
46 0x80, 0x800, 0x10000, 0x00200000, 0x04000000,
49 0x1f, 0xf, 0x7, 0x3, 0x1,
61 CString::size_type pos(0); in RepalceAll()
182 size_t idx = Find(thisStr, searchStr, 0); in FindFromU16ToUpper()
189 if (c < UICODE_FROM_UTF8[0]) { in UnicodeFromUtf8()
193 int l = 0; in UnicodeFromUtf8()
218 for (int i = 0; i < l; i++) { in FromUtf8()
[all …]
/arkcompiler/runtime_core/isa/
Disa.yaml84 - Positive zero (+0.0, hexadecimal representation is `0x0000000000000000`)
85 - Negative zero (-0.0, hexadecimal representation is `0x8000000000000000`)
86 - Minimal positive value (4.9E-324, hexadecimal representation is `0x0000000000000001`)
87 - Maximal negative value (-4.9E-324, hexadecimal representation is `0x8000000000000001`)
88 …- Maximal positive value (1.7976931348623157e308, hexadecimal representation is `0x7feffffffffffff…
89 …- Minimal negative value (-1.7976931348623157e308, hexadecimal representation is `0xffefffffffffff…
90 - Positive infinity (hexadecimal representation is `0x7ff0000000000000`)
91 - Negative infinity (hexadecimal representation is `0xfff0000000000000`)
92 …- Not a number - set of all NaN values (one of hexadecimal representations is `0x7ff8000000000000`)
168 description: Bytecode throws ArithmeticException if the divisor is 0.
[all …]
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dnumber_helper_test.cpp89 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr1, *resultStr), 0); in HWTEST_F_L0()
94 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr2, *resultStr), 0); in HWTEST_F_L0()
99 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr3, *resultStr), 0); in HWTEST_F_L0()
104 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr4, *resultStr), 0); in HWTEST_F_L0()
109 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr6, *resultStr), 0); in HWTEST_F_L0()
114 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr7, *resultStr), 0); in HWTEST_F_L0()
119 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr5, *resultStr), 0); in HWTEST_F_L0()
130 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr1, *resultStr), 0); in HWTEST_F_L0()
134 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr2, *resultStr), 0); in HWTEST_F_L0()
138 EXPECT_EQ(EcmaStringAccessor::Compare(*handleEcmaStr3, *resultStr), 0); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/verification/util/tests/
Dbit_vector_property_test.cpp66 for (size_t idx = 0; idx < bitset.Bits.size(); ++idx) { in showValue()
67 os << (static_cast<int>(bitset.Bits[idx]) ? '1' : '0'); in showValue()
68 if (((idx + 1) & 0x7) == 0) { in showValue()
71 if (((idx + 1) & 0x1F) == 0) { in showValue()
81 auto value_gen = gen::inRange<size_t>(0, max_value);
90 size_t size = (set.empty() ? 0 : *set.rbegin()) + inc; in arbitrary()
128 Intervals stat_intervals = {{0, 10U}, {11U, 50U}, {51U, 100U}, {101U, max_value}};
140 return ToSet<StdSet>(Interval(0, size - 1)); in Universum()
155 for (size_t idx = 0; idx < bits.size(); ++idx) { in __anonea1bced30402()
163 RC_ASSERT(bset.Bits.SetBitsCount() == 0U); in __anonea1bced30502()
[all …]
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h93 …if (((doubleBase == 0) && ((bit_cast<uint64_t>(doubleBase)) & base::DOUBLE_SIGN_MASK) == base::DOU… in RuntimeExp()
96 if (doubleExponent > 0) { in RuntimeExp()
99 if (doubleExponent < 0) { in RuntimeExp()
242 for (uint32_t i = 0; i < length; ++i) { in RuntimeNewObjApply()
353 for (uint32_t i = 0; i < keysLen; i++) { in RuntimeCopyDataProperties()
378 for (uint32_t i = 0; i < strLen; i++) { in RuntimeStArraySpread()
428 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, method, obj, undefined, 0); in RuntimeGetIteratorNext()
659 if (intValue == 0) { in RuntimeNeg()
884 if (icSlotSize == 0) { in RuntimeNotifyInlineCache()
1159 …RuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, valuesFunc, obj, undefined, 0); in RuntimeGetIterator()
[all …]
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser.cpp32 0x00000000, 0x00000010, 0x87FFFFFE, 0x07FFFFFE
34 static RangeSet g_rangeD(0x30, 0x39); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
37 std::pair<uint32_t, uint32_t>(0x0009, 0x000D), // NOLINTNEXTLINE(readability-magic-numbers)
38 std::pair<uint32_t, uint32_t>(0x0020, 0x0020), // NOLINTNEXTLINE(readability-magic-numbers)
39 std::pair<uint32_t, uint32_t>(0x00A0, 0x00A0), // NOLINTNEXTLINE(readability-magic-numbers)
40 std::pair<uint32_t, uint32_t>(0x1680, 0x1680), // NOLINTNEXTLINE(readability-magic-numbers)
41 std::pair<uint32_t, uint32_t>(0x2000, 0x200A), // NOLINTNEXTLINE(readability-magic-numbers)
42 /* 2028;LINE SEPARATOR;Zl;0;WS;;;;;N;;;;; */
43 /* 2029;PARAGRAPH SEPARATOR;Zp;0;B;;;;;N;;;;; */
44 std::pair<uint32_t, uint32_t>(0x2028, 0x2029), // NOLINTNEXTLINE(readability-magic-numbers)
[all …]
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter-inl.h177 ASSERT(static_cast<uint16_t>(opcode) <= 0xff); \
272 for (int i = 0; i < (n); i++) { \
280 /* do nothing when 0 arg */ \
321 for (int i = actualNumArgs - 1; i >= 0; i--) { \
332 for (int i = actualNumArgs; i > 0; i--) { \
344 for (int i = actualNumArgs; i > 0; i--) { \
364 /* do nothing when 0 arg */ \
412 for (int i = num - 1; i >= 0; i--) { \
424 for (int i = num; i > 0; i--) { \
437 for (int i = num; i > 0; i--) { \
[all …]
Dinterpreter_assembly.cpp127 if (UNLIKELY(hotnessCounter <= 0)) { \
136 #define UPDATE_HOTNESS_COUNTER(offset) static_cast<void>(0)
139 #define READ_INST_OP() READ_INST_8(0) // NOLINT(hicpp-signed-bitwise, cppcoreguidelin…
140 #define READ_INST_4_0() (READ_INST_8(1) & 0xf) // NOLINT(hicpp-signed-bitwise, cppcoreguidelin…
141 #define READ_INST_4_1() (READ_INST_8(1) >> 4 & 0xf) // NOLINT(hicpp-signed-bitwise, cppcoreguidelin…
142 #define READ_INST_4_2() (READ_INST_8(2) & 0xf) // NOLINT(hicpp-signed-bitwise, cppcoreguidelin…
143 #define READ_INST_4_3() (READ_INST_8(2) >> 4 & 0xf) // NOLINT(hicpp-signed-bitwise, cppcoreguidelin…
343 if (GET_ACC() == JSTaggedValue::False() || (GET_ACC().IsInt() && GET_ACC().GetInt() == 0) || in HandleJeqzImm8()
344 (GET_ACC().IsDouble() && GET_ACC().GetDouble() == 0)) { in HandleJeqzImm8()
359 if (GET_ACC() == JSTaggedValue::False() || (GET_ACC().IsInt() && GET_ACC().GetInt() == 0) || in HandleJeqzImm16()
[all …]