Home
last modified time | relevance | path

Searched full:bit (Results 1 – 25 of 248) sorted by relevance

12345678910

/arkcompiler/runtime_core/libpandabase/utils/
Dregmask.h90 constexpr bool Test(size_t bit) const in Test() argument
92 ASSERT(bit < Size()); in Test()
93 return ((value_ >> static_cast<ValueType>(bit)) & 1U) != 0; in Test()
105 constexpr void Set(size_t bit) in Set() argument
107 ASSERT(bit < Size()); in Set()
108 value_ |= (1U << bit); in Set()
111 constexpr void Set(size_t bit, bool value) in Set() argument
113 ASSERT(bit < Size()); in Set()
115 Set(bit); in Set()
117 Reset(bit); in Set()
[all …]
Dbit_field.h53 * Make BitField type that follows right after current bit range.
68 * Make Flag field that follows right after current bit range.
75 * Return maximum value that fits bit range [START_BIT : START_BIT+END_BIT]
83 * Return mask of bit range, f.e. 0b1110 for BitField<T, 1, 3>
91 * Check if given value fits into the bit field
99 * Set 'value' to current bit range [START_BIT : START_BIT+END_BIT] within the 'stor' parameter.
109 * Return bit range [START_BIT : START_BIT+END_BIT] value from given integer 'value'
117 * Encode 'value' to current bit range [START_BIT : START_BIT+END_BIT] and return it
126 * Update 'value' to current bit range [START_BIT : START_BIT+END_BIT] and return it
/arkcompiler/runtime_core/runtime/mem/gc/
Dbitmap.h62 * \brief Set the bit indexed by bit_offset.
63 * @param bit_offset - index of the bit to set.
72 * \brief Clear the bit indexed by bit_offset.
73 * @param bit_offset - index of the bit to clear.
82 * \brief Test the bit indexed by bit_offset.
83 * @param bit_offset - index of the bit to test.
84 * @return Returns value of indexed bit.
93 …* \brief Atomically set bit indexed by bit_offset. If the bit is not set, set it atomically. Other…
94 * @param bit_offset - index of the bit to set.
95 * @return Returns old value of the bit.
[all …]
/arkcompiler/runtime_core/docs/
D2022-08-18-isa-changelog.md20 8. We add 8-bit or 16-bit imm as inline cache slot for some specific opcodes.
26 We reuse the field 32-bit field `access_flags_` to encode Function Kind and Header index.
27 This will not introduce compatibility issue because the later 24-bit of `access_flags_` is unused i…
30 |<- 16-bit header index ->|<- 8-bit function kind ->|<- 8-bit original access flag ->|
39 As we use 16-bit to encode methodId, stringId and literalarrayId, the number of these Ids in one me…
45 3. In bytecode, we still use 16-bit literalarrayId rather than offset.
Dcode_metainfo.md31 | | Bit Tables | Method indexes |
40 ## Bit table
53 Column width can't be greater than 32 bits, because `BitTableBuilder` class, that aims to build bit
80 Bitmap table is a Bit table with one column, that doesn't have 32-bits limitation for the width.
108 | TABLE_MASK | Bit mask of existing bit tables |
135 | METHOD_HI | Hi 32-bit part of the method pointer (actual only for jit) |
136 | METHOD_LOW | Low 32-bit part of the method pointer (actual only for jit) |
156 This is a Bitmap table, where column is a bit mask, that determines which CPU register holds a mana…
160 This is a Bitmap table, where column is a bit mask, that determines which stack slot holds a manage…
168 This is a Bitmap table, where column is a bit mask, that determines which virtual register is modif…
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dencode_bit.h29 * 16bit 8bit 1bit 1bit 1bit 8bit 1bit 18bit 10bit
44 // encode bit
51 static constexpr int UNUSED_BIT_NUMBER = 9; // unused bit number
/arkcompiler/ets_frontend/es2panda/util/
Dbase64.cpp29 // convert three 8bit into four 6bit; then add two 0 bit in each 6 bit in Base64Encode()
93 // the last 6 bit of the first char + the 2~3 bit of the second char(first 4 bit - 00) in Base64Decode()
101 // the last 4 bit of the second char + the 2~5 bit of the third char(first 6 bit - 00) in Base64Decode()
109 // the last 2 bit of the third char + the last 6 bit of the fourth char in Base64Decode()
/arkcompiler/runtime_core/compiler/docs/
Dinterface_inline_cache.md20 * must be 64bit system
27 Cache structure:(offset addr)/(class addr) 32bit/32bit
47 1. one cache is 64bit
51 5. why use 64bit?
52 because read and write 64bit is atomic, same `cache` maybe use at same time
55 1. `class addr` is just the point to a class, in ark runtime, class point is 32bit
63 because method* is 64bit, it must be indirectly stored,cache only have 32bit to use
100 because Method* is 8bit align, so Method* can be compressed. So the actual range we can store is:
/arkcompiler/runtime_core/verification/util/
Dflags.h47 class Bit : public ConstBit {
49 Bit(UInt bit_mask, UInt &given_flags) : ConstBit {bit_mask, given_flags} {}; in Bit() function
50 ~Bit() = default;
51 Bit &operator=(bool b)
78 Bit operator[](Enum f)
89 Bit operator[](Enum /* unused */)
113 typename Base::Bit operator[](Enum f)
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dxor2.yaml29 prefix: bit
70 prefix: bit
118 prefix: bit
167 prefix: bit
216 prefix: bit
265 prefix: bit
331 prefix: bit
360 prefix: bit
457 prefix: bit
Dand2.yaml29 prefix: bit
69 prefix: bit
117 prefix: bit
165 prefix: bit
214 prefix: bit
263 prefix: bit
329 prefix: bit
358 prefix: bit
456 prefix: bit
Dor2.yaml29 prefix: bit
70 prefix: bit
118 prefix: bit
158 prefix: bit
207 prefix: bit
256 prefix: bit
322 prefix: bit
351 prefix: bit
448 prefix: bit
Dashr2.yaml29 prefix: bit
76 prefix: bit
131 prefix: bit
177 prefix: bit
232 prefix: bit
289 prefix: bit
351 prefix: bit
383 prefix: bit
480 prefix: bit
Dand.yaml29 prefix: bit
70 prefix: bit
118 prefix: bit
166 prefix: bit
215 prefix: bit
264 prefix: bit
330 prefix: bit
358 prefix: bit
488 prefix: bit
Dshl2.yaml29 prefix: bit
76 prefix: bit
130 prefix: bit
185 prefix: bit
240 prefix: bit
297 prefix: bit
362 prefix: bit
391 prefix: bit
489 prefix: bit
Dshr2.yaml29 prefix: bit
76 prefix: bit
130 prefix: bit
185 prefix: bit
240 prefix: bit
297 prefix: bit
362 prefix: bit
391 prefix: bit
488 prefix: bit
Dxor2.64.yaml29 prefix: bit
65 prefix: bit
108 prefix: bit
152 prefix: bit
196 prefix: bit
240 prefix: bit
298 prefix: bit
397 prefix: bit
Dor2.64.yaml29 prefix: bit
65 prefix: bit
108 prefix: bit
143 prefix: bit
187 prefix: bit
231 prefix: bit
289 prefix: bit
388 prefix: bit
Dand2.64.yaml29 prefix: bit
65 prefix: bit
108 prefix: bit
151 prefix: bit
195 prefix: bit
239 prefix: bit
296 prefix: bit
395 prefix: bit
Dxori.yaml31 prefix: bit
63 prefix: bit
95 prefix: bit
127 prefix: bit
159 prefix: bit
191 prefix: bit
262 prefix: bit
Dshr2.64.yaml29 prefix: bit
71 prefix: bit
120 prefix: bit
170 prefix: bit
220 prefix: bit
272 prefix: bit
329 prefix: bit
429 prefix: bit
Dshl2.64.yaml29 prefix: bit
71 prefix: bit
120 prefix: bit
170 prefix: bit
220 prefix: bit
272 prefix: bit
329 prefix: bit
429 prefix: bit
Dashr2.64.yaml29 prefix: bit
71 prefix: bit
120 prefix: bit
161 prefix: bit
211 prefix: bit
263 prefix: bit
320 prefix: bit
419 prefix: bit
Dxor.yaml29 prefix: bit
70 prefix: bit
118 prefix: bit
167 prefix: bit
216 prefix: bit
265 prefix: bit
331 prefix: bit
360 prefix: bit
/arkcompiler/runtime_core/tests/verifier-tests/
Dbug_2107_2.pa19 # Truncations discard all but N lowest-order bits, where N is the bit size of destination
39 # Load different values (objects, strings, types, 64-bit floating point values, 32-bit integer va…

12345678910