/ark/js_runtime/ecmascript/ |
D | js_hclass.h | 286 uint32_t bits = GetBitField(); in GetObjectType() local 287 return ObjectTypeBits::Decode(bits); in GetObjectType() 292 uint32_t bits = GetBitField(); in SetObjectType() local 293 uint32_t newVal = ObjectTypeBits::Update(bits, type); in SetObjectType() 745 uint32_t bits = GetBitField(); in IsCallable() local 746 return CallableBit::Decode(bits); in IsCallable() 751 uint32_t bits = GetBitField(); in IsConstructor() local 752 return ConstrutorBit::Decode(bits); in IsConstructor() 757 uint32_t bits = GetBitField(); in IsBuiltinsCtor() local 758 return BuiltinsCtorBit::Decode(bits); in IsBuiltinsCtor() [all …]
|
D | js_bigint.cpp | 516 uint64_t bits = 0; in NumberToBigInt() local 517 if (memcpy_s(&bits, sizeof(bits), &num, sizeof(num)) != EOK) { in NumberToBigInt() 522 uint64_t integerDigits = ((bits >> 52) & 0x7FF) - 0x3FF; // 52 : mantissa size in NumberToBigInt() 527 uint64_t mantissa = (bits & 0x000FFFFFFFFFFFFF) | 0x0010000000000000; in NumberToBigInt() 1172 JSTaggedValue BigInt::AsUintN(JSThread *thread, JSTaggedNumber &bits, JSHandle<BigInt> bigint) in AsUintN() argument 1174 uint32_t bit = bits.ToUint32(); in AsUintN() 1187 JSTaggedValue BigInt::AsintN(JSThread *thread, JSTaggedNumber &bits, JSHandle<BigInt> bigint) in AsintN() argument 1189 uint32_t bit = bits.ToUint32(); in AsintN() 1233 uint32_t bits = BigInt::DATEBITS; in CompareToBitsLen() local 1234 while (bits) { in CompareToBitsLen() [all …]
|
D | ecma_macros.h | 150 #define FIRST_BIT_FIELD(bitFieldName, name, type, bits) \ argument 151 using name##Bits = BitField<type, 0, bits>; \ 155 #define NEXT_BIT_FIELD(bitFieldName, name, type, bits, lastName) \ argument 156 using name##Bits = lastName##Bits::NextField<type, bits>; \
|
D | js_bigint.h | 91 static JSTaggedValue AsUintN(JSThread *thread, JSTaggedNumber &bits, JSHandle<BigInt> bigint); 92 static JSTaggedValue AsintN(JSThread *thread, JSTaggedNumber &bits, JSHandle<BigInt> bigint);
|
/ark/runtime_core/libpandabase/utils/ |
D | bit_vector.h | 293 BitVectorBase(void *data, size_t bits) in BitVectorBase() argument 294 : size_(bits), in BitVectorBase() 295 …storage_(reinterpret_cast<WordType *>(data), GetWordIndex(bits) + (((bits % WORD_BITS) != 0) ? 1 :… in BitVectorBase() 381 void resize(size_t bits) in resize() argument 385 if (bits > initial_size) { in resize() 386 EnsureSpace(bits); in resize() 387 std::fill(begin() + initial_size, begin() + bits, false); in resize() 389 size_ = bits; in resize() 574 void EnsureSpace(size_t bits) in EnsureSpace() argument 577 size_t words = RoundUp(bits, WORD_BITS) / WORD_BITS; in EnsureSpace()
|
/ark/runtime_core/docs/ |
D | memory-management.md | 69 | Object Header (128 bits) | Sta… 71 | Mark Word (64 bits) | Class Word (64 bits) | … 87 | Object Header (64 bits) | Sta… 89 | Mark Word (32 bits) | Class Word (32 bits) | … 106 | Object Header (64 bits) | Sta… 108 | Mark Word (32 bits) | Class Word (32 bits) | … 126 | Object Header (32 bits) | Sta… 128 | Mark Word (16 bits) | Class Word (16 bits) | … 159 | Object Header (64 bits) | 161 | Length (32 bits) | [all …]
|
D | rationale-for-bytecode.md | 141 To address virtual registers 4 and 5, we need only 3 bits. The instruction can be encoded as follow… 144 |<- 8 bits ->|<- 4 bits ->|<- 4 bits ->| 150 into 4 bits, we have to use a wider encoding: 153 |<- 8 bits ->|<- 8 bits ->|<- 8 bits ->|
|
D | design-of-interpreter.md | 148 the size of up to 64 bits, floating point numbers of single and double precision, raw pointers 157 1. The size of a virtual register is not hardcoded by design. Currently it is always 128 bits, 159 and can be reduced for memory-constrained targets and to 64 bits (using NaN-tagging technique).
|
/ark/runtime_core/libpandafile/ |
D | pandafile_isapi.rb | 47 def storage_width(bits) argument 48 (bits + 7) / 8 * 8
|
/ark/js_runtime/ecmascript/builtins/ |
D | builtins_bigint.cpp | 50 JSHandle<JSTaggedValue> bits = GetCallArg(argv, 0); in AsUintN() local 53 JSTaggedNumber index = JSTaggedValue::ToIndex(thread, bits); in AsUintN() 68 JSHandle<JSTaggedValue> bits = GetCallArg(argv, 0); in AsIntN() local 71 JSTaggedNumber index = JSTaggedValue::ToIndex(thread, bits); in AsIntN()
|
/ark/runtime_core/verification/util/tests/ |
D | bit_vector_test.cpp | 79 BitVector bits {size}; in arbitrary() local 81 bits[idx] = 1; in arbitrary() 83 return BSet {set, bits}; in arbitrary() 142 auto bits = bit_set.Bits; in __anon823681b80402() local 143 RC_ASSERT(bits.size() == bit_set.Bits.size()); in __anon823681b80402() 144 for (size_t idx = 0; idx < bits.size(); ++idx) { in __anon823681b80402() 145 RC_ASSERT(bits[idx] == bit_set.Bits[idx]); in __anon823681b80402() 147 RC_ASSERT(bits.SetBitsCount() == bit_set.Bits.SetBitsCount()); in __anon823681b80402()
|
/ark/runtime_core/tests/benchmarks/ |
D | CMakeLists.txt | 80 panda_add_benchmark("bitops-3bit-bits-in-byte" "Bitops3BitBitsInByte" 0 TRUE def… 81 panda_add_benchmark("bitops-bits-in-byte" "BitopsBitsInByte" 0 TRUE def… 83 panda_add_benchmark("bitops-nsieve-bits" "BitopsNSieveBits" 0 TRUE def…
|
/ark/runtime_core/cmake/ |
D | PandaCmakeFunctions.cmake | 14 # 32-bits pointers optimization in Panda for objects => addresses usage low 4GB 56 # It is neccessary for 32-bits pointers via amd64 building with Clang compiler
|
/ark/runtime_core/isa/ |
D | isapi.rb | 227 bits = pretty.gsub(/[a-z]/, '').split('_').map(&:to_i).sum 228 raise "Incorrect format name #{name}" if bits % 8 != 0 231 bits / 8 + opcode_bytes
|
/ark/js_runtime/ecmascript/base/ |
D | number_helper.cpp | 638 int32_t NumberHelper::DoubleToInt(double d, size_t bits) in DoubleToInt() argument 643 if (exp < static_cast<int>(bits - 1)) { in DoubleToInt() 646 } else if (exp < static_cast<int>(bits + DOUBLE_SIGNIFICAND_SIZE)) { in DoubleToInt() 650 << (exp - DOUBLE_SIGNIFICAND_SIZE + INT64_BITS - bits)) >> in DoubleToInt() 651 (INT64_BITS - bits); in DoubleToInt()
|
D | number_helper.h | 90 static int32_t DoubleToInt(double d, size_t bits);
|
/ark/runtime_core/verification/util/ |
D | bit_vector.h | 198 auto bits(size_t from, size_t to) const in bits() function 218 auto bits(size_t from, size_t to) in bits() function 320 return bits(last_word_start, size() - 1) == rhs.bits(last_word_start, size() - 1); 460 Word val = bits(last_word_start, size() - 1); in for_all_idx_val()
|
/ark/js_runtime/ecmascript/compiler/ |
D | circuit_ir_specification.md | 49 ### Layout of type representation bits (GateType) 51 GateType is represented by 64 bits: 55 * The 30th and 29th bits are used to indicate whether the output values of the MIR gates are GC rel… 82 * `ARCH` means architecture-related integer type (`INTx` on `x` bits architecture). 345 * **SHL**: returns the first integer operand shifted to the left a specified number of bits. 346 * **LSHR**: returns the first integer operand shifted to the right a specified number of bits with … 347 * **ASHR**: returns the first integer operand shifted to the right a specified number of bits with … 440 * **BITCAST**: converts value to another type without changing any bits. 518 | `CONSTANT_LIST` | bits representation of the constant |
|
/ark/runtime_core/libpandabase/tests/ |
D | bit_vector_test.cpp | 113 void TestIteration(T &vector, size_t bits) in TestIteration() argument 116 ASSERT_EQ(vector.size(), bits); in TestIteration()
|
/ark/runtime_core/cmake/toolchain/ |
D | cross-clang-9-x86_64-w64-mingw32-static.cmake | 41 -I ${MINGW_CXX_INC}/${PANDA_TRIPLET} # For #include <bits/...>
|
D | cross-clang-8-x86_64-w64-mingw32-static.cmake | 41 -I ${MINGW_CXX_INC}/${PANDA_TRIPLET} # For #include <bits/...>
|
/ark/runtime_core/tests/verifier-tests/ |
D | bug_2107_2.pa | 19 # Truncations discard all but N lowest-order bits, where N is the bit size of destination
|
/ark/runtime_core/docs/bc_verification/ |
D | absint_checks.md | 5 This type of checks eliminate runtime problems with undefined bits in integers, truncation issues, …
|
/ark/runtime_core/tests/cts-assembly/ |
D | arrays-08.pa | 20 # If element size is smaller then 32 bits, it will be zero or sign extended (depending on byt…
|
D | arrays-07.pa | 20 # If element size is smaller then 32 bits, it will be zero or sign extended (depending on byt…
|