Searched refs:bit (Results 26 - 41 of 41) sorted by relevance

12

/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ud/
H A Dmove.S16 #TODO: make 32-bit compatible version
/gem5/src/systemc/tests/include/specialized_signals/
H A Dscx_signal_signed.h277 // Proxy class for sc_signal_uint bit and part selection.
387 // #### Need to add bit() and range()
388 inline sc_signed_sigref& operator [] ( int bit );
590 // low order bit for this object instance's value is low_i.
592 // low_i = bit within src to serve as low order bit of this object
670 // left = left-hand bit of the selection.
671 // right = right-hand bit of the selection.
687 // This operator returns a bit selection of this object instance.
688 // i = bit t
1043 sc_dt::sc_signed_bitref_r bit( int i ) const function in class:sc_core::sc_in
1293 sc_dt::sc_signed_bitref_r bit( int i ) const function in class:sc_core::sc_inout
1297 sc_signed_sigref& bit( int i ) function in class:sc_core::sc_inout
[all...]
H A Dscx_signal_unsigned.h267 // Proxy class for sc_signal_uint bit and part selection.
377 // #### Need to add range() and bit()!
378 inline sc_unsigned_sigref& operator [] ( int bit );
580 // low order bit for this object instance's value is low_i.
582 // low_i = bit within src to serve as low order bit of this object
660 // left = left-hand bit of the selection.
661 // right = right-hand bit of the selection.
677 // This operator returns a bit selection of this object instance.
678 // i = bit t
1039 sc_dt::sc_unsigned_bitref_r bit( int i ) const function in class:sc_core::sc_in
1289 sc_dt::sc_unsigned_bitref_r bit( int i ) const function in class:sc_core::sc_inout
1293 sc_unsigned_sigref& bit( int i ) function in class:sc_core::sc_inout
[all...]
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_signed_subref.inc274 i = 0; // Current bit in d.
H A Dsc_unsigned_subref.inc274 i = 0; // Current bit in d.
H A Dsc_signed.h26 proxy classes to reference one bit and a range of bits of a
717 // Proxy class for sc_signed bit selection (r-value only).
811 sc_signed* m_obj_p; // Target of this bit selection.
829 // Proxy class for sc_signed bit selection (r-value and l-value).
984 int m_left; // Left-most bit in this part selection.
986 int m_right; // Right-most bit in this part selection.
1189 // bit selection
1214 sc_signed_bitref& bit( int i ) function in class:sc_dt::sc_signed
1223 const sc_signed_bitref_r& bit( int i ) const function in class:sc_dt::sc_signed
1240 // bit operato
[all...]
H A Dsc_unsigned.h26 are proxy classes to reference one bit and a range of bits of a
622 // Proxy class for sc_unsigned bit selection (r-value only).
734 // Proxy class for sc_unsigned bit selection (r-value and l-value).
888 int m_left; // Left-most bit in this part selection.
890 int m_right; // Right-most bit in this part selection.
1091 // bit selection
1116 sc_unsigned_bitref& bit( int i ) function in class:sc_dt::sc_unsigned
1125 const sc_unsigned_bitref_r& bit( int i ) const function in class:sc_dt::sc_unsigned
1142 // bit operator [i], so these two forms are not the same.
1251 bool test(int i) const; // Is the ith bit
[all...]
/gem5/src/systemc/dt/int/
H A Dsc_signed_subref.inc276 i = 0; // Current bit in d.
H A Dsc_unsigned_subref.inc271 i = 0; // Current bit in d.
/gem5/tests/test-progs/asmtest/src/riscv/env/
H A Dencoding.h205 #define set_csr(reg, bit) ({ unsigned long __tmp; \
206 asm volatile ("csrrs %0, " #reg ", %1" : "=r"(__tmp) : "rK"(bit)); \
209 #define clear_csr(reg, bit) ({ unsigned long __tmp; \
210 asm volatile ("csrrc %0, " #reg ", %1" : "=r"(__tmp) : "rK"(bit)); \
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxnum.h63 #include "sysc/datatypes/bit/sc_lv_base.h"
92 // Proxy class for bit-selection in class sc_fxnum, behaves like sc_bit.
163 // Proxy class for bit-selection in class sc_fxnum_fast, behaves like sc_bit.
854 // bit selection
859 const sc_fxnum_bitref bit( int ) const;
860 sc_fxnum_bitref bit( int );
1278 // bit selection
1283 const sc_fxnum_fast_bitref bit( int ) const;
1284 sc_fxnum_fast_bitref bit( int );
1413 // Proxy class for bit
3328 sc_fxnum::bit( int i ) const function in class:sc_dt::sc_fxnum
3337 sc_fxnum::bit( int i ) function in class:sc_dt::sc_fxnum
4446 sc_fxnum_fast::bit( int i ) const function in class:sc_dt::sc_fxnum_fast
4455 sc_fxnum_fast::bit( int i ) function in class:sc_dt::sc_fxnum_fast
[all...]
/gem5/src/systemc/ext/dt/fx/
H A Dsc_fxnum.hh64 #include "../bit/sc_lv_base.hh"
94 // Proxy class for bit-selection in class sc_fxnum, behaves like sc_bit.
152 // Proxy class for bit-selection in class sc_fxnum_fast, behaves like sc_bit.
731 // bit selection
735 const sc_fxnum_bitref bit(int) const;
736 sc_fxnum_bitref bit(int);
1088 // bit selection
1092 const sc_fxnum_fast_bitref bit(int) const;
1093 sc_fxnum_fast_bitref bit(int);
1201 // Proxy class for bit
2835 sc_fxnum::bit(int i) const function in class:sc_dt::sc_fxnum
2843 sc_fxnum::bit(int i) function in class:sc_dt::sc_fxnum
3790 sc_fxnum_fast::bit(int i) const function in class:sc_dt::sc_fxnum_fast
3798 sc_fxnum_fast::bit(int i) function in class:sc_dt::sc_fxnum_fast
[all...]
/gem5/src/systemc/ext/dt/bit/
H A Dsc_proxy.hh124 // Template traits helper to select the correct bit/value/vector_types for
127 // All types derived from/based on a bit-vector contain typedef to a plain
191 // Base class template for bit/logic vector classes.
358 // bit selection
365 sc_bitref<X> bit(int i) { return sc_bitref<X>(back_cast(), i); } function in class:sc_dt::sc_proxy
366 sc_bitref_r<X> bit(int i) const { return sc_bitref_r<X>(back_cast(), i); } function in class:sc_dt::sc_proxy
460 void check_bounds(int n) const; // check if bit n accessible
1238 sc_proxy<X>::check_bounds(int n) const // check if bit n accessible
/gem5/ext/systemc/src/sysc/datatypes/bit/
H A Dsc_proxy.h71 #include "sysc/datatypes/bit/sc_bit.h"
72 #include "sysc/datatypes/bit/sc_bit_ids.h"
73 #include "sysc/datatypes/bit/sc_logic.h"
125 // Template traits helper to select the correct bit/value/vector_types for
128 // All types derived from/based on a bit-vector contain typedef to a plain bool,
192 // Base class template for bit/logic vector classes.
414 // bit selection
422 sc_bitref<X> bit( int i ) function in class:sc_dt::sc_proxy
425 sc_bitref_r<X> bit( int i ) const function in class:sc_dt::sc_proxy
530 void check_bounds( int n ) const; // check if bit
[all...]
/gem5/src/systemc/ext/dt/int/
H A Dsc_signed.hh26 proxy classes to reference one bit and a range of bits of a
667 // Proxy class for sc_signed bit selection (r-value only).
752 sc_signed *m_obj_p; // Target of this bit selection.
767 // Proxy class for sc_signed bit selection (r-value and l-value).
894 int m_left; // Left-most bit in this part selection.
896 int m_right; // Right-most bit in this part selection.
1087 // bit selection
1116 bit(int i) function in class:sc_dt::sc_signed
1125 bit(int i) const function in class:sc_dt::sc_signed
1141 // bit operato
[all...]
H A Dsc_unsigned.hh26 are proxy classes to reference one bit and a range of bits of a
578 // Proxy class for sc_unsigned bit selection (r-value only).
674 // Proxy class for sc_unsigned bit selection (r-value and l-value).
803 int m_left; // Left-most bit in this part selection.
805 int m_right; // Right-most bit in this part selection.
998 // bit selection
1027 bit(int i) function in class:sc_dt::sc_unsigned
1036 bit(int i) const function in class:sc_dt::sc_unsigned
1051 // bit operator [i], so these two forms are not the same.
1139 bool test(int i) const; // Is the ith bit
[all...]

Completed in 78 milliseconds

12