Home
last modified time | relevance | path

Searched +full:- +full:- +full:cc (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/qemu/tests/tcg/s390x/
H A Dadd-logical-with-carry.c4 * SPDX-License-Identifier: GPL-2.0-or-later
16 * Each test starts with CC 0 and executes two chained ADD LOGICAL WITH
18 * with both 32- and 64-bit test functions.
22 { "cc0->cc0", {0, 0, 0}, 0, 0, },
23 { "cc0->cc1", {0, 0, 42}, 42, 1, },
24 /* cc0->cc2 is not possible */
25 /* cc0->cc3 is not possible */
26 /* cc1->cc0 is not possible */
27 { "cc1->cc1", {-3, 1, 1}, -1, 1, },
28 { "cc1->cc2", {-3, 1, 2}, 0, 2, },
[all …]
H A Dex-relative-long.c7 long (*func)(long reg, long *cc);
17 * there is an off-by-a-small-value bug.
32 /* Initial cc value. */
33 #define CC 0 macro
47 F(larl, (long)&mem[MEM_IDX], MEM, CC) \
48 F(lgfrl, 0xfffffffffedcba98, MEM, CC) \
49 F(lghrl, 0xfffffffffffffedc, MEM, CC) \
50 F(lgrl, MEM, MEM, CC) \
51 F(lhrl, 0x12345678fffffedc, MEM, CC) \
52 F(llghrl, 0x000000000000fedc, MEM, CC) \
[all …]
H A Drxsbg.c4 * SPDX-License-Identifier: GPL-2.0-or-later
10 rxsbg(unsigned long *r1, unsigned long r2, int i3, int i4, int i5, int *cc) in rxsbg() argument
13 "ipm %[cc]" in rxsbg()
14 : [r1] "+r" (*r1), [cc] "=r" (*cc) in rxsbg()
16 : "cc"); in rxsbg()
17 *cc = (*cc >> 28) & 3; in rxsbg()
23 int cc; in test_cc0() local
25 rxsbg(&r1, 3, 61 | 0x80, 62, 1, &cc); in test_cc0()
27 assert(cc == 0); in test_cc0()
33 int cc; in test_cc1() local
[all …]
H A Dclst.c9 int cc; in clst() local
15 "ipm %[cc]\n" in clst()
16 "srl %[cc],28" in clst()
17 : [r1] "+r" (r1), [r2] "+r" (r2), "+r" (r0), [cc] "=r" (cc) in clst()
19 : "cc"); in clst()
22 } while (cc == 3); in clst()
24 return cc; in clst()
66 int cc; in main() local
70 s1 = t->s1; in main()
71 s2 = t->s2; in main()
[all …]
H A Dchrl.c7 uint32_t program_mask, cc; in test_chrl() local
21 cc = program_mask >> 28; in test_chrl()
22 assert(!cc); in test_chrl()
27 ".short -1, 0x8000\n\t" in test_chrl()
33 : [r] "r" (-1) in test_chrl()
36 cc = program_mask >> 28; in test_chrl()
37 assert(!cc); in test_chrl()
42 uint32_t program_mask, cc; in test_cghrl() local
56 cc = program_mask >> 28; in test_cghrl()
57 assert(!cc); in test_cghrl()
[all …]
H A Dshift.c6 static uint64_t _name(uint64_t op1, uint64_t op2, uint64_t *cc) \
8 asm(" sll %[cc],28\n" \
9 " spm %[cc]\n" \
11 " ipm %[cc]\n" \
12 " srl %[cc],28" \
14 [cc] "+&r" (*cc) \
16 : "cc"); \
27 uint64_t *cc) \
34 asm(" sll %[cc],28\n" \
35 " spm %[cc]\n" \
[all …]
H A Dlcbb.c4 * SPDX-License-Identifier: GPL-2.0-or-later
10 lcbb(long *r1, void *dxb2, int m3, int *cc) in lcbb() argument
13 "ipm %[cc]" in lcbb()
14 : [r1] "+r" (*r1), [cc] "=r" (*cc) in lcbb()
16 : "cc"); in lcbb()
17 *cc = (*cc >> 28) & 3; in lcbb()
26 int cc; in test_lcbb() local
28 lcbb(&r1, p, m3, &cc); in test_lcbb()
30 assert(cc == exp_cc); in test_lcbb()
H A Dcdsg.c7 * SPDX-License-Identifier: GPL-2.0-or-later
27 int cc; in cdsg() local
34 "ipm %[cc]" in cdsg()
38 , [cc] "=r" (cc) in cdsg()
41 : "cc"); in cdsg()
45 return (cc >> 28) & 3; in cdsg()
51 int cc; in cdsg_loop() local
63 cc = cdsg(&orig0, &orig1, new0, new1, &val); in cdsg_loop()
65 if (cc == 0) { in cdsg_loop()
70 assert(cc == 1); in cdsg_loop()
H A Dlaalg.c4 * SPDX-License-Identifier: GPL-2.0-or-later
11 unsigned long cc = 0, op1, op2 = 40, op3 = 2; in main() local
13 asm("slgfi %[cc],1\n" /* Set cc_src = -1. */ in main()
15 "ipm %[cc]" in main()
16 : [cc] "+r" (cc) in main()
20 : "cc"); in main()
22 assert(cc == 0xffffffff10ffffff); in main()
H A Dclgebr.c4 * SPDX-License-Identifier: GPL-2.0-or-later
12 float r2 = -1; in main()
14 int cc; in main() local
18 "ipm %[cc]\n" in main()
20 , [cc] "=r" (cc) in main()
24 : "cc"); in main()
25 cc >>= 28; in main()
28 assert(cc == 3); in main()
H A Dcgebra.c4 * SPDX-License-Identifier: GPL-2.0-or-later
14 int cc; in main() local
18 "ipm %[cc]\n" in main()
20 , [cc] "=r" (cc) in main()
24 : "cc"); in main()
25 cc >>= 28; in main()
28 assert(cc == 3); in main()
H A Dts.c4 * SPDX-License-Identifier: GPL-2.0-or-later
11 int cc; in ts() local
14 "ipm %[cc]" in ts()
15 : [cc] "=r" (cc) in ts()
17 : : "cc"); in ts()
19 return (cc >> 28) & 3; in ts()
/qemu/tests/qemu-iotests/
H A D14251 if ! test -t 0; then
57 ) | $QEMU -nographic -monitor stdio -nodefaults "$@"
70 _make_test_img -b "$TEST_IMG.base" $size -F $IMGFMT
76 run_qemu -drive file="$TEST_IMG",cache=none
77 run_qemu -drive file="$TEST_IMG",cache=directsync
78 run_qemu -drive file="$TEST_IMG",cache=writeback
79 run_qemu -drive file="$TEST_IMG",cache=writethrough
80 run_qemu -drive file="$TEST_IMG",cache=unsafe
81 run_qemu -drive file="$TEST_IMG",cache=invalid_value
88 ids="node-name=image,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=f…
[all …]
/qemu/backends/
H A Dcryptodev-vhost.c26 #include "hw/virtio/virtio-bus.h"
27 #include "system/cryptodev-vhost.h"
31 #include "qemu/error-report.h"
32 #include "hw/virtio/virtio-crypto.h"
33 #include "system/cryptodev-vhost-user.h"
39 return crypto->dev.max_queues; in cryptodev_vhost_get_max_queues()
44 vhost_dev_cleanup(&crypto->dev); in cryptodev_vhost_cleanup()
57 crypto->dev.max_queues = 1; in cryptodev_vhost_init()
58 crypto->dev.nvqs = 1; in cryptodev_vhost_init()
59 crypto->dev.vqs = crypto->vqs; in cryptodev_vhost_init()
[all …]
H A Dcryptodev-vhost-user.c27 #include "qemu/error-report.h"
28 #include "hw/virtio/vhost-user.h"
29 #include "standard-headers/linux/virtio_crypto.h"
30 #include "system/cryptodev-vhost.h"
31 #include "chardev/char-fe.h"
32 #include "system/cryptodev-vhost-user.h"
40 #define TYPE_CRYPTODEV_BACKEND_VHOST_USER "cryptodev-vhost-user"
64 CryptoDevBackendClient *cc, in cryptodev_vhost_user_get_vhost() argument
70 assert(cc->type == QCRYPTODEV_BACKEND_TYPE_VHOST_USER); in cryptodev_vhost_user_get_vhost()
73 return s->vhost_crypto[queue]; in cryptodev_vhost_user_get_vhost()
[all …]
/qemu/hw/core/
H A Dcpu-system.c4 * Copyright (c) 2012-2014 SUSE LINUX Products GmbH
18 * <http://www.gnu.org/licenses/gpl-2.0.html>
23 #include "system/address-spaces.h"
26 #include "exec/tb-flush.h"
28 #include "hw/qdev-core.h"
29 #include "hw/qdev-properties.h"
30 #include "hw/core/sysemu-cpu-ops.h"
36 return cpu->cc->sysemu_ops->has_work(cpu); in cpu_has_work()
41 if (cpu->cc->sysemu_ops->get_paging_enabled) { in cpu_paging_enabled()
42 return cpu->cc->sysemu_ops->get_paging_enabled(cpu); in cpu_paging_enabled()
[all …]
/qemu/pc-bios/optionrom/
H A DMakefile2 SRC_DIR := $(TOPSRC_DIR)/pc-bios/optionrom
9 CFLAGS = -O2 -g
15 quiet-@ = $(if $(V),,@$(if $1,printf "%s\n" "$(TARGET_PREFIX)$1" && ))
16 quiet-command = $(call quiet-@,$2 $@)$1
19 override CPPFLAGS += -MMD -MP -MT $@ -MF $(@D)/$(*F).d
21 override CFLAGS += -march=i486 -Wall $(EXTRA_CFLAGS) -m16
22 override CFLAGS += -ffreestanding -I$(TOPSRC_DIR)/include
24 cc-test = $(CC) -Werror $1 -c -o /dev/null -xc /dev/null >/dev/null 2>/dev/null
25 cc-option = if $(call cc-test, $1); then \
29 # If -fcf-protection is enabled in flags or compiler defaults that will
[all …]
/qemu/pc-bios/s390-ccw/
H A DMakefile1 all: build-all
5 include config-host.mak
6 CFLAGS = -O2 -g -I $(SRC_PATH)/../../include/hw/s390x/ipl
8 MAKEFLAGS += -rR
16 quiet-@ = $(if $(V),,@$(if $1,printf "%s\n" "$(TARGET_PREFIX)$1" && ))
17 quiet-command = $(call quiet-@,$2 $@)$1
20 set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES),$(eval vpath $(PATTERN) $1)))
21 $(call set-vpath, $(SRC_PATH))
24 QEMU_DGFLAGS = -MMD -MP -MT $@ -MF $(@D)/$(*F).d
27 $(call quiet-command,$(CC) $(EXTRA_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) \
[all …]
/qemu/tests/tcg/aarch64/
H A DMakefile.target1 # -*- Mode: makefile -*-
12 AARCH64_TESTS=fcvt pcalign-a64 lse2-fault
13 AARCH64_TESTS += test-2248 test-2150
15 fcvt: LDFLAGS+=-lm
17 run-fcvt: fcvt
18 $(call run-test,$<,$(QEMU) $<)
19 $(call diff-out,$<,$(AARCH64_SRC)/fcvt.ref)
21 config-cc.mak: Makefile
22 $(quiet-@)( \
23 fnia=`$(call cc-test,-fno-integrated-as) && echo -fno-integrated-as`; \
[all …]
/qemu/accel/
H A Daccel-common.c4 * Copyright (c) 2003-2008 Fabrice Bellard
7 * SPDX-License-Identifier: MIT
12 #include "qemu/target-info.h"
13 #include "accel/accel-cpu.h"
14 #include "accel-internal.h"
30 return ac->name; in current_accel_name()
35 CPUClass *cc = CPU_CLASS(klass); in accel_init_cpu_int_aux() local
39 * The first callback allows accel-cpu to run initializations in accel_init_cpu_int_aux()
42 * The second one allows the CPU to customize the accel-cpu in accel_init_cpu_int_aux()
48 cc->accel_cpu = accel_cpu; in accel_init_cpu_int_aux()
[all …]
/qemu/
H A Dmeson.build15 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
28 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak')
35 tmpdir = meson.current_build_dir() / 'meson-private/temp'
66 have_linux_user = have_linux_user or target.endswith('linux-user')
67 have_bsd_user = have_bsd_user or target.endswith('bsd-user')
68 have_system = have_system or target.endswith('-softmmu')
79 cc = meson.get_compiler('c') variable
113 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"')
120 message('To use Rust you can install a new version with "cargo install bindgen-cli"')
128 '--rustc-version', rustc.version(),
[all …]
H A D.patchew.yml1 ---
33 cc: ''
50 cc: ''
73 cc: ''
91 {% elif test == "docker-mingw@fedora" or test == "docker-quick@centos8" or test == "asan" %}
115 ---
117 Please send your feedback to patchew-devel@redhat.com
126 time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1
127 docker-quick@centos8:
133 time make docker-test-quick@centos8 SHOW_ENV=1 J=14 NETWORK=1
[all …]
/qemu/crypto/
H A Dxts.c4 * Copyright (c) 2015-2016 Red Hat, Inc.
39 D->u[0] = S1->u[0] ^ S2->u[0]; in xts_uint128_xor()
40 D->u[1] = S1->u[1] ^ S2->u[1]; in xts_uint128_xor()
45 cpu_to_le64s(&v->u[0]); in xts_uint128_cpu_to_les()
46 cpu_to_le64s(&v->u[1]); in xts_uint128_cpu_to_les()
51 le64_to_cpus(&v->u[0]); in xts_uint128_le_to_cpus()
52 le64_to_cpus(&v->u[1]); in xts_uint128_le_to_cpus()
61 tt = I->u[0] >> 63; in xts_mult_x()
62 I->u[0] <<= 1; in xts_mult_x()
64 if (I->u[1] >> 63) { in xts_mult_x()
[all …]
/qemu/target/s390x/
H A Dsigp.c8 * See the COPYING file in the top-level directory.
13 #include "s390x-internal.h"
17 #include "system/address-spaces.h"
21 #include "qapi/qapi-types-machine.h"
27 int cc; member
33 *si->status_reg &= 0xffffffff00000000ULL; in set_sigp_status()
34 *si->status_reg |= status; in set_sigp_status()
35 si->cc = SIGP_CC_STATUS_STORED; in set_sigp_status()
41 bool ext_call = dst_cpu->env.pending_int & INTERRUPT_EXTERNAL_CALL; in sigp_sense()
52 si->cc = SIGP_CC_ORDER_CODE_ACCEPTED; in sigp_sense()
[all …]
/qemu/tests/tcg/arm/
H A DMakefile.target1 # -*- Mode: makefile -*-
3 # ARM - included from tests/tcg/Makefile
11 config-cc.mak: Makefile
12 $(quiet-@)( \
13 $(call cc-option,-fno-integrated-as, CROSS_CC_HAS_FNIA)) 3> config-cc.mak
14 -include config-cc.mak
16 float_madds: CFLAGS+=-mfpu=neon-vfpv4
19 ARM_TESTS = hello-arm
20 hello-arm: CFLAGS+=-marm -ffreestanding -fno-stack-protector
21 hello-arm: LDFLAGS+=-nostdlib
[all …]

12345678910>>...13