/qemu/target/ppc/ |
H A D | int_helper.c | 1631 unsigned int shift, bytes, size; in helper_vslv() local 1636 bytes = (a->VsrB(i) << 8) + /* extract adjacent bytes */ in helper_vslv() 1638 r->VsrB(i) = (bytes << shift) >> 8; /* shift and store result */ in helper_vslv() 1645 unsigned int shift, bytes; in helper_vsrv() local 1654 bytes = ((i ? a->VsrB(i - 1) : 0) << 8) + a->VsrB(i); in helper_vsrv() 1656 r->VsrB(i) = (bytes >> shift) & 0xFF; /* shift and store result */ in helper_vsrv()
|
/qemu/target/ppc/translate/ |
H A D | vmx-impl.c.inc | 476 * Create bytes sh:sh+7 of X(from description) and place them in 483 * Create bytes sh+8:sh+15 of X(from description) and place them in 511 * Create bytes (16-sh):(23-sh) of X(from description) and place them in 518 * Create bytes (24-sh):(32-sh) of X(from description) and place them in 2079 * element. E.g. for bytes: 2150 * E.g. for bytes:
|
/qemu/target/riscv/insn_trans/ |
H A D | trans_rvv.c.inc | 624 * As simd_desc supports at most 2048 bytes, and in this implementation, 625 * the max vector group length is 4096 bytes. So split it into two parts. 627 * The first part is vlen in bytes (vlenb), encoded in maxsz of simd_desc. 1156 * MAXSZ returns the maximum vector size can be operated in bytes,
|
/qemu/target/rx/ |
H A D | disas.c | 29 uint8_t bytes[8]; member 39 g_assert(n <= ARRAY_SIZE(ctx->bytes)); in decode_load_bytes() 43 insn |= ctx->bytes[i - 1] << (32 - i * 8); in decode_load_bytes() 58 g_assert(len + 1 <= ARRAY_SIZE(ctx->bytes)); in li() 62 return (int8_t)ctx->bytes[len]; in li() 64 g_assert(len + 2 <= ARRAY_SIZE(ctx->bytes)); in li() 68 return ldsw_le_p(ctx->bytes + len); in li() 74 return (int8_t)ctx->bytes[len + 2] << 16 | lduw_le_p(ctx->bytes + len); in li() 80 return ldl_le_p(ctx->bytes + len); in li() 156 dsp = ctx->bytes[len]; in rx_index_addr() [all …]
|
/qemu/target/s390x/kvm/ |
H A D | kvm.c | 2061 int32_t bytes; in kvm_s390_vcpu_interrupt_pre_save() local 2067 bytes = kvm_vcpu_ioctl(cs, KVM_S390_GET_IRQ_STATE, &irq_state); in kvm_s390_vcpu_interrupt_pre_save() 2068 if (bytes < 0) { in kvm_s390_vcpu_interrupt_pre_save() 2074 cpu->irqstate_saved_size = bytes; in kvm_s390_vcpu_interrupt_pre_save()
|
/qemu/target/s390x/tcg/ |
H A D | translate.c | 235 const uint8_t bytes = 1 << es; in vec_reg_offset() local 236 int offs = enr * bytes; in vec_reg_offset() 262 offs ^= (8 - bytes); in vec_reg_offset()
|
H A D | translate_vx.c.inc | 744 TCGv_i64 bytes; 751 bytes = tcg_temp_new_i64(); 753 /* calculate the number of bytes until the next block boundary */ 754 tcg_gen_ori_i64(bytes, o->addr1, -block_size); 755 tcg_gen_neg_i64(bytes, bytes); 758 gen_helper_vll(tcg_env, a0, o->addr1, bytes);
|
H A D | vec_helper.c | 44 void HELPER(vll)(CPUS390XState *env, void *v1, uint64_t addr, uint64_t bytes) in HELPER() 46 if (likely(bytes >= 16)) { in HELPER() 58 for (i = 0; i < bytes; i++) { in HELPER() 193 uint64_t bytes) in HELPER() 196 probe_write_access(env, addr, MIN(bytes, 16), GETPC()); in HELPER() 198 if (likely(bytes >= 16)) { in HELPER() 205 for (i = 0; i < bytes; i++) { in HELPER()
|
/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 948 /* Test all bytes equal first. */ 956 * Test all bytes 0x00 or 0xff second. This can match cases that
|
/qemu/tcg/arm/ |
H A D | tcg-target.c.inc | 2490 /* Test all bytes equal first. */ 2497 * Test all bytes 0x00 or 0xff second. This can match cases that
|
/qemu/tcg/i386/ |
H A D | tcg-target.c.inc | 1348 * ??? While INC is 2 bytes shorter than ADDL $1, they also induce 1889 This is 6 + 8 = 14 bytes, as compared to using an 1890 immediate load 10 + 6 = 16 bytes, plus we may 3937 * Unpack v1 bytes to words, 0 | x. 3938 * Unpack v2 bytes to words, y | 0. 3940 * Shift logical right by 8 bits to clear the high 8 bytes before
|
/qemu/tcg/loongarch64/ |
H A D | tcg-target.c.inc | 1165 * If address is aligned to 16-bytes, the 128-bit load/store is atomic.
|
/qemu/tcg/ppc/ |
H A D | tcg-target.c.inc | 3919 /* Splat w/bytes for xxspltib when 2.07 allows MO_64. */
|
/qemu/tcg/s390x/ |
H A D | tcg-target.c.inc | 2824 /* Look for all bytes 0x00 or 0xff. */
|
/qemu/tests/avocado/acpi-bits/bits-tests/ |
H A D | smbios.py2 | 2334 s = "SMBIOS -- Raw bytes and structure decode.\n\n" 2339 s += "Raw bytes for the SMBIOS structures\n"
|
H A D | testacpi.py2 | 274 # Checksum the first 20 bytes per ACPI 1.0 276 testsuite.test('ACPI 1.0 table first 20 bytes cumulative checksum must equal 0', csum == 0)
|
/qemu/tests/docker/ |
H A D | docker.py | 59 def _bytes_checksum(bytes): argument 61 return hashlib.sha1(bytes).hexdigest() 578 df_bytes = BytesIO(bytes(df.getvalue(), "UTF-8"))
|
/qemu/tests/multiboot/ |
H A D | modules.out | 12 [102000] Module: 103000 - 103038 (56 bytes) 'module.txt' 19 [102000] Module: 103000 - 103038 (56 bytes) 'module.txt argument' 26 [102000] Module: 103000 - 103038 (56 bytes) 'module.txt argument,with,commas' 33 [102000] Module: 103000 - 103038 (56 bytes) 'module.txt' 35 [102010] Module: 104000 - 104038 (56 bytes) 'module.txt argument' 37 [102020] Module: 105000 - 105038 (56 bytes) 'module.txt'
|
/qemu/tests/qemu-iotests/ |
H A D | 001.out | 5 read 134217728/134217728 bytes at offset 0 9 wrote 134217728/134217728 bytes at offset 0 13 read 134217728/134217728 bytes at offset 0
|
H A D | 002.out | 5 read 134217728/134217728 bytes at offset 0 17 wrote 42/42 bytes at offset 66 19 wrote 288/288 bytes at offset 512 21 wrote 224/224 bytes at offset 800 25 wrote 42/42 bytes at offset 262144 29 read 66/66 bytes at offset 0 31 read 42/42 bytes at offset 66 33 read 404/404 bytes at offset 108 35 read 288/288 bytes at offset 512 37 read 224/224 bytes at offset 800 [all …]
|
H A D | 003.out | 5 read 134217728/134217728 bytes at offset 0 9 wrote 134217728/134217728 bytes at offset 0 13 read 134217728/134217728 bytes at offset 0 17 wrote 57344/57344 bytes at offset 70254592 21 read 57344/57344 bytes at offset 70254592
|
H A D | 004.out | 5 wrote 1048576/1048576 bytes at offset 133169152 24 read 1048576/1048576 bytes at offset 133169152
|
H A D | 005.out | 7 read 4096/4096 bytes at offset 1024 11 wrote 4096/4096 bytes at offset 8192
|
H A D | 008.out | 5 read 134217728/134217728 bytes at offset 0 9 wrote 134217728/134217728 bytes at offset 0 13 read 134217728/134217728 bytes at offset 0
|
H A D | 009.out | 7 wrote 4096/4096 bytes at offset 2097152 9 wrote 4096/4096 bytes at offset 4096 11 wrote 4096/4096 bytes at offset 9437184 13 read 8192/8192 bytes at offset 2093056
|