Home
last modified time | relevance | path

Searched full:n (Results 1 – 25 of 2581) sorted by relevance

12345678910>>...104

/qemu/tests/tcg/hexagon/
H A Dmem_noshuf.c37 asm volatile("{\n\t" \
38 " " #ST_OP "(%1) = %3\n\t" \
39 " %0 = " #LD_OP "(%2)\n\t" \
40 "}:mem_noshuf\n" \
51 asm volatile("{\n\t" \
52 " " #ST_OP "(%1) = %3\n\t" \
53 " %0 = " #LD_OP "(%2)\n\t" \
54 "}:mem_noshuf\n" \
97 asm volatile("p0 = cmp.eq(%5, #0)\n\t" in MEM_NOSHUF32()
98 "%0 = %3\n\t" in MEM_NOSHUF32()
[all …]
H A Dmisc.c31 asm volatile("{\n\t" in S4_storerhnew_rr()
32 " r0 = %0\n\n" in S4_storerhnew_rr()
33 " memh(%1+%2<<#2) = r0.new\n\t" in S4_storerhnew_rr()
34 "}\n" in S4_storerhnew_rr()
43 asm volatile("{\n\t" in S4_storerbnew_ap()
44 " r0 = %1\n\n" in S4_storerbnew_ap()
45 " memb(%0 = ##data) = r0.new\n\t" in S4_storerbnew_ap()
46 "}\n" in S4_storerbnew_ap()
56 asm volatile("{\n\t" in S4_storerhnew_ap()
57 " r0 = %1\n\n" in S4_storerhnew_ap()
[all …]
H A Dhvx_misc.c40 asm("v3 = vmem(%0 + #0)\n\t" in test_load_tmp()
41 "r1 = #1\n\t" in test_load_tmp()
42 "v12 = vsplat(r1)\n\t" in test_load_tmp()
43 "{\n\t" in test_load_tmp()
44 " v12.tmp = vmem(%1 + #0)\n\t" in test_load_tmp()
45 " v4.w = vadd(v12.w, v3.w)\n\t" in test_load_tmp()
46 "}\n\t" in test_load_tmp()
47 "v4.w = vadd(v4.w, v12.w)\n\t" in test_load_tmp()
48 "vmem(%2 + #0) = v4\n\t" in test_load_tmp()
69 "r0 = #0x03030303\n\t" in test_load_tmp2()
[all …]
H A Dfpstuff.c35 printf("ERROR %s: usr = %d, expect = %d\n", name, in check_fpstatus_bit()
57 "p0 = sfcmp.eq(%2, %3)\n\t" in check_compare_exception()
58 "%0 = p0\n\t" in check_compare_exception()
59 "%1 = usr\n\t" in check_compare_exception()
66 "p0 = sfcmp.gt(%2, %3)\n\t" in check_compare_exception()
67 "%0 = p0\n\t" in check_compare_exception()
68 "%1 = usr\n\t" in check_compare_exception()
75 "p0 = sfcmp.ge(%2, %3)\n\t" in check_compare_exception()
76 "%0 = p0\n\t" in check_compare_exception()
77 "%1 = usr\n\t" in check_compare_exception()
[all …]
/qemu/host/include/loongarch64/host/
H A Dbufferiszero.c.inc20 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] */
28 "vld $vr8,%3,96\n\t" /* e[6] */
29 "vor.v $vr0,$vr0,$vr1\n\t"
[all …]
/qemu/configs/devices/arm-softmmu/
H A Ddefault.mak4 # CONFIG_I2C_DEVICES=n
5 # CONFIG_PCI_DEVICES=n
6 # CONFIG_TEST_DEVICES=n
9 # CONFIG_ARM_VIRT=n
13 # CONFIG_CUBIEBOARD=n
14 # CONFIG_EXYNOS4=n
15 # CONFIG_HIGHBANK=n
16 # CONFIG_INTEGRATOR=n
17 # CONFIG_FSL_IMX31=n
18 # CONFIG_MUSICPAL=n
[all …]
/qemu/hw/net/
H A Dvirtio-net.c117 VirtIONet *n = qemu_get_nic_opaque(nc); in virtio_net_get_subqueue() local
119 return &n->vqs[nc->queue_index]; in virtio_net_get_subqueue()
143 VirtIONet *n = VIRTIO_NET(vdev); in virtio_net_get_config() local
145 NetClientState *nc = qemu_get_queue(n->nic); in virtio_net_get_config()
150 virtio_stw_p(vdev, &netcfg.status, n->status); in virtio_net_get_config()
151 virtio_stw_p(vdev, &netcfg.max_virtqueue_pairs, n->max_queue_pairs); in virtio_net_get_config()
152 virtio_stw_p(vdev, &netcfg.mtu, n->net_conf.mtu); in virtio_net_get_config()
153 memcpy(netcfg.mac, n->mac, ETH_ALEN); in virtio_net_get_config()
154 virtio_stl_p(vdev, &netcfg.speed, n->net_conf.speed); in virtio_net_get_config()
155 netcfg.duplex = n->net_conf.duplex; in virtio_net_get_config()
[all …]
/qemu/hw/virtio/
H A Dvirtio-hmp-cmds.c23 monitor_printf(mon, ",\n"); in hmp_virtio_dump_protocols()
26 monitor_printf(mon, "\n"); in hmp_virtio_dump_protocols()
28 monitor_printf(mon, " unknown-protocols(0x%016"PRIx64")\n", in hmp_virtio_dump_protocols()
41 monitor_printf(mon, ",\n"); in hmp_virtio_dump_status()
44 monitor_printf(mon, "\n"); in hmp_virtio_dump_status()
46 monitor_printf(mon, " unknown-statuses(0x%016"PRIx32")\n", in hmp_virtio_dump_status()
59 monitor_printf(mon, ",\n"); in hmp_virtio_dump_features()
63 monitor_printf(mon, "\n"); in hmp_virtio_dump_features()
70 monitor_printf(mon, ",\n"); in hmp_virtio_dump_features()
73 monitor_printf(mon, "\n"); in hmp_virtio_dump_features()
[all …]
/qemu/roms/
H A Dconfig.seabios-128k5 CONFIG_ATA_DMA=n
6 CONFIG_XEN=n
7 CONFIG_ATA_PIO32=n
8 CONFIG_AHCI=n
9 CONFIG_SDCARD=n
10 CONFIG_VIRTIO_BLK=n
11 CONFIG_VIRTIO_SCSI=n
12 CONFIG_PVSCSI=n
13 CONFIG_ESP_SCSI=n
14 CONFIG_LSI_SCSI=n
[all …]
H A Dconfig.seabios-microvm5 CONFIG_XEN=n
6 CONFIG_BOOTSPLASH=n
7 CONFIG_ATA=n
8 CONFIG_AHCI=n
9 CONFIG_SDCARD=n
10 CONFIG_PVSCSI=n
11 CONFIG_ESP_SCSI=n
12 CONFIG_LSI_SCSI=n
13 CONFIG_MEGASAS=n
14 CONFIG_MPT_SCSI=n
[all …]
/qemu/scripts/
H A Dmeson-buildoptions.sh3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co'
4 printf "%s\n" ' reaudio/default/dsound/jack/oss/pa/pipewire/sdl/s'
5 printf "%s\n" ' ndio)'
6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]'
7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE'
8 printf "%s\n" ' set block driver read-only whitelist (by default'
9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE'
11 printf "%s\n" ' set block driver read-write whitelist (by default'
12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
[all …]
/qemu/configs/devices/i386-softmmu/
H A Ddefault.mak5 #CONFIG_AMD_IOMMU=n
6 #CONFIG_APPLESMC=n
7 #CONFIG_FDC=n
8 #CONFIG_HPET=n
9 #CONFIG_HYPERV=n
10 #CONFIG_ISA_DEBUG=n
11 #CONFIG_ISA_IPMI_BT=n
12 #CONFIG_ISA_IPMI_KCS=n
13 #CONFIG_PCI_IPMI_KCS=n
14 #CONFIG_PCI_IPMI_BT=n
[all …]
/qemu/tests/tcg/i386/
H A Dtest-mmx.c31 int n; member
41 static void dump_mmx(int n, const uint64_t *r, int ff) in dump_mmx() argument
46 printf("MM%d = %016lx %8g %8g\n", n, *r, v[1], v[0]); in dump_mmx()
48 printf("MM%d = %016lx\n", n, *r); in dump_mmx()
52 static void dump_xmm(const char *name, int n, const v2di *r, int ff) in dump_xmm() argument
54 printf("%s%d = %016lx %016lx\n", in dump_xmm()
55 name, n, r->q1, r->q0); in dump_xmm()
59 printf(" %8g %8g %8g %8g\n", in dump_xmm()
81 printf("MM%d = %016lx\n", i, b->mm[i]); in compare_state()
86 printf("r%d = %016lx\n", i, b->r[i]); in compare_state()
[all …]
H A Dtest-avx.c24 int n; member
35 static void dump_ymm(const char *name, int n, const v4di *r, int ff) in dump_ymm() argument
37 printf("%s%d = %016lx %016lx %016lx %016lx\n", in dump_ymm()
38 name, n, r->q3, r->q2, r->q1, r->q0); in dump_ymm()
42 printf(" %16g %16g %16g %16g\n", in dump_ymm()
47 printf(" %8g %8g %8g %8g %8g %8g %8g %8g\n", in dump_ymm()
69 printf("MM%d = %016lx\n", i, b->mm[i]); in compare_state()
74 printf("r%d = %016lx\n", i, b->r[i]); in compare_state()
88 printf("FLAGS = %016lx\n", b->flags); in compare_state()
92 #define LOADMM(r, o) "movq " #r ", " #o "[%0]\n\t"
[all …]
/qemu/tests/vm/
H A Dopenbsd95 self.console_wait_send("boot>", "set tty com0\n")
96 self.console_wait_send("boot>", "\n")
99 self.console_wait_send("(I)nstall", "i\n")
100 self.console_wait_send("Terminal type", "xterm\n")
101 self.console_wait_send("System hostname", "openbsd\n")
102 self.console_wait_send("Network interface to configure", "vio0\n")
103 self.console_wait_send("IPv4 address", "autoconf\n")
104 self.console_wait_send("IPv6 address", "none\n")
105 self.console_wait_send("Network interface to configure", "done\n")
107 self.console_send("%s\n" % self._config["root_pass"])
[all …]
H A Dnetbsd101 self.console_wait_send("> ", "consdev com0\n")
102 self.console_wait_send("> ", "boot\n")
104 self.console_wait_send("Terminal type", "xterm\n")
105 self.console_wait_send("a: Installation messages", "a\n")
106 self.console_wait_send("a: Install NetBSD", "a\n")
108 self.console_wait_send("b: Yes", "b\n")
110 self.console_wait_send("a: ld0", "a\n")
111 self.console_wait_send("a: Guid Partition Table", "a\n")
112 self.console_wait_send("a: This is the correct", "a\n")
113 self.console_wait_send("b: Use default part", "b\n")
[all …]
/qemu/tests/tcg/aarch64/
H A Dsme-outprod1.c11 " .arch_extension sme\n"
12 " .type foo, @function\n"
13 "foo:\n"
14 " stp x29, x30, [sp, -80]!\n"
15 " mov x29, sp\n"
16 " stp d8, d9, [sp, 16]\n"
17 " stp d10, d11, [sp, 32]\n"
18 " stp d12, d13, [sp, 48]\n"
19 " stp d14, d15, [sp, 64]\n"
20 " smstart\n"
[all …]
/qemu/target/loongarch/
H A Dgdbstub.c34 int loongarch_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) in loongarch_cpu_gdb_read_register() argument
38 if (0 <= n && n <= 34) { in loongarch_cpu_gdb_read_register()
41 if (n < 32) { in loongarch_cpu_gdb_read_register()
42 val = env->gpr[n]; in loongarch_cpu_gdb_read_register()
43 } else if (n == 32) { in loongarch_cpu_gdb_read_register()
46 } else if (n == 33) { in loongarch_cpu_gdb_read_register()
48 } else /* if (n == 34) */ { in loongarch_cpu_gdb_read_register()
62 int loongarch_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n) in loongarch_cpu_gdb_write_register() argument
68 if (n < 0 || n > 34) { in loongarch_cpu_gdb_write_register()
80 if (0 <= n && n < 32) { in loongarch_cpu_gdb_write_register()
[all …]
/qemu/target/hexagon/
H A Dgdbstub.c23 int hexagon_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) in hexagon_gdb_read_register() argument
27 if (n == HEX_REG_P3_0_ALIASED) { in hexagon_gdb_read_register()
35 if (n < TOTAL_PER_THREAD_REGS) { in hexagon_gdb_read_register()
36 return gdb_get_regl(mem_buf, env->gpr[n]); in hexagon_gdb_read_register()
39 n -= TOTAL_PER_THREAD_REGS; in hexagon_gdb_read_register()
41 if (n < NUM_PREGS) { in hexagon_gdb_read_register()
42 return gdb_get_reg8(mem_buf, env->pred[n]); in hexagon_gdb_read_register()
45 n -= NUM_PREGS; in hexagon_gdb_read_register()
50 int hexagon_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n) in hexagon_gdb_write_register() argument
54 if (n == HEX_REG_P3_0_ALIASED) { in hexagon_gdb_write_register()
[all …]
/qemu/pc-bios/optionrom/
H A Dlinuxboot_dma.c24 ".text\n"
25 ".global _start\n"
26 "_start:\n"
27 " .short 0xaa55\n"
28 " .byte 3\n" /* desired size in 512 units; signrom.py adds padding */
29 " .byte 0xcb\n" /* far return without prefix */
30 " .org 0x18\n"
31 " .short 0\n"
32 " .short _pnph\n"
33 "_pnph:\n"
[all …]
/qemu/tests/unit/
H A Dtest-aio.c26 int n; member
43 int n; member
50 int n; member
59 if (++data->n < data->max) { in bh_test_cb()
67 if (++data->n < data->max) { in timer_test_cb()
80 if (++data->n < data->max) { in bh_delete_cb()
92 data->n++; in event_ready_cb()
111 BHTestData data = { .n = 0 }; in test_bh_schedule()
115 g_assert_cmpint(data.n, ==, 0); in test_bh_schedule()
118 g_assert_cmpint(data.n, ==, 1); in test_bh_schedule()
[all …]
/qemu/linux-user/alpha/
H A Dtarget_proc.h35 "cpu\t\t\t: Alpha\n" in open_cpuinfo()
36 "cpu model\t\t: %s\n" in open_cpuinfo()
37 "cpu variation\t\t: 0\n" in open_cpuinfo()
38 "cpu revision\t\t: 0\n" in open_cpuinfo()
39 "cpu serial number\t: JA00000000\n" in open_cpuinfo()
40 "system type\t\t: QEMU\n" in open_cpuinfo()
41 "system variation\t: QEMU_v" QEMU_VERSION "\n" in open_cpuinfo()
42 "system revision\t\t: 0\n" in open_cpuinfo()
43 "system serial number\t: AY00000000\n" in open_cpuinfo()
44 "cycle frequency [Hz]\t: 250000000\n" in open_cpuinfo()
[all …]
/qemu/tests/tcg/ppc64/
H A Dtest-aes.c17 asm("lxvd2x 32,0,%1\n\t" in test_SB_SR()
18 "vspltisb 1,0\n\t" in test_SB_SR()
19 "vcipherlast 0,0,1\n\t" in test_SB_SR()
23 asm("lxvd2x 32,0,%1\n\t" in test_SB_SR()
24 "lxvd2x 34,0,%2\n\t" in test_SB_SR()
25 "vspltisb 1,0\n\t" in test_SB_SR()
26 "vperm 0,0,0,2\n\t" in test_SB_SR()
27 "vcipherlast 0,0,1\n\t" in test_SB_SR()
28 "vperm 0,0,0,2\n\t" in test_SB_SR()
43 asm("lxvd2x 32,0,%1\n\t" in test_SB_SR_MC_AK()
[all …]
/qemu/tests/tcg/openrisc/
H A Dtest_lf_ges.c13 ("lfges:\n\t" in main()
14 "l.addi %0, %0, 0x1\n\t" in main()
15 "lf.sfge.s %1, %2\n\t" in main()
16 "l.bf lfges\n\t" in main()
17 "l.nop\n\t" in main()
22 printf("lf.sfge.s error\n"); in main()
30 ("l.addi %0, %0, 0x1\n\t" in main()
31 "l.addi %0, %0, 0x1\n\t" in main()
32 "lf.sfge.s %1, %2\n\t" in main()
33 "l.bf 1f\n\t" in main()
[all …]
/qemu/scripts/coccinelle/
H A Duse-g_new-etc.cocci24 expression n;
26 -g_malloc(sizeof(T) * (n))
27 +g_new(T, n)
30 expression n;
32 -g_try_malloc(sizeof(T) * (n))
33 +g_try_new(T, n)
36 expression n;
38 -g_malloc0(sizeof(T) * (n))
39 +g_new0(T, n)
42 expression n;
[all …]

12345678910>>...104