/qemu/tests/tcg/s390x/ |
H A D | vfminmax.c | 55 …/* -inf -Fn -0 +0 +Fn +inf QNaN … 56 …{/* -inf */ "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", … 57 …{/* -Fn */ "T(b)", "T(M(a,b))", "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", … 58 …{/* -0 */ "T(b)", "T(b)", "T(a)", "T(a)", "T(a)", "T(a)", "T(a)", … 59 …{/* +0 */ "T(b)", "T(b)", "T(b)", "T(a)", "T(a)", "T(a)", "T(a)", … 60 …{/* +Fn */ "T(b)", "T(b)", "T(b)", "T(b)", "T(M(a,b))", "T(a)", "T(a)", … 61 …{/* +inf */ "T(b)", "T(b)", "T(b)", "T(b)", "T(b)", "T(a)", "T(a)", … 62 …{/* QNaN */ "T(b)", "T(b)", "T(b)", "T(b)", "T(b)", "T(b)", "T(a)", … 63 …{/* SNaN */ "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a*)", "Xi: T(a… 71 …/* -inf -Fn -0 +0 +Fn +inf QNaN … [all …]
|
H A D | fma.c | 2 * Test floating-point multiply-and-add instructions. 4 * SPDX-License-Identifier: GPL-2.0-or-later 24 …/* -inf -Fn -0 +0 +Fn +inf Q… 25 …{/* -inf */ "P(+inf)", "P(+inf)", "Xi: T(dNaN)", "Xi: T(dNaN)", "P(-inf)", "P(-inf)", … 26 …{/* -Fn */ "P(+inf)", "P(a*b)", "P(+0)", "P(-0)", "P(a*b)", "P(-inf)", … 27 …{/* -0 */ "Xi: T(dNaN)", "P(+0)", "P(+0)", "P(-0)", "P(-0)", "Xi: T(dNaN)", … 28 …{/* +0 */ "Xi: T(dNaN)", "P(-0)", "P(-0)", "P(+0)", "P(+0)", "Xi: T(dNaN)", … 29 …{/* +Fn */ "P(-inf)", "P(a*b)", "P(-0)", "P(+0)", "P(a*b)", "P(+inf)", … 30 …{/* +inf */ "P(-inf)", "P(-inf)", "Xi: T(dNaN)", "Xi: T(dNaN)", "P(+inf)", "P(+inf)", … 31 … "P(a)", "P(a)", "P(a)", "P(a)", "P(a)", "P(a)", "Xi: T(b*)"}, [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 153.out | 2 == readonly=off,force-share=on should be rejected == 3 QEMU_PROG: -drive if=none,file=null-co://,readonly=off,force-share=on: force-share=on can only be u… 6 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432 9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base backin… 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,: Failed to get "write" lock 15 Is another process using the image [TEST_DIR/t.qcow2]? 17 == Launching another QEMU, opts: 'read-only=on' == 18 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,read-only=on: Failed to get shared "write" lock 19 Is another process using the image [TEST_DIR/t.qcow2]? 21 == Launching another QEMU, opts: 'read-only=on,force-share=on' == [all …]
|
H A D | 049.out | 6 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1024 7 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 9 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1024b 10 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 12 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1k 13 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 15 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1K 16 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 18 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1M 19 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… [all …]
|
H A D | 059.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 5 qemu-io: can't open device TEST_DIR/t.vmdk: Invalid granularity, image may be corrupt 8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 9 qemu-io: can't open device TEST_DIR/t.vmdk: L2 table size too big 12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 13 qemu-io: can't open device TEST_DIR/t.vmdk: L1 size too big 16 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648 17 image: TEST_DIR/t.IMGFMT 22 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648 23 qemu-img: TEST_DIR/t.IMGFMT: Flat image can't enable zeroed grain [all …]
|
H A D | 051.out | 2 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 3 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backi… 7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0 8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '… 10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0 11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format… 13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form… 16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0 17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma… [all …]
|
H A D | 232.out | 2 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 4 === -drive with read-write image: read-only/auto-read-only combinations === 6 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only) 7 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only) 8 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only) 10 NODE_NAME: TEST_DIR/t.IMGFMT (file) 11 NODE_NAME: TEST_DIR/t.IMGFMT (file) 12 NODE_NAME: TEST_DIR/t.IMGFMT (file) 14 NODE_NAME: TEST_DIR/t.IMGFMT (file) 15 NODE_NAME: TEST_DIR/t.IMGFMT (file) [all …]
|
H A D | 051.pc.out | 2 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 3 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backi… 7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0 8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '… 10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0 11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format… 13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form… 16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0 17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma… [all …]
|
H A D | 080.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 5 qemu-io: can't open device TEST_DIR/t.qcow2: qcow2 header exceeds cluster size 6 qemu-io: can't open device TEST_DIR/t.qcow2: qcow2 header exceeds cluster size 9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 10 qemu-io: can't open device TEST_DIR/t.qcow2: Invalid backing file offset 11 qemu-io: can't open device TEST_DIR/t.qcow2: Header extension too large 12 qemu-io: can't open device TEST_DIR/t.qcow2: Header extension too large 15 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 16 qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table too large 17 qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table too large [all …]
|
H A D | 043.out | 2 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 5 qemu-img: Backing file 'TEST_DIR/t.IMGFMT' creates an infinite loop. 6 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backi… 10 qemu-img: Backing file 'TEST_DIR/t.IMGFMT' creates an infinite loop. 11 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.1.base bac… 13 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.2.base bac… 14 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.3.base bac… 17 qemu-img: Backing file 'TEST_DIR/t.IMGFMT.2.base' creates an infinite loop. [all …]
|
H A D | 092.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 5 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 6 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 7 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 8 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 11 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 12 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 13 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 14 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 15 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k [all …]
|
H A D | 191.out | 5 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 6 Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base ba… 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing… 8 Formatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid ba… 19 { 'execute': 'block-commit', 20 'arguments': { 'job-id': 'commit0', 22 'base':'TEST_DIR/t.IMGFMT.base', 23 'top': 'TEST_DIR/t.IMGFMT.mid' } } 111 { 'execute': 'query-named-block-nodes' } 119 "backing-image": { [all …]
|
/qemu/pc-bios/ |
HD | openbios-ppc | ... X 4| o u * o *| *T }* *, * ' - o + -P ... |
HD | openbios-sparc32 | ... go up, hit trampoline) ] image 0 state-valid ! Can't read a.out header Not |
/qemu/host/include/i386/host/crypto/ |
H A D | aes-round.h | 3 * SPDX-License-Identifier: GPL-2.0-or-later 30 __m128i t = (__m128i)st->v; in aesenc_MC_accel() local 34 t = aes_accel_bswap(t); in aesenc_MC_accel() 35 t = _mm_aesdeclast_si128(t, z); in aesenc_MC_accel() 36 t = _mm_aesenc_si128(t, z); in aesenc_MC_accel() 37 t = aes_accel_bswap(t); in aesenc_MC_accel() 39 t = _mm_aesdeclast_si128(t, z); in aesenc_MC_accel() 40 t = _mm_aesenc_si128(t, z); in aesenc_MC_accel() 42 ret->v = (AESStateVec)t; in aesenc_MC_accel() 49 __m128i t = (__m128i)st->v; in aesenc_SB_SR_AK_accel() local [all …]
|
/qemu/host/include/aarch64/host/crypto/ |
H A D | aes-round.h | 3 * SPDX-License-Identifier: GPL-2.0-or-later 39 asm(".arch_extension aes\n\t" in aes_accel_aesd() 46 asm(".arch_extension aes\n\t" in aes_accel_aese() 53 asm(".arch_extension aes\n\t" in aes_accel_aesmc() 60 asm(".arch_extension aes\n\t" in aes_accel_aesimc() 68 asm(".arch_extension aes\n\t" in aes_accel_aesd_imc() 69 "aesd %0.16b, %1.16b\n\t" in aes_accel_aesd_imc() 77 asm(".arch_extension aes\n\t" in aes_accel_aese_mc() 78 "aese %0.16b, %1.16b\n\t" in aes_accel_aese_mc() 87 uint8x16_t t = (uint8x16_t)st->v; in aesenc_MC_accel() local [all …]
|
/qemu/linux-user/alpha/ |
H A D | target_proc.h | 2 * Alpha specific proc functions for linux-user 4 * SPDX-License-Identifier: GPL-2.0-or-later 16 int t; in open_cpuinfo() local 18 p = object_class_get_name(OBJECT_CLASS(env_cpu(cpu_env)->cc)); in open_cpuinfo() 19 q = strchr(p, '-'); in open_cpuinfo() 20 t = q - p; in open_cpuinfo() 21 assert(t < sizeof(model)); in open_cpuinfo() 22 memcpy(model, p, t); in open_cpuinfo() 23 model[t] = 0; in open_cpuinfo() 25 t = sched_getaffinity(getpid(), sizeof(cpu_mask), (cpu_set_t *)&cpu_mask); in open_cpuinfo() [all …]
|
/qemu/scripts/coccinelle/ |
H A D | use-g_new-etc.cocci | 3 type T; 5 -g_malloc(sizeof(T)) 6 +g_new(T, 1) 8 type T; 10 -g_try_malloc(sizeof(T)) 11 +g_try_new(T, 1) 13 type T; 15 -g_malloc0(sizeof(T)) 16 +g_new0(T, 1) 18 type T; [all …]
|
/qemu/hw/char/ |
H A D | terminal3270.c | 10 * your option) any later version. See the COPYING file in the top-level 17 #include "chardev/char-fe.h" 18 #include "hw/qdev-properties.h" 19 #include "hw/qdev-properties-system.h" 20 #include "hw/s390x/3270-ccw.h" 42 #define TYPE_TERMINAL_3270 "x-terminal3270" 48 Terminal3270 *t = opaque; in DECLARE_INSTANCE_CHECKER() local 50 return INPUT_BUFFER_SIZE - t->in_len; in DECLARE_INSTANCE_CHECKER() 53 static void terminal_timer_cancel(Terminal3270 *t) in terminal_timer_cancel() argument 55 if (t->timer_tag) { in terminal_timer_cancel() [all …]
|
/qemu/hw/timer/ |
H A D | npcm7xx_timer.c | 20 #include "hw/qdev-clock.h" 21 #include "hw/qdev-properties.h" 25 #include "qemu/error-report.h" 32 /* 32-bit register indices. */ 81 static void npcm7xx_timer_start(NPCM7xxBaseTimer *t) in npcm7xx_timer_start() argument 86 t->expires_ns = now + t->remaining_ns; in npcm7xx_timer_start() 87 timer_mod(&t->qtimer, t->expires_ns); in npcm7xx_timer_start() 91 static void npcm7xx_timer_pause(NPCM7xxBaseTimer *t) in npcm7xx_timer_pause() argument 95 timer_del(&t->qtimer); in npcm7xx_timer_pause() 97 t->remaining_ns = t->expires_ns - now; in npcm7xx_timer_pause() [all …]
|
H A D | aspeed_timer.c | 9 * the COPYING file in the top-level directory. 22 #include "hw/qdev-properties.h" 28 #define TIMER_CTRL_MASK ((1 << TIMER_CTRL_BITS) - 1) 62 static inline AspeedTimerCtrlState *timer_to_ctrl(AspeedTimer *t) in timer_to_ctrl() argument 64 const AspeedTimer (*timers)[] = (void *)t - (t->id * sizeof(*t)); in timer_to_ctrl() 68 static inline bool timer_ctrl_status(AspeedTimer *t, enum timer_ctrl_op op) in timer_ctrl_status() argument 70 return !!(timer_to_ctrl(t)->ctrl & BIT(t->id * TIMER_CTRL_BITS + op)); in timer_ctrl_status() 73 static inline bool timer_enabled(AspeedTimer *t) in timer_enabled() argument 75 return timer_ctrl_status(t, op_enable); in timer_enabled() 78 static inline bool timer_overflow_interrupt(AspeedTimer *t) in timer_overflow_interrupt() argument [all …]
|
H A D | slavio_timer.c | 4 * Copyright (c) 2003-2005 Fabrice Bellard 29 #include "hw/qdev-properties.h" 41 * http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR89C105.txt 43 * The 31-bit counter is incremented every 500ns by bit 9. Bits 8..0 46 * Per-CPU timers interrupt local CPU, system timer uses normal 94 #define LIMIT_TO_PERIODS(l) (((l) >> 9) - 1) 99 SLAVIO_TIMERState *s = tc->s; in slavio_timer_is_user() 100 unsigned int timer_index = tc->timer_index; in slavio_timer_is_user() 102 return timer_index != 0 && (s->cputimer_mode & (1 << (timer_index - 1))); in slavio_timer_is_user() 107 static void slavio_timer_get_out(CPUTimerState *t) in slavio_timer_get_out() argument [all …]
|
/qemu/host/include/loongarch64/host/ |
H A D | bufferiszero.c.inc | 2 * SPDX-License-Identifier: GPL-2.0-or-later 16 const void *e = QEMU_ALIGN_PTR_DOWN(buf + len - 1, 16) - (7 * 16); 20 asm("vld $vr0,%2,0\n\t" /* first: buf + 0 */ 21 "vld $vr1,%4,-16\n\t" /* last: buf + len - 16 */ 22 "vld $vr2,%3,0\n\t" /* e[0] */ 23 "vld $vr3,%3,16\n\t" /* e[1] */ 24 "vld $vr4,%3,32\n\t" /* e[2] */ 25 "vld $vr5,%3,48\n\t" /* e[3] */ 26 "vld $vr6,%3,64\n\t" /* e[4] */ 27 "vld $vr7,%3,80\n\t" /* e[5] */ [all …]
|
/qemu/target/arm/tcg/ |
H A D | cpu64.c | 18 * <http://www.gnu.org/licenses/gpl-2.0.html> 26 #include "hw/qdev-properties.h" 29 #include "cpu-features.h" 36 cpu->dtb_compatible = "arm,cortex-a35"; in aarch64_a35_initfn() 37 set_feature(&cpu->env, ARM_FEATURE_V8); in aarch64_a35_initfn() 38 set_feature(&cpu->env, ARM_FEATURE_NEON); in aarch64_a35_initfn() 39 set_feature(&cpu->env, ARM_FEATURE_GENERIC_TIMER); in aarch64_a35_initfn() 40 set_feature(&cpu->env, ARM_FEATURE_BACKCOMPAT_CNTFRQ); in aarch64_a35_initfn() 41 set_feature(&cpu->env, ARM_FEATURE_AARCH64); in aarch64_a35_initfn() 42 set_feature(&cpu->env, ARM_FEATURE_CBAR_RO); in aarch64_a35_initfn() [all …]
|
/qemu/tests/tcg/i386/ |
H A D | test-mmx.c | 7 #define TEST_FILE "test-mmx.h" 55 name, n, r->q1, r->q0); in dump_xmm() 69 dump_mmx(i, &s->mm[i], ff); in dump_regs() 72 dump_xmm("mem", i, &s->mem0[i], 0); in dump_regs() 80 if (a->mm[i] != b->mm[i]) { in compare_state() 81 printf("MM%d = %016lx\n", i, b->mm[i]); in compare_state() 85 if (a->r[i] != b->r[i]) { in compare_state() 86 printf("r%d = %016lx\n", i, b->r[i]); in compare_state() 90 if (memcmp(&a->xmm[i], &b->xmm[i], 8)) { in compare_state() 91 dump_xmm("xmm", i, &b->xmm[i], a->ff); in compare_state() [all …]
|