Searched refs:word (Results 1 - 25 of 35) sorted by relevance

12

/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64uf/
H A Dldst.S29 .word 0xbf800000
30 .word 0x40000000
31 .word 0x40400000
32 .word 0xc0800000
33 .word 0xdeadbeef
34 .word 0xcafebabe
35 .word 0xabad1dea
36 .word 0x1337d00d
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ud/
H A Dldst.S33 .word 0xbf800000
34 .word 0x40000000
35 .word 0x40400000
36 .word 0xc0800000
37 .word 0xdeadbeef
38 .word 0xcafebabe
39 .word 0xabad1dea
40 .word 0x1337d00d
H A Dfcvt_w.S103 .word 0xffffffff
104 .word 0x7fffffff
105 .word 0xff800000
106 .word 0x7f800000
/gem5/src/base/
H A Dpixel.cc77 uint32_t word(0);
81 word |= p[i] << (8 * i);
84 word |= p[i] << (8 * (length - i - 1));
87 return word;
91 PixelConverter::writeWord(uint8_t *p, uint32_t word) const
95 p[i] = (word >> (8 * i)) & 0xFF;
98 p[i] = (word >> (8 * (length - i - 1))) & 0xFF;
H A Dpixel.hh84 * stored in a word of configurable length (up to 32 bits). Individual
86 * the word (i.e., it is possible to shift and mask out a contiguous
106 uint8_t toPixel(uint32_t word) const {
107 return round(((word >> offset) & mask) * factor);
134 /** Get the Pixel representation of a color word. */
135 Pixel toPixel(uint32_t word) const {
136 return Pixel(ch_r.toPixel(word),
137 ch_g.toPixel(word),
138 ch_b.toPixel(word));
141 /** Get a Pixel representation by reading a word fro
[all...]
/gem5/tests/test-progs/asmtest/src/riscv/env/v/
H A Dstring.c24 uintptr_t word = byte & 0xFF; local
25 word |= word << 8;
26 word |= word << 16;
27 word |= word << 16 << 16;
31 *d++ = word;
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/
H A Dsw.S81 tdat1: .word 0xdeadbeef
82 tdat2: .word 0xdeadbeef
83 tdat3: .word 0xdeadbeef
84 tdat4: .word 0xdeadbeef
85 tdat5: .word 0xdeadbeef
86 tdat6: .word 0xdeadbeef
87 tdat7: .word 0xdeadbeef
88 tdat8: .word 0xdeadbeef
89 tdat9: .word 0xdeadbeef
90 tdat10: .word
[all...]
H A Dlw.S87 tdat1: .word 0x00ff00ff
88 tdat2: .word 0xff00ff00
89 tdat3: .word 0x0ff00ff0
90 tdat4: .word 0xf00ff00f
H A Dlwu.S87 tdat1: .word 0x00ff00ff
88 tdat2: .word 0xff00ff00
89 tdat3: .word 0x0ff00ff0
90 tdat4: .word 0xf00ff00f
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_mant.cpp56 // word memory management
73 if ( index != 0 && ( sizeof(word_list) != sizeof(word) ) )
82 word*
104 word* result = (word*)slot;
110 scfx_mant::free_word( word* array, std::size_t size )
H A Dscfx_mant.h68 typedef unsigned int word; // Using int because of 64-bit machines. typedef in namespace:sc_dt
81 word* m_array;
99 word operator [] ( int ) const;
100 word& operator [] ( int );
109 static word* alloc( std::size_t );
110 static void free( word*, std::size_t );
112 static word* alloc_word( std::size_t size );
113 static void free_word( word* array, std::size_t size );
129 word*
141 scfx_mant::free( word* man
[all...]
H A Dscfx_rep.h111 const int bits_in_word = sizeof(word) * CHAR_BIT;
299 int m_wp; // index of highest order word in value.
302 int m_msw; // index of most significant non-zero word.
303 int m_lsw; // index of least significant non-zero word.
528 SC_ASSERT_( wi >= 0 && wi < size(), "word index out of range" );
530 if( enc == SC_US_ || ( m_mant[wi] & ( ((word)1) << bi ) ) == 0 )
533 m_mant[wi] &= ~( ((word)-1) << ( bi + 1 ) );
541 m_mant[wi] |= ( ((word)-1) << ( bi + 1 ) );
543 m_mant[i] = static_cast<word>( -1 );
555 SC_ASSERT_( wi >= 0 && wi < size(), "word inde
[all...]
/gem5/src/systemc/dt/fx/
H A Dscfx_mant.cc55 // word memory management
73 if (index != 0 && (sizeof(word_list) != sizeof(word))) {
81 word *
100 word *result = (word *)slot;
106 scfx_mant::free_word(word *array, std::size_t size)
/gem5/ext/systemc/src/sysc/qt/md/
H A Dksr1_b.s31 .word b_call_reg$TXT
32 .word qt_error
33 .word qt_error$TXT
H A Dvax_b.s21 .word 0x0
25 .word 0x0
41 .word 0x0
56 .word 0x0
76 .word 0x0
H A Dvax.s35 .word 0x7c0 /* Callee-save mask: 5 registers. */
/gem5/src/systemc/ext/dt/fx/
H A Dscfx_mant.hh66 typedef unsigned int word; // Using int because of 64-bit machines. typedef in namespace:sc_dt
77 word *m_array;
94 word operator [] (int) const;
95 word &operator [] (int);
103 static word *alloc(std::size_t);
104 static void free(word *, std::size_t);
106 static word *alloc_word(std::size_t size);
107 static void free_word(word *array, std::size_t size);
115 inline word *
126 scfx_mant::free(word *man
[all...]
H A Dscfx_rep.hh108 const int bits_in_word = sizeof(word) * CHAR_BIT;
277 int m_wp; // index of highest order word in value.
280 int m_msw; // index of most significant non-zero word.
281 int m_lsw; // index of least significant non-zero word.
445 SC_ASSERT_(wi >= 0 && wi < size(), "word index out of range");
447 if (enc == SC_US_ || (m_mant[wi] & (((word)1) << bi)) == 0) {
449 m_mant[wi] &= ~(((word)-1) << (bi + 1));
455 m_mant[wi] |= (((word)-1) << (bi + 1));
457 m_mant[i] = static_cast<word>(-1);
468 SC_ASSERT_(wi >= 0 && wi < size(), "word inde
[all...]
/gem5/src/arch/arm/
H A Ddecoder.cc94 uint16_t word = (data >> (offset * 8)); local
97 emi.instBits = emi.instBits | word;
103 uint16_t highBits = word & 0xF800;
115 // We only have the first half word.
118 emi.instBits = (uint32_t)word << 16;
127 emi.instBits = word;
132 if (bits(word, 15, 8) == 0xbf &&
133 bits(word, 3, 0) != 0x0) {
135 itBits = bits(word, 7, 0);
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64mi/
H A Dma_addr.S117 .word 0xaabbccdd
118 .word 0x66778899
119 .word 0x22334455
120 .word 0xeeffee11
H A Dillegal.S21 .word 0
63 .word 0
75 .word 0
95 .word 0
134 # Make sure mtval contains either 0 or the instruction word.
/gem5/util/systemc/systemc_within_gem5/systemc_sc_main/
H A Dconfig.py43 parser.add_argument('--word', action="append", default=[],
44 help='Add a word to the list of words to print. Can be repeated.')
55 m5.systemc.sc_main(*args.word);
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ua/
H A Dlrsc.S82 coreid: .word 0
83 barrier: .word 0
84 foo: .word 0
/gem5/util/systemc/systemc_within_gem5/systemc_simple_object/
H A Dconfig.py39 parser.add_argument('--word', action="append", default=[])
51 feeder.strings = args.word
/gem5/src/mem/cache/compressors/
H A Dcpack.cc87 // Search for word on dictionary
122 // Compress every word sequentially
175 // Return word
190 const uint32_t word = decompressWord(&*entry); local
191 decomp_words.push_back(word);
194 DPRINTF(CacheComp, "Decompressed %s to %x\n", entry->print(), word);

Completed in 24 milliseconds

12