/gem5/src/mem/ruby/common/ |
H A D | Address.cc | 41 Addr mask = ~((Addr)~0 << (big + 1)); local 43 Addr partial = (addr & mask); 56 Addr mask = (Addr)~0 >> small; local 57 return (addr & mask); 59 Addr mask = (Addr)~0 << big; local 60 return (addr & mask); 62 Addr mask = ~((Addr)~0 << small); local 63 Addr lower_bits = addr & mask; 64 mask = (Addr)~0 << (big + 1); 65 Addr higher_bits = addr & mask; 76 Addr mask; local 89 Addr mask; local [all...] |
H A D | DataBlock.cc | 62 DataBlock::copyPartial(const DataBlock &dblk, const WriteMask &mask) argument 65 if (mask.getMask(i, 1)) { 72 DataBlock::atomicPartial(const DataBlock &dblk, const WriteMask &mask) argument 77 mask.performAtomic(m_data);
|
/gem5/src/arch/arm/ |
H A D | interrupts.cc | 54 InterruptMask mask; local 102 mask = INT_MASK_M; 105 mask = INT_MASK_T; 107 mask = INT_MASK_M; 114 mask = INT_MASK_T; 116 mask = INT_MASK_M; 126 mask = INT_MASK_P; 128 mask = INT_MASK_M; 131 mask = INT_MASK_T; 133 mask [all...] |
/gem5/configs/common/cores/arm/ |
H A D | HPI.py | 54 # mask and value for use with MinorFUTiming 98 mask, match = make_implicant(opcode_string) 99 return (a64_mask | mask), (a64_match | match) 196 mask, match = any_non_a64_inst 201 mask, match = any_a64_inst 207 mask, match = any_non_a64_inst 213 mask, match = any_a64_inst 220 mask, match = any_non_a64_inst 226 mask, match = any_a64_inst 232 mask, matc [all...] |
/gem5/src/arch/x86/ |
H A D | ldstflags.hh | 51 const Request::FlagsType M5_VAR_USED SegmentFlagMask = mask(4);
|
H A D | vtophys.cc | 70 Addr masked_addr = vaddr & mask(logBytes);
|
/gem5/src/dev/arm/ |
H A D | smmu_v3_ptops.cc | 106 case 1: return ~mask(30); 107 case 2: return ~mask(21); 108 case 3: return bits(pte, 52) ? ~mask(16) : ~mask(12); 117 case 1: return mask(39, 30); 118 case 2: return mask(39, 21); 119 case 3: return mask(39, 12); 199 case 1: return ~mask(30); 200 case 2: return ~mask(21); 201 case 3: return bits(pte, 52) ? ~mask(1 [all...] |
H A D | smmu_v3_cmdexec.cc | 61 // generates a 0b11111 mask. 62 int size_mask = mask( 66 int size_mask_wrap = mask(
|
H A D | pl011.hh | 87 * @param mask New interrupt mask 89 void setInterrupts(uint16_t ints, uint16_t mask); 91 * Convenience function to update the interrupt mask 94 * @param mask New interrupt mask 96 void setInterruptMask(uint16_t mask) { setInterrupts(rawInt, mask); } argument 170 /** interrupt mask register. */
|
/gem5/src/arch/riscv/ |
H A D | interrupts.hh | 77 INTERRUPT mask = 0; local 80 mask.mei = mask.mti = mask.msi = 1; 82 mask.sei = mask.sti = mask.ssi = 1; 84 mask.uei = mask.uti = mask 98 std::bitset<NumInterruptTypes> mask = globalMask(tc); local [all...] |
/gem5/src/arch/hsail/insts/ |
H A D | pseudo_inst.cc | 82 const VectorMask &mask = w->getPred(); local 88 if (mask[lane]) { 184 const VectorMask &mask = w->getPred(); local 186 if (mask[lane]) { 207 const VectorMask &mask = w->getPred(); local 209 if (mask[lane]) { 230 const VectorMask &mask = w->getPred(); local 239 if (mask[lane]) { 268 const VectorMask &mask = w->getPred(); local 278 if (mask[lan 310 const VectorMask &mask = w->getPred(); local 348 const VectorMask &mask = w->getPred(); local 390 const VectorMask &mask = w->getPred(); local 458 const VectorMask &mask = w->getPred(); local 477 const VectorMask &mask = w->getPred(); local 497 const VectorMask &mask = w->getPred(); local 522 const VectorMask &mask = w->getPred(); local 547 const VectorMask &mask = w->getPred(); local 568 const VectorMask &mask = w->getPred(); local 594 const VectorMask &mask = w->getPred(); local 740 const VectorMask &mask = w->getPred(); local 762 const VectorMask &mask = w->getPred(); local 776 const VectorMask &mask = w->getPred(); local [all...] |
/gem5/src/base/loader/ |
H A D | object_file.hh | 92 Addr mask = maxAddr, Addr offset = 0); 95 Addr offset = 0, Addr mask = maxAddr) = 0; 97 Addr offset = 0, Addr mask = maxAddr) = 0; 99 Addr offset = 0, Addr mask = maxAddr) = 0; 101 Addr offset = 0, Addr mask = maxAddr) 132 bool loadSection(Section *sec, const PortProxy& mem_proxy, Addr mask,
|
/gem5/src/base/ |
H A D | condcodes.hh | 66 dest &= mask(width); 91 return !(dest & mask(width));
|
H A D | flags.hh | 73 update(Type flags, Type mask) argument 75 _flags = (_flags & ~mask) | (flags & mask);
|
H A D | pixel.cc | 69 mask(::mask(width)), 70 factor(255.0 / mask)
|
H A D | bitfield.hh | 57 * Generate a 64-bit mask of 'nbits' 1s, right justified. 60 mask(int nbits) function 75 return (val >> last) & mask(nbits); 98 return val & (mask(first+1) & ~mask(last)); 102 mask(int first, int last) function 116 return sign_bit ? (val | ~mask(N)) : val; 128 T bmask = mask(first - last + 1) << last;
|
H A D | addr_range.hh | 83 * Each mask determines the bits we need to xor to get one bit of 84 * sel. The first (0) mask is used to get the LSB and the last for 102 * address range is interleaved. Each mask determines a set of 109 * For example if the input mask is 189 Addr mask = (1ULL << bit1); local 192 mask |= (1ULL << bit2); 194 masks[_intlv_bits - i - 1] = mask; 259 for (auto mask: masks) { 260 combined_mask |= mask; 313 Addr mask local [all...] |
/gem5/src/arch/power/insts/ |
H A D | static_inst.hh | 55 uint32_t mask = ~(0xf << ((7 - bf) * 4)); local 56 return (cr & mask) | bits;
|
/gem5/util/ |
H A D | protolib.py | 111 # Use a 32-bit mask 112 mask = 0xffffffff 123 result |= ~mask 125 result &= mask
|
/gem5/src/mem/cache/prefetch/ |
H A D | delta_correlating_prediction_tables.cc | 83 std::vector<QueuedPrefetcher::AddrPriority> &pfs, unsigned int mask) const 109 if ((this_delta_0 >> mask) == (delta_0 >> mask) && 110 (this_delta_1 >> mask) == (delta_1 >> mask)) {
|
/gem5/src/arch/sparc/ |
H A D | ua2005.cc | 112 if ((tick_cmpr & ~mask(63)) && tickCompare->scheduled()) 114 time = (tick_cmpr & mask(63)) - (tick & mask(63)); 115 if (!(tick_cmpr & ~mask(63)) && time > 0) { 127 if ((stick_cmpr & ~mask(63)) && sTickCompare->scheduled()) 129 time = ((int64_t)(stick_cmpr & mask(63)) - (int64_t)stick) - 131 if (!(stick_cmpr & ~mask(63)) && time > 0) { 198 if ((hstick_cmpr & ~mask(63)) && hSTickCompare->scheduled()) 200 time = ((int64_t)(hstick_cmpr & mask(63)) - (int64_t)stick) - 202 if (!(hstick_cmpr & ~mask(6 [all...] |
/gem5/ext/systemc/src/sysc/datatypes/int/ |
H A D | sc_int_base.cpp | 46 // the mask being used was 32 bits and should have been 64 bits. 158 uint_type mask; // Mask for bits to extract or keep. local 163 mask = ~mask_int[m_left][m_right]; 168 dst_p[dst_i] = (sc_digit)(dst_p[dst_i] & mask); 205 uint_type mask; // Mask for bits to extract or keep. local 213 mask = ~mask_int[m_left][m_right]; 214 val = (m_obj_p->m_val & mask) >> m_right; 220 mask = ~(-1 << left_shift); 221 dst_p[dst_i] = (sc_digit)((dst_p[dst_i] & mask) | 273 uint_type mask local 599 uint_type mask = ~UINT_ZERO; local 616 uint_type mask; // Mask for bits to extract or keep. local 650 uint_type mask; // Mask for bits to extract or keep. local [all...] |
H A D | sc_uint_base.cpp | 46 // the mask being used was 32 bits and should have been 64 bits. 157 uint_type mask; // Mask for bits to extract or keep. local 163 mask = ~(-1 << left_shift); 164 dst_p[dst_i] = (sc_digit)((dst_p[dst_i] & mask)); 178 uint_type mask; // Mask for bits to extract or keep. local 186 mask = ~mask_int[m_left][m_right]; 187 val = (m_obj_p->m_val & mask) >> m_right; 193 mask = ~(-1 << left_shift); 194 dst_p[dst_i] = (sc_digit)(((dst_p[dst_i] & mask)) | 246 uint_type mask local 571 uint_type mask = ~UINT_ZERO; local 588 uint_type mask; // Mask for bits to extract or keep. local 625 uint_type mask; // Mask for bits to extract or keep. local [all...] |
/gem5/src/systemc/dt/int/ |
H A D | sc_int_base.cc | 46 // the mask being used was 32 bits and should have been 64 bits. 165 uint_type mask; // Mask for bits to extract or keep. local 170 mask = ~mask_int[m_left][m_right]; 173 dst_p[dst_i] = (sc_digit)(dst_p[dst_i] & mask); 206 uint_type mask; // Mask for bits to extract or keep. local 214 mask = ~mask_int[m_left][m_right]; 215 val = (m_obj_p->m_val & mask) >> m_right; 219 mask = ~(~UINT_ZERO << left_shift); 220 dst_p[dst_i] = (sc_digit)((dst_p[dst_i] & mask) | 268 uint_type mask local 562 uint_type mask = ~UINT_ZERO; local 579 uint_type mask; // Mask for bits to extract or keep. local 615 uint_type mask; // Mask for bits to extract or keep. local [all...] |
H A D | sc_uint_base.cc | 46 // the mask being used was 32 bits and should have been 64 bits. 168 uint_type mask; // Mask for bits to extract or keep. local 174 mask = ~(~UINT_ZERO << left_shift); 175 dst_p[dst_i] = (sc_digit)((dst_p[dst_i] & mask)); 191 uint_type mask; // Mask for bits to extract or keep. local 199 mask = ~mask_int[m_left][m_right]; 200 val = (m_obj_p->m_val & mask) >> m_right; 204 mask = ~(~UINT_ZERO << left_shift); 205 dst_p[dst_i] = (sc_digit)(((dst_p[dst_i] & mask)) | 253 uint_type mask local 558 uint_type mask = ~UINT_ZERO; local 576 uint_type mask; // Mask for bits to extract or keep. local 614 uint_type mask; // Mask for bits to extract or keep. local [all...] |