/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | scfx_pow10.cpp | 86 int bit = scfx_find_msb( i ); local 87 scfx_rep result = *pos( bit ); 88 if( bit ) 90 while( -- bit >= 0 ) 92 if( ( 1 << bit ) & i ) 94 scfx_rep* tmp = mult_scfx_rep( result, *pos( bit ) ); 105 int bit = scfx_find_msb( i ); local 106 scfx_rep result = *neg( bit ); 107 if( bit ) 109 while( -- bit > [all...] |
/gem5/src/systemc/dt/fx/ |
H A D | scfx_pow10.cc | 81 int bit = scfx_find_msb(i); local 82 scfx_rep result = *pos(bit); 83 if (bit) { 84 while (--bit >= 0) { 85 if ((1 << bit) & i) { 86 scfx_rep *tmp = mult_scfx_rep(result, *pos(bit)); 95 int bit = scfx_find_msb(i); local 96 scfx_rep result = *neg(bit); 97 if (bit) { 98 while (--bit > [all...] |
/gem5/src/mem/ruby/common/ |
H A D | Consumer.cc | 52 set<Tick>::iterator bit = m_scheduled_wakeups.begin(); local 54 m_scheduled_wakeups.erase(bit,eit);
|
/gem5/src/base/ |
H A D | bitfield.hh | 53 /** Lookup table used for High Speed bit reversing */ 57 * Generate a 64-bit mask of 'nbits' 1s, right justified. 79 * Extract the bit from this position from 'val' and right justify it. 84 bits(T val, int bit) argument 86 return bits(val, bit, bit); 108 * Sign-extend an N-bit value to 64 bits. 133 * Overloaded for access to only one bit in value 138 insertBits(T val, int bit, B bit_val) argument 140 return insertBits(val, bit, bi 159 replaceBits(T& val, int bit, B bit_val) argument [all...] |
H A D | addr_range.hh | 63 * allowing a number of bits of the address, at an arbitrary bit 83 * Each mask determines the bits we need to xor to get one bit of 103 * bits that are xored to determine one bit of the sel value, 104 * starting from the least significant bit (i.e., masks[0] 105 * determines the least significant bit of sel, ...). If sel 157 * @param _xor_high_bit The MSB of the xor bit (disabled if 0) 174 fatal("XOR and interleave high bit must be different\n"); 177 fatal("XOR and interleave high bit must be at least " 181 fatal("Interleave and XOR high bit must be at least " 315 auto bit local [all...] |
/gem5/src/systemc/ext/channel/ |
H A D | sc_signal_rv.hh | 34 #include "../dt/bit/sc_logic.hh" 35 #include "../dt/bit/sc_lv.hh" 120 sc_dt::sc_logic_value_t bit = Log_Z; local 122 bit = merge_table[bit][input.second.get_bit(i)]; 123 this->m_new_val.set_bit(i, bit);
|
/gem5/src/base/filters/ |
H A D | multi_bit_sel_bloom_filter.cc | 82 int bit, i; local 85 bit = (hash_number + numHashes * i) % max_bits; 86 if (value & (1 << bit)) {
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ud/ |
H A D | fclass.S | 17 # Replace the function with the 32-bit variant defined in test_macros.h
|
H A D | fadd.S | 17 # Replace the function with the 32-bit variant defined in test_macros.h
|
H A D | fdiv.S | 17 # Replace the functions with the 32-bit variants defined in test_macros.h
|
H A D | fcmp.S | 21 # Replace the function with the 32-bit variant defined in test_macros.h
|
H A D | fmadd.S | 17 # Replace the function with the 32-bit variant defined in test_macros.h
|
H A D | fmin.S | 17 # Replace the function with the 32-bit variant defined in test_macros.h
|
H A D | fcvt.S | 17 # Replace the function with the 32-bit variant defined in test_macros.h
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64si/ |
H A D | dirty.S | 28 # Try a faulting store to make sure dirty bit is not set 42 # Try a non-faulting store to make sure dirty bit is set 53 # Make sure D bit is set 85 # Make sure D bit is clear 99 # Make sure the D bit really is clear. 103 # Set the D bit.
|
/gem5/src/arch/sparc/ |
H A D | ua2005.cc | 62 for (int bit = 15; bit > 0; --bit) { 63 if (1 << bit & softint && bit > pil) 64 cpu->postInterrupt(0, IT_SOFT_INT, bit); 66 cpu->clearInterrupt(0, IT_SOFT_INT, bit); 229 panic("No support for setting spec_en bit\n");
|
/gem5/tests/test-progs/asmtest/src/riscv/env/v/ |
H A D | vm.c | 29 uint64_t bit = (x ^ (x >> 1)) & 1; local 30 return (x >> 1) | (bit << 62);
|
/gem5/ext/systemc/src/sysc/datatypes/misc/ |
H A D | sc_concatref.h | 83 #include "sysc/datatypes/bit/sc_bv.h" 84 #include "sysc/datatypes/bit/sc_lv.h" 100 // Proxy class for sized bit concatenation. 646 int bit = 1 << (low_i % BITS_PER_DIGIT); local 648 dst_p[word_i] &= ~bit; 654 int bit = 1 << (low_i % BITS_PER_DIGIT); local 657 dst_p[word_i] |= bit; 659 dst_p[word_i] &= ~bit;
|
/gem5/src/systemc/ext/dt/misc/ |
H A D | sc_concatref.hh | 82 #include "../bit/sc_bv.hh" 83 #include "../bit/sc_lv.hh" 116 // Proxy class for sized bit concatenation. 596 int bit = 1 << (low_i % BITS_PER_DIGIT); local 598 dst_p[word_i] &= ~bit; 605 int bit = 1 << (low_i % BITS_PER_DIGIT); local 608 dst_p[word_i] |= bit; 610 dst_p[word_i] &= ~bit;
|
/gem5/src/systemc/tests/include/specialized_signals/ |
H A D | scx_signal_int.h | 227 // Proxy class for sc_signal_int bit and part selection. 331 inline sc_int_sigref& operator [] ( int bit ); 454 // low order bit for this object instance's value is low_i. 456 // low_i = bit within src to serve as low order bit of this object 531 // left = left-hand bit of the selection. 532 // right = right-hand bit of the selection. 548 // This operator returns a bit selection of this object instance. 549 // i = bit to be selected. 552 inline sc_int_sigref& sc_signal<sc_dt::sc_int<W> >::operator [] ( int bit ) 861 sc_dt::sc_int_bitref_r bit( int i ) const function in class:sc_core::sc_in 1111 sc_dt::sc_int_bitref_r bit( int i ) const function in class:sc_core::sc_inout 1115 sc_int_sigref& bit( int i ) function in class:sc_core::sc_inout [all...] |
H A D | scx_signal_uint.h | 259 // Proxy class for sc_signal_uint bit and part selection. 363 inline sc_uint_sigref& operator [] ( int bit ); 476 // low order bit for this object instance's value is low_i. 478 // low_i = bit within src to serve as low order bit of this object 561 // left = left-hand bit of the selection. 562 // right = right-hand bit of the selection. 579 // This operator returns a bit selection of this object instance. 580 // i = bit to be selected. 583 inline sc_uint_sigref& sc_signal<sc_dt::sc_uint<W> >::operator [] ( int bit ) 917 sc_dt::sc_uint_bitref_r bit( int i ) const function in class:sc_core::sc_in 1169 sc_dt::sc_uint_bitref_r bit( int i ) const function in class:sc_core::sc_inout 1173 sc_uint_sigref& bit( int i ) function in class:sc_core::sc_inout [all...] |
/gem5/ext/systemc/src/sysc/datatypes/int/ |
H A D | sc_int_base.h | 45 - Merged the code for 64- and 32-bit versions 132 // Proxy class for sc_int bit selection (r-value only). 253 // Proxy class for sc_int bit selection (r-value and l-value). 736 // bit selection 741 sc_int_bitref& bit( int i ); 742 const sc_int_bitref_r& bit( int i ) const; 754 // bit access, without bounds checking or sign extension 891 // Proxy class for sc_int bit selection (r-value only). 930 // Proxy class for sc_int bit selection (r-value and l-value). 1227 // bit selectio 1252 sc_int_base::bit( int i ) function in class:sc_dt::sc_int_base 1262 sc_int_base::bit( int i ) const function in class:sc_dt::sc_int_base [all...] |
H A D | sc_uint_base.h | 44 - Merged the code for 64- and 32-bit versions 127 // Proxy class for sc_uint bit selection (r-value only). 248 // Proxy class for sc_uint bit selection (r-value and l-value). 721 // bit selection 726 sc_uint_bitref& bit( int i ); 727 const sc_uint_bitref_r& bit( int i ) const; 739 // bit access, without bounds checking or sign extension 870 // Proxy class for sc_uint bit selection (r-value only). 909 // Proxy class for sc_uint bit selection (r-value and l-value). 1197 // bit selectio 1222 sc_uint_base::bit( int i ) function in class:sc_dt::sc_uint_base 1232 sc_uint_base::bit( int i ) const function in class:sc_dt::sc_uint_base [all...] |
/gem5/src/systemc/ext/dt/int/ |
H A D | sc_int_base.hh | 22 sc_int_base.h -- A signed integer whose length is less than 64 bit. 41 - Merged the code for 64- and 32-bit versions 135 // Proxy class for sc_int bit selection (r-value only). 240 // Proxy class for sc_int bit selection (r-value and l-value). 842 // bit selection 846 sc_int_bitref &bit(int i); 847 const sc_int_bitref_r &bit(int i) const; 858 // bit access, without bounds checking or sign extension 949 // Proxy class for sc_int bit selection (r-value only). 983 // Proxy class for sc_int bit selectio 1272 sc_int_base::bit(int i) function in class:sc_dt::sc_int_base 1281 sc_int_base::bit(int i) const function in class:sc_dt::sc_int_base [all...] |
H A D | sc_uint_base.hh | 41 - Merged the code for 64- and 32-bit versions 133 // Proxy class for sc_uint bit selection (r-value only). 228 // Proxy class for sc_uint bit selection (r-value and l-value). 778 // bit selection 782 sc_uint_bitref &bit(int i); 783 const sc_uint_bitref_r &bit(int i) const; 792 // bit access, without bounds checking or sign extension 872 // Proxy class for sc_uint bit selection (r-value only). 905 // Proxy class for sc_uint bit selection (r-value and l-value). 1136 // bit selectio 1156 sc_uint_base::bit(int i) function in class:sc_dt::sc_uint_base 1165 sc_uint_base::bit(int i) const function in class:sc_dt::sc_uint_base [all...] |