/qemu/util/ |
H A D | host-utils.c | 100 int sh; in divu128() local 107 sh = clz64(divisor); in divu128() 110 if (sh != 0) { in divu128() 113 dhi = (dhi << sh) | (dlo >> (64 - sh)); in divu128() 114 dlo <<= sh; in divu128() 120 if (sh != 0) { in divu128() 124 dhi = (dhi << sh) | (dlo >> (64 - sh)); in divu128() 125 dlo <<= sh; in divu128() 149 return rem >> sh; in divu128() 343 int sh; in divu256() local [all …]
|
/qemu/target/mips/tcg/ |
H A D | lmmi_helper.c | 33 int16_t sh[4]; member 92 int r = vs.sh[i] + vt.sh[i]; in helper_paddsh() 187 int r = vs.sh[i] - vt.sh[i]; in helper_psubsh() 434 vs.sh[i] = (vs.sh[i] >= vt.sh[i] ? vs.sh[i] : vt.sh[i]); in helper_pmaxsh() 447 vs.sh[i] = (vs.sh[i] <= vt.sh[i] ? vs.sh[i] : vt.sh[i]); in helper_pminsh() 660 vs.sh[i] *= vt.sh[i]; in helper_pmullh() 673 int32_t r = vs.sh[i] * vt.sh[i]; in helper_pmulhh() 701 p0 = vs.sh[0 ^ host] * vt.sh[0 ^ host]; in helper_pmaddhw() 702 p0 += vs.sh[1 ^ host] * vt.sh[1 ^ host]; in helper_pmaddhw() 703 p1 = vs.sh[2 ^ host] * vt.sh[2 ^ host]; in helper_pmaddhw() [all …]
|
/qemu/tests/tcg/mips/user/ase/msa/ |
H A D | README | 12 Helper scripts test_msa_compile.sh and test_msa_run.sh are also 19 ./test_msa_compile.sh 20 ./test_msa_run.sh
|
/qemu/ui/ |
H A D | console-gl.c | 146 float sw, sh; in surface_gl_setup_viewport() local 154 sh = (float)wh/gh; in surface_gl_setup_viewport() 155 if (sw < sh) { in surface_gl_setup_viewport() 156 stripe = wh - wh*sw/sh; in surface_gl_setup_viewport() 159 stripe = ww - ww*sh/sw; in surface_gl_setup_viewport()
|
/qemu/accel/tcg/ |
H A D | tcg-runtime-gvec.c | 784 uint8_t sh = *(uint8_t *)(b + i) & 7; in HELPER() local 796 uint8_t sh = *(uint16_t *)(b + i) & 15; in HELPER() local 808 uint8_t sh = *(uint32_t *)(b + i) & 31; in HELPER() local 820 uint8_t sh = *(uint64_t *)(b + i) & 63; in HELPER() local 832 uint8_t sh = *(uint8_t *)(b + i) & 7; in HELPER() local 844 uint8_t sh = *(uint16_t *)(b + i) & 15; in HELPER() local 856 uint8_t sh = *(uint32_t *)(b + i) & 31; in HELPER() local 868 uint8_t sh = *(uint64_t *)(b + i) & 63; in HELPER() local 880 uint8_t sh = *(uint8_t *)(b + i) & 7; in HELPER() local 928 uint8_t sh = *(uint8_t *)(b + i) & 7; in HELPER() local [all …]
|
H A D | ldst_atomicity.c.inc | 227 int sh = (pi & 3) * 8; 235 return (a << sh) | (b >> (-sh & 31)); 237 return (a >> sh) | (b << (-sh & 31)); 250 int sh = (pi & 7) * 8; 258 return (a << sh) | (b >> (-sh & 63)); 260 return (a >> sh) | (b << (-sh & 63)); 768 int sh = o * 8; 777 m <<= sh; 796 int sh = o * 8; 806 m <<= sh; [all …]
|
/qemu/linux-user/m68k/ |
H A D | meson.build | 2 'm68k': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/linux-user/alpha/ |
H A D | meson.build | 2 'alpha': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/linux-user/sparc/ |
H A D | meson.build | 2 'sparc': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/linux-user/sh4/ |
H A D | meson.build | 2 'sh4': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/linux-user/mips/ |
H A D | meson.build | 2 'mips': generator(sh, 3 … arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@',
|
/qemu/linux-user/microblaze/ |
H A D | meson.build | 2 'microblaze': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/linux-user/xtensa/ |
H A D | meson.build | 2 'xtensa': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/linux-user/mips64/ |
H A D | meson.build | 2 'mips64': generator(sh, 3 … arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@',
|
/qemu/tests/tcg/aarch64/ |
H A D | test-2248.c | 7 long test(long x, long y, long sh) in test() argument 18 : "r"(x), "r"(y), "r"(sh) in test()
|
/qemu/hw/pci-host/ |
H A D | articia.c | 61 uint32_t sh = addr * 8; in articia_gpio_write() local 68 if ((s->gpio & (0xff << sh)) != (val & 0xff) << sh) { in articia_gpio_write() 69 s->gpio &= ~(0xff << sh | 0xff); in articia_gpio_write() 70 s->gpio |= (val & 0xff) << sh; in articia_gpio_write()
|
/qemu/tests/tcg/tricore/c/ |
H A D | crt0-tc2x.S | 171 sh %d2,%d2,-6 #; %d2 = number of CSAs 174 sh %d0,%d0,16 220 sh %d0,%d3,-3 # %d0 = length / 8 (doublewords) 230 sh %d0,%d1,-2 # %d0 = length / 4 (words) 236 sh %d0,%d1,-1 # %d0 = length / 2 (halfwords) 265 sh %d0,%d3,-3 # %d0 = length / 8 (doublewords) 276 sh %d0,%d1,-2 # %d0 = length / 4 (words) 283 sh %d0,%d1,-1 # %d0 = length / 2 (halfwords)
|
/qemu/linux-user/x86_64/ |
H A D | meson.build | 2 'x86_64': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/tests/docker/dockerfiles/ |
H A D | debian-toolchain.docker | 28 ADD build-toolchain.sh /root/build-toolchain.sh 30 RUN cd /root && ./build-toolchain.sh
|
/qemu/linux-user/hppa/ |
H A D | meson.build | 2 'hppa': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/linux-user/i386/ |
H A D | meson.build | 2 'i386': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/linux-user/s390x/ |
H A D | meson.build | 2 's390x': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
/qemu/target/ppc/translate/ |
H A D | vmx-impl.c.inc | 461 * Bytes sh:sh+15 of X are placed into vD. 473 tcg_gen_andi_i64(sh, sh, 0xfULL); 476 * Create bytes sh:sh+7 of X(from description) and place them in 479 tcg_gen_muli_i64(sh, sh, 0x0101010101010101ULL); 483 * Create bytes sh+8:sh+15 of X(from description) and place them in 495 * Bytes (16-sh):(31-sh) of X are placed into vD. 508 tcg_gen_andi_i64(sh, sh, 0xfULL); 514 tcg_gen_muli_i64(sh, sh, 0x0101010101010101ULL); 1776 for (i = 0, sh = a->n - 1; i < 5; i++, sh <<= 1) { 1958 TCGv_i32 sh; [all …]
|
/qemu/target/s390x/tcg/ |
H A D | vec_int_helper.c | 528 uint32_t sh, e0, e1 = 0; in HELPER() local 533 sh = s390_vec_read_element8(v3, i) & 7; in HELPER() 535 s390_vec_write_element8(&tmp, i, rol32(e0 | (e1 << 24), sh)); in HELPER() 551 uint32_t sh, e0, e1 = 0; in HELPER() local 556 sh = s390_vec_read_element8(v3, i) & 7; in HELPER() 557 s390_vec_write_element8(&tmp, i, e0 >> sh); in HELPER() 562 sh = s390_vec_read_element8(v3, i) & 7; in HELPER() 563 s390_vec_write_element8(&tmp, i, (e0 | e1 << 8) >> sh); in HELPER() 579 uint32_t sh, e0, e1 = 0; in HELPER() local 583 sh = s390_vec_read_element8(v3, i) & 7; in HELPER() [all …]
|
/qemu/linux-user/ppc/ |
H A D | meson.build | 2 'ppc': generator(sh, 3 …arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|