Searched refs:byte (Results 1 - 25 of 33) sorted by relevance

12

/gem5/src/base/
H A Dcrc.hh61 uint32_t byte = 0; local
65 byte = data[i];
68 byte = reverseBits(byte);
70 if ((int)(crc ^ byte) < 0) {
75 byte = byte << 1;
H A Dbitfield.hh185 for (auto byte = 0; byte < size; byte++, val = static_cast<T>(val >> 8)) {
/gem5/src/systemc/tests/systemc/tracing/wif_trace/pct1/
H A Dtx.cpp43 void sio_tx::byte (char c) function in class:sio_tx
92 byte((char)0x5a);
93 byte((char)0xff);
95 byte((char)0xab);
H A Dtx.h64 void byte (char byte);
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/
H A Dsb.S85 tdat1: .byte 0xef
86 tdat2: .byte 0xef
87 tdat3: .byte 0xef
88 tdat4: .byte 0xef
89 tdat5: .byte 0xef
90 tdat6: .byte 0xef
91 tdat7: .byte 0xef
92 tdat8: .byte 0xef
93 tdat9: .byte 0xef
94 tdat10: .byte
[all...]
H A Dlb.S87 tdat1: .byte 0xff
88 tdat2: .byte 0x00
89 tdat3: .byte 0xf0
90 tdat4: .byte 0x0f
H A Dlbu.S87 tdat1: .byte 0xff
88 tdat2: .byte 0x00
89 tdat3: .byte 0xf0
90 tdat4: .byte 0x0f
/gem5/src/dev/arm/
H A Damba_device.cc80 int byte = (daddr - AMBA_PER_ID0) << 1; local
83 (amba_id >> byte) & 0xFF,
84 pkt->getAddr() - pio_addr, byte);
86 pkt->setLE<uint32_t>((amba_id >> byte) & 0xFF);
/gem5/util/statetrace/arch/amd64/
H A Dtracechild.cc330 unsigned char byte = buf & 0xFF; local
332 if (!(byte == 0x66 || //operand override
333 byte == 0x67 || //address override
334 byte == 0x2E || //cs
335 byte == 0x3E || //ds
336 byte == 0x26 || //es
337 byte == 0x64 || //fs
338 byte == 0x65 || //gs
339 byte == 0x36 || //ss
340 byte
[all...]
/gem5/tests/test-progs/asmtest/src/riscv/env/v/
H A Dstring.c21 void* memset(void* dest, int byte, size_t len) argument
24 uintptr_t word = byte & 0xFF;
35 *d++ = byte;
/gem5/src/mem/cache/compressors/
H A Dcpack.hh226 * The patterns proposed in the paper. Each letter represents a byte:
227 * Z is a null byte, M is a dictionary match, X is a new value.
476 * A copy of the unmatched byte.
478 const uint8_t byte; member in class:CPack::PatternZZZX
482 : Pattern(ZZZX, 0xD, 4, 1, 0, false), byte(bytes[0]) {}
495 data = {byte, 0, 0, 0};
504 * A copy of the unmatched byte.
506 const uint8_t byte; member in class:CPack::PatternMMMX
511 byte(bytes[0]) {}
525 data = {byte, dict_byte
[all...]
/gem5/src/python/m5/ext/pyfdt/
H A Dpyfdt.py331 for byte in bytez:
332 if not -128 <= byte <= 127:
333 raise Exception(("Invalid value for byte %d, " +
334 "requires -128 <= number <= 127") % byte)
347 ' '.join(["%02x" % (byte & int('ffffffff',16))
348 for byte in self.bytes]) + "];"
358 blob += pack('').join([pack('>b', byte) for byte in self.bytes])
367 result += '", "'.join(["%02x" % byte
368 for byte i
[all...]
/gem5/src/cpu/testers/rubytest/
H A DRubyTester.cc231 for (int byte = 0; byte < data->getSize(); byte++) {
232 DPRINTFR(RubyTest, "%d ", data->getByte(byte));
/gem5/ext/pybind11/tests/
H A Dtest_builtin_casters.py101 byte = bytes if sys.version_info[0] < 3 else str
103 assert m.strlen(byte("hi")) == 2
104 assert m.string_length(byte("world")) == 5
105 assert m.string_length(byte("a\x00b")) == 3
106 assert m.strlen(byte("a\x00b")) == 1 # C-string limitation
/gem5/src/systemc/tests/tlm/bugs/multi_passthrough_sockets_bug/
H A Dmulti_passthrough_sockets_bug.cpp45 unsigned char byte = 0x42; local
51 transaction.set_data_ptr(&byte);
/gem5/util/m5/
H A Dm5op_x86.S71 .byte 0x0F, 0x04; \
/gem5/src/python/m5/util/
H A Dconvert.py204 for byte in bytes:
205 if not 0 <= int(byte) <= 0xff:
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith02/
H A Disaac.h44 typedef unsigned char byte; typedef in class:QTIsaac
205 return (*(UINT32*)((byte*)(mm) + ((x) & ((N-1)<<2))));
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith03/
H A Disaac.h44 typedef unsigned char byte; typedef in class:QTIsaac
205 return (*(UINT32*)((byte*)(mm) + ((x) & ((N-1)<<2))));
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith04/
H A Disaac.h44 typedef unsigned char byte; typedef in class:QTIsaac
205 return (*(UINT32*)((byte*)(mm) + ((x) & ((N-1)<<2))));
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith05/
H A Disaac.h44 typedef unsigned char byte; typedef in class:QTIsaac
205 return (*(UINT32*)((byte*)(mm) + ((x) & ((N-1)<<2))));
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith06/
H A Disaac.h44 typedef unsigned char byte; typedef in class:QTIsaac
205 return (*(UINT32*)((byte*)(mm) + ((x) & ((N-1)<<2))));
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith07/
H A Disaac.h44 typedef unsigned char byte; typedef in class:QTIsaac
205 return (*(UINT32*)((byte*)(mm) + ((x) & ((N-1)<<2))));
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith08/
H A Disaac.h44 typedef unsigned char byte; typedef in class:QTIsaac
205 return (*(UINT32*)((byte*)(mm) + ((x) & ((N-1)<<2))));
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith09/
H A Disaac.h44 typedef unsigned char byte; typedef in class:QTIsaac
205 return (*(UINT32*)((byte*)(mm) + ((x) & ((N-1)<<2))));

Completed in 31 milliseconds

12