Home
last modified time | relevance | path

Searched +full:hexagon +full:- +full:linux +full:- +full:user (Results 1 – 17 of 17) sorted by relevance

/qemu/tests/docker/dockerfiles/
H A Ddebian-hexagon-cross.docker2 # Docker Hexagon cross-compiler target
4 # This docker target is used for building hexagon tests. As it also
6 # build-deps.
8 FROM docker.io/library/debian:11-slim
10 # Duplicate deb line as deb-src
11 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
12 RUN apt-get update && \
13 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
16 apt-get install -y --no-install-recommends \
19 xz-utils \
[all …]
/qemu/target/hexagon/
H A DREADME1 Hexagon is Qualcomm's very long instruction word (VLIW) digital signal
2 processor(DSP). We also support Hexagon Vector eXtensions (HVX). HVX
6 The following versions of the Hexagon core are supported
8 … https://developer.qualcomm.com/downloads/qualcomm-hexagon-v73-programmers-reference-manual-rev-aa
10 …https://developer.qualcomm.com/downloads/qualcomm-hexagon-v73-hvx-programmers-reference-manual-rev
13-hexagon-automatic-translation-of-the-isa-manual-pseudcode-to-tiny-code-instructions-of-a-vliw-arc…
17 The qemu-hexagon implementation is a combination of qemu and the Hexagon
19 Hexagon-specific code are
21 qemu/target/hexagon
23 qemu/target/hexagon/imported
[all …]
H A Dmeson.build2 ## Copyright(c) 2020-2024 Qualcomm Innovation Center, Inc. All Rights Reserved.
23 idef_parser_dir = meson.current_source_dir() / 'idef-parser'
178 …: [python, files(decodetree_py), normal_decode_generated, '--static-decode=decode_normal', '-o', '…
187 …command: [python, files(decodetree_py), hvx_decode_generated, '--static-decode=decode_hvx', '-o', …
196 …s(decodetree_py), subinsn_a_decode_generated, ['--static-decode=decode_subinsn_a', '--insnwidth=16…
205 …(decodetree_py), subinsn_l1_decode_generated, ['--static-decode=decode_subinsn_l1', '--insnwidth=1…
214 …(decodetree_py), subinsn_l2_decode_generated, ['--static-decode=decode_subinsn_l2', '--insnwidth=1…
223 …(decodetree_py), subinsn_s1_decode_generated, ['--static-decode=decode_subinsn_s1', '--insnwidth=1…
232 …(decodetree_py), subinsn_s2_decode_generated, ['--static-decode=decode_subinsn_s2', '--insnwidth=1…
267 # We use flex/bison based idef-parser to generate TCG code for a lot
[all …]
H A Darch.c2 * Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
176 } else if ((a & ((1 << (n - 1)) - 1)) == 0) { /* N-1..0 all zero? */ in conv_round()
180 val = ((fSE32_64(a)) + (1 << (n - 1))); in conv_round()
198 set_float_exception_flags(0, &env->fp_status); in arch_fpop_start()
201 &env->fp_status); in arch_fpop_start()
206 * Hexagon Linux kernel only sets the relevant bits in USR (user status
207 * register). The exception isn't raised to user mode, so we don't
208 * model it in qemu user mode.
228 int flags = get_float_exception_flags(&env->fp_status); in arch_fpop_end()
304 if ((n_exp - d_exp + SF_BIAS) <= SF_MANTBITS) { in arch_sf_recip_common()
[all …]
H A Dmacros.h2 * Copyright(c) 2019-2024 Qualcomm Innovation Center, Inc. All Rights Reserved.
41 fEXTRACTU_BITS(env->gpr[HEX_REG_USR], reg_field_info[FIELD].width, \
47 fINSERT_BITS(env->new_value_usr, \
51 fINSERT_BITS(env->gpr[HEX_REG_USR], \
60 * Section 5.5 of the Hexagon V67 Programmer's Reference Manual
86 if (insn->slot == 0 && ctx->pkt->pkt_has_store_s1) { \
87 probe_noshuf_load(VA, SIZE, ctx->mem_idx); \
97 if (insn->slot == 0 && ctx->pkt->pkt_has_store_s1) { \
98 probe_noshuf_load(EA, SIZE, ctx->mem_idx); \
101 if (insn->slot == 0 && ctx->pkt->pkt_has_store_s1) { \
[all …]
H A Dgenptr.c2 * Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
21 #include "tcg/tcg-op.h"
22 #include "tcg/tcg-op-gvec.h"
23 #include "exec/helper-gen.h"
74 if (ctx->need_commit) { in get_result_gpr()
78 if (ctx->new_value[rnum] == NULL) { in get_result_gpr()
79 ctx->new_value[rnum] = tcg_temp_new(); in get_result_gpr()
80 tcg_gen_movi_tl(ctx->new_value[rnum], 0); in get_result_gpr()
82 return ctx->new_value[rnum]; in get_result_gpr()
120 if (ctx->need_commit) { in get_result_pred()
[all …]
/qemu/scripts/
H A Dupdate-syscalltbl.sh2 arch/alpha/kernel/syscalls/syscall.tbl,linux-user/alpha/syscall.tbl \
3 arch/arm/tools/syscall.tbl,linux-user/arm/syscall.tbl \
4 scripts/syscall.tbl,linux-user/aarch64/syscall_64.tbl \
5 scripts/syscall.tbl,linux-user/hexagon/syscall.tbl \
6 scripts/syscall.tbl,linux-user/loongarch64/syscall.tbl \
7 arch/m68k/kernel/syscalls/syscall.tbl,linux-user/m68k/syscall.tbl \
8 arch/microblaze/kernel/syscalls/syscall.tbl,linux-user/microblaze/syscall.tbl \
9 arch/mips/kernel/syscalls/syscall_n32.tbl,linux-user/mips64/syscall_n32.tbl \
10 arch/mips/kernel/syscalls/syscall_n64.tbl,linux-user/mips64/syscall_n64.tbl \
11 arch/mips/kernel/syscalls/syscall_o32.tbl,linux-user/mips/syscall_o32.tbl \
[all …]
H A Dmeson-buildoptions.sh1 # This file is generated by meson-buildoptions.py, do not edit!
3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co'
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)'
13 printf "%s\n" ' --datadir=VALUE Data file directory [share]'
[all …]
H A Dcheckpatch.pl5 # (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 …]
/qemu/scripts/coverity-scan/
H A DCOMPONENTS.md7 …~ .*/qemu((/include)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|bcm28|digic|exynos|imx|omap|s…
12 hexagon-gen (component should be ignored in analysis)
13 ~ .*/qemu(/target/hexagon/.*generated.*)
15 hexagon
16 ~ .*/qemu(/target/hexagon/.*)
40 …~ .*/qemu((/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/mi…
70 …ock.*|(/include?)/(block|storage-daemon)/.*|(/include)?/hw/(block|ide|nvme)/.*|/qemu-(img|io).*|/u…
97 ~ .*/qemu((/include)?/(qapi|qobject|monitor)/.*|/job-qmp.c)
100 ~ .*/qemu(/nbd/.*|/include/block/nbd.*|/qemu-nbd\.c)
108 qemu-ga
[all …]
/qemu/.gitlab-ci.d/
H A Dbuildtest.yml2 - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
[all …]
/qemu/
H A Dconfigure14 source_path=$(cd "$(dirname -- "$0")"; pwd)
16 if test "$PWD" -ef "$source_path"
20 MARKER=build/auto-created-by-configure
22 if test -e build
24 if test -f $MARKER
26 rm -rf build
36 echo "your source directory, or try doing an out-of-tree build."
41 # This file is auto-generated by configure to support in-source tree
46 @$(MAKE) -C build -f Makefile $(MAKECMDGOALS)
48 test -e build/auto-created-by-configure ; \
[all …]
H A DMAINTAINERS10 consult qemu-devel and not any specific individual privately.
23 W: Web-page with status/info
59 ------------------------------
63 L: qemu-devel@nongnu.org
72 R: Philippe Mathieu-Daudé <philmd@linaro.org>
75 F: docs/devel/build-environment.rst
76 F: docs/devel/code-of-conduct.rst
78 F: docs/devel/conflict-resolution.rst
80 F: docs/devel/submitting-a-patch.rst
81 F: docs/devel/submitting-a-pull-request.rst
[all …]
H A Dmeson_options.txt1 # These options do not correspond to a --enable/--disable-* option
3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too.
9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'],
12 description: 'use specified string as sub-version of the package')
25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like …
27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q…
28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M',
33 description: 'fuzzing engine library for OSS-Fuzz')
40 # Everything else can be set via --enable/--disable-* option
42 # here make sure to run "make update-buildoptions".
[all …]
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'
53 supported_oses = ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', 'sunos', 'linux', 'emscripte…
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')
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 …]
/qemu/target/hexagon/idef-parser/
H A DREADME.rst1 Hexagon ISA instruction definitions to tinycode generator compiler
2 ------------------------------------------------------------------
4 idef-parser is a small compiler able to translate the Hexagon ISA description
8 -------------------
10 To better understand the scope of the idef-parser, we'll explore an applicative
11 example. Let's start by one of the simplest Hexagon instruction: the ``add``.
22 idef-parser will compile the above code into the following code:
48 instruction belongs, in this case ``A2`` corresponds to the Hexagon
57 - Fill in the output function signature with the correct TCGv registers
58 - Fill in the output function signature with the immediate integers
[all …]
/qemu/docs/about/
H A Demulation.rst6 :ref:`System Emulation` and :ref:`User Mode Emulation` are supported
9 .. list-table:: Supported Guest Architectures for Emulation
11 :header-rows: 1
13 * - Architecture (qemu name)
14 - System
15 - User
16 - Notes
17 * - Alpha
18 - Yes
19 - Yes
[all …]