/qemu/tests/tcg/xtensa/ |
H A D | test_lsc.S | 22 assert eq, a2, a3 25 assert eq, a2, a3 28 assert eq, a2, a3 31 assert eq, a2, a3 56 assert eq, a2, a3 57 l32i a4, a2, -8 59 assert eq, a4, a3 60 l32i a4, a2, -4 62 assert eq, a4, a3 65 assert eq, a4, a3 [all …]
|
H A D | test_mmu.S | 55 assert eq, a1, a3 56 assert eq, a2, a3 61 assert eq, a1, a3 62 assert eq, a2, a3 67 assert eq, a1, a3 69 assert eq, a2, a3 92 assert eq, a2, a3 95 assert eq, a2, a3 106 assert eq, a2, a3 109 assert eq, a2, a3 [all …]
|
H A D | test_windowed.S | 38 assert eq, a2, a3 44 assert eq, a2, a3 47 assert eq, a2, a3 55 assert eq, a2, a3 58 assert eq, a2, a3 63 overflow_test \shift, \window, %((\shift) - 1), \probe 102 assert eq, a2, a3 108 assert eq, a2, a3 110 movi a3, (XCHAL_NUM_AREGS - (\window)) / 4 111 assert eq, a2, a3 [all …]
|
H A D | test_mac16.S | 13 assert eq, a4, a5 17 assert eq, a4, a5 110 test_mulxxx muls.aa, 0, a2, a3, 0xf7315a5a, 0xa5a5137f, 0x0ff73155aa, - 114 test_mulxxx muls.ad, 1, a2, m2, 0xf7315a5a, 0xa5a5137f, 0x0ff73155aa, - 118 test_mulxxx muls.da, 2, m1, a3, 0xf7315a5a, 0xa5a5137f, 0xfff73155aa, - 122 test_mulxxx muls.dd, 3, m0, m3, 0xf7315a5a, 0xa5a5137f, 0xfff73155aa, - 126 movi a2, 1f - 4 129 assert eq, a2, a3 132 assert eq, a3, a4 135 assert eq, a2, a3 [all …]
|
H A D | test_break.S | 17 rsil a2, debug_level - 1 26 assert eq, a2, a3 29 assert eq, a2, a3 32 assert eq, a2, a3 41 rsil a2, debug_level - 1 50 assert eq, a2, a3 53 assert eq, a2, a3 56 assert eq, a2, a3 69 rsil a2, debug_level - 1 89 assert eq, a2, a3 [all …]
|
H A D | test_load_store.S | 19 assert eq, a5, a6 44 assert eq, a5, a6 50 assert eq, a6, a7 53 assert eq, a6, a7 55 assert eq, a6, a3 56 assert eq, a5, a4 75 assert eq, a5, a6 97 assert eq, a5, a6 98 movi a3, 1b - 1 101 assert eq, a5, a6 [all …]
|
H A D | test_sar.S | 30 assert eq, a2, a3 45 assert eq, a2, a3 59 movi a2, 32 - (\imm & 0x1f) 60 assert eq, a2, a3 75 assert eq, a2, a3 89 movi a2, 32 - ((\imm & 0x3) << 3) 90 assert eq, a2, a3 104 assert eq, a2, a3
|
H A D | test_interrupt.S | 3 #define LSBIT(v) ((v) & -(v)) 70 assert eqi, a2, 0x10 /* only EXCM is set for level-1 interrupt */ 81 assert eq, a2, a3 102 assert eq, a2, a3 124 assert eq, a2, a3 143 assert eq, a2, a3 162 assert eq, a2, a3 181 assert eq, a2, a3 214 assert eq, a2, a3 /* EXCM and INTMASK are set 215 for high-priority interrupt */ [all …]
|
H A D | test_shift.S | 40 assert eq, a2, a3 57 ~((((\v) & 0x80000000) >> ((\imm) - 1)) - 1) 61 assert eq, a2, a3 78 assert eq, a2, a3 95 movi a2, 32 - \imm 198 assert eq, a2, a3
|
H A D | test_cache.S | 20 movi a3, 0xd8000000 /* non-cacheable */ 52 assert eq, a2, a3 54 assert eq, a2, a4 57 assert eq, a2, a3
|
/qemu/scripts/ |
H A D | get_maintainer.pl | 9 # perl scripts/get_maintainer.pl [OPTIONS] -f <file> 36 my $email_git_since = "1-year-ago"; 37 my $email_hg_since = "-365"; 68 push(@signature_tags, "Signed-off-by:"); 69 push(@signature_tags, "Reviewed-by:"); 70 push(@signature_tags, "Acked-by:"); 74 # rfc822 email address - preloaded methods go here. 76 my $rfc822_char = '[\\000-\\377]'; 78 # VCS command support: class-like functions and strings 84 "available" => '(which("git") ne "") && (-e ".git")', [all …]
|
H A D | kernel-doc | 2 # SPDX-License-Identifier: GPL-2.0-only 10 ## Copyright (C) 2005-2012 Randy Dunlap ## 19 # 18/01/2001 - Cleanups 22 # -- huggie@earth.li 24 # 27/06/2001 - Allowed whitespace after initial "/**" and 26 # -- Christian Kreibich <ck@whoop.org> 29 # - add perldoc documentation 30 # - Look more closely at some of the scarier bits :) 32 # 26/05/2001 - Support for separate source and object trees. 36 # 23/09/2001 - Added support for typedefs, structs, enums and unions [all …]
|
H A D | checkpatch.pl | 5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 49 $P [OPTION]... [GIT-REV-LIST] 54 -q, --quiet quiet 55 --no-tree run without a qemu tree 56 --no-signoff do not check for 'Signed-off-by' line 57 --patch treat FILE as patchfile 58 --branch treat args as GIT revision list 59 --emacs emacs compile window format 60 --terse one line per report 61 -f, --file treat FILE as regular source file [all …]
|
H A D | clean-includes | 1 #!/bin/sh -e 14 # the top-level directory. 17 # clean-includes [--git subjectprefix] [--check-dup-head] file ... 19 # clean-includes [--git subjectprefix] [--check-dup-head] --all 21 # If the --git subjectprefix option is given, then after making 26 # If --check-dup-head is specified, additionally check for duplicate 29 # Using --all will cause clean-includes to run on the whole source 41 # The following one-liner may be handy for finding files to run this on. 45 # for i in $(git ls-tree --name-only HEAD) ; do test -f $i && \ 46 # grep -E '^# *include' $i | head -1 | grep 'osdep.h' ; test $? != 0 && \ [all …]
|
/qemu/tests/rocker/ |
H A D | all | 3 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 7 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 10 ./bridge-stp 11 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 14 ./bridge-vlan 15 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 18 ./bridge-vlan-stp 19 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi
|
/qemu/tests/tcg/hexagon/ |
H A D | misc.c | 2 * Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights Reserved. 81 asm volatile("p0 = cmp.eq(%0, #1)\n\t" in S4_storeirbt_io() 89 asm volatile("p0 = cmp.eq(%0, #1)\n\t" in S4_storeirbf_io() 98 " p0 = cmp.eq(%0, #1)\n\t" in S4_storeirbtnew_io() 108 " p0 = cmp.eq(%0, #1)\n\t" in S4_storeirbfnew_io() 117 asm volatile("p0 = cmp.eq(%0, #1)\n\t" in S4_storeirht_io() 125 asm volatile("p0 = cmp.eq(%0, #1)\n\t" in S4_storeirhf_io() 134 " p0 = cmp.eq(%0, #1)\n\t" in S4_storeirhtnew_io() 144 " p0 = cmp.eq(%0, #1)\n\t" in S4_storeirhfnew_io() 153 asm volatile("p0 = cmp.eq(%0, #1)\n\t" in S4_storeirit_io() [all …]
|
H A D | test_vspliceb.S | 12 r0 = #-1 13 r1 = #-1 23 p0 = cmp.eq(r4, #-1); if (p0.new) jump:t test2 29 p0 = cmp.eq(r5, #255); if (p0.new) jump:t pass
|
H A D | test_lsr.S | 8 r0 = #-56984 18 p0 = cmp.eq(r0, #0x28); if (p0.new) jump:t test2 28 r2 = #-1 34 p0 = cmp.eq(r0, #0x5); if (p0.new) jump:t pass
|
/qemu/hw/ppc/ |
H A D | pnv_core.c | 32 #include "hw/qdev-properties.h" 38 int len = strlen(core_type) - strlen(PNV_CORE_TYPE_SUFFIX); in pnv_core_cpu_typename() 48 CPUPPCState *env = &cpu->env; in pnv_core_cpu_reset() 49 PnvChipClass *pcc = PNV_CHIP_GET_CLASS(pc->chip); in pnv_core_cpu_reset() 57 env->gpr[3] = PNV_FDT_ADDR; in pnv_core_cpu_reset() 58 env->nip = 0x10; in pnv_core_cpu_reset() 59 env->msr |= MSR_HVB; /* Hypervisor mode */ in pnv_core_cpu_reset() 60 env->spr[SPR_HRMOR] = pc->hrmor; in pnv_core_cpu_reset() 61 if (pc->big_core) { in pnv_core_cpu_reset() 63 env->spr[SPR_PVR] &= ~PPC_BIT(51); in pnv_core_cpu_reset() [all …]
|
H A D | pnv_n1_chiplet.c | 6 * SPDX-License-Identifier: GPL-2.0-or-later 11 #include "hw/qdev-properties.h" 38 val = n1_chiplet->eq[0].hp_mode2_curr; in pnv_n1_chiplet_pb_scom_eq_read() 55 n1_chiplet->eq[0].hp_mode2_curr = val; in pnv_n1_chiplet_pb_scom_eq_write() 82 val = n1_chiplet->es[3].mode; in pnv_n1_chiplet_pb_scom_es_read() 99 n1_chiplet->es[3].mode = val; in pnv_n1_chiplet_pb_scom_es_write() 122 if (!qdev_realize(DEVICE(&n1_chiplet->nest_pervasive), NULL, errp)) { in pnv_n1_chiplet_realize() 126 /* Nest1 chiplet power bus EQ xscom region */ in pnv_n1_chiplet_realize() 127 pnv_xscom_region_init(&n1_chiplet->xscom_pb_eq_mr, OBJECT(n1_chiplet), in pnv_n1_chiplet_realize() 129 "xscom-n1-chiplet-pb-scom-eq", in pnv_n1_chiplet_realize() [all …]
|
/qemu/target/hexagon/imported/ |
H A D | compare.idef | 2 * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. 28 Q6INSN(C2_cmpeq,"Pd4=cmp.eq(Rs32,Rt32)",ATTRIBS(), 40 Q6INSN(C2_cmpeqp,"Pd4=cmp.eq(Rss32,Rtt32)",ATTRIBS(), 60 Q6INSN(A4_rcmpeqi,"Rd32=cmp.eq(Rs32,#s8)",ATTRIBS(), 64 Q6INSN(A4_rcmpneqi,"Rd32=!cmp.eq(Rs32,#s8)",ATTRIBS(), 69 Q6INSN(A4_rcmpeq,"Rd32=cmp.eq(Rs32,Rt32)",ATTRIBS(), 73 Q6INSN(A4_rcmpneq,"Rd32=!cmp.eq(Rs32,Rt32)",ATTRIBS(), 107 Q6INSN(C2_cmpeqi,"Pd4=cmp.eq(Rs32,#s10)",ATTRIBS(), 130 Q6INSN(C4_cmpneqi,"Pd4=!cmp.eq(Rs32,#s10)",ATTRIBS(), "Compare for Not Equal", {fIMMEXT(siV); PdV=f… 134 Q6INSN(C4_cmpneq,"Pd4=!cmp.eq(Rs32,Rt32)",ATTRIBS(), "And-Compare for Equal", {PdV=f8BITSOF(RsV!=Rt… [all …]
|
/qemu/hw/intc/ |
H A D | spapr_xive.c | 4 * Copyright (c) 2017-2024, IBM Corporation. 6 * SPDX-License-Identifier: GPL-2.0-or-later 13 #include "qemu/error-report.h" 24 #include "hw/qdev-properties.h" 51 return nvt_idx - SPAPR_XIVE_NVT_BASE; in spapr_xive_nvt_to_target() 64 *out_nvt_idx = SPAPR_XIVE_NVT_BASE + cpu->vcpu_id; in spapr_xive_cpu_to_nvt() 74 return -1; in spapr_xive_target_to_nvt() 111 *out_end_idx = (cpu->vcpu_id << 3) + prio; in spapr_xive_cpu_to_end() 121 return -1; in spapr_xive_target_to_end() 130 * structure dumping only the information related to the OS EQ. [all …]
|
H A D | spapr_xive_kvm.c | 4 * Copyright (c) 2017-2019, IBM Corporation. 7 * COPYING file in the top-level directory. 12 #include "qemu/error-report.h" 46 if (enabled_cpu->vcpu_id == vcpu_id) { in kvm_cpu_is_enabled() 59 enabled_cpu->vcpu_id = vcpu_id; in kvm_cpu_enable() 79 SpaprXive *xive = SPAPR_XIVE(tctx->xptr); in kvmppc_xive_cpu_set_state() 83 assert(xive->fd != -1); in kvmppc_xive_cpu_set_state() 86 state[0] = *((uint64_t *) &tctx->regs[TM_QW1_OS]); in kvmppc_xive_cpu_set_state() 88 ret = kvm_set_one_reg(tctx->cs, KVM_REG_PPC_VP_STATE, state); in kvmppc_xive_cpu_set_state() 90 error_setg_errno(errp, -ret, in kvmppc_xive_cpu_set_state() [all …]
|
/qemu/scripts/coverity-scan/ |
H A D | run-coverity-scan | 1 #!/bin/sh -e 8 # See the COPYING file in the top-level directory. 10 # Copyright (c) 2017-2020 Linaro Limited 14 # run the (closed-source) coverity build tools, so don't 18 # tree, and that tree is a fresh clean one, because we do an in-tree 21 # regular expressions it uses; an out-of-tree build won't work for this.) 31 # --check-upload-only : return success if upload is possible 32 # --dry-run : run the tools, but don't actually do the upload 33 # --docker : create and work inside a container 34 # --docker-engine : specify the container engine to use (docker/podman/auto); [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 174 | 4 # Test that qemu-io fail with non-zero exit code 49 scratch_out="$TEST_DIR/img-create.out" 50 IMGFMT=raw IMGKEYSECRET= _make_test_img --no-opts $size >"$scratch_out" 52 rm -f "$scratch_out" 56 $QEMU_IO -f $IMGFMT -c "read 0 $size" "$TEST_IMG" 2>/dev/null 57 test $? -eq 1 || _fail "did not fail" 61 $QEMU_IO -c "read 0 $size" "$TEST_DIR/missing" 2>/dev/null 62 test $? -eq 1 || _fail "did not fail" 66 rm -f $seq.full
|