Age | Commit message (Collapse) | Author |
|
The existing pattern support is useful but it does get a little
tedious when faced with large groups of instructions. This introduces
the concept of a @GroupName which can be sprinkled in the risu
definition and is attached to all instructions following its
definition until the next group or an empty group "@" is specified.
It can be combined with the existing pattern support to do things
like:
./risugen --group AdvSIMDAcrossVector --not-pattern ".*_RES" aarch64.risu foo.bin
Multiple groups will further restrict the set, so for example:
./risugen --group v8.2,Cryptographic aarch64.risu v8.2-crypto.bin
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20180223154613.2096-2-alex.bennee@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Useful for accessing APIs that are still brewing, e.g:
CROSS_PREFIX=aarch64-linux-gnu- \
CPPFLAGS=-I/home/alex/lsrc/qemu/risu.git/sve-headers/include \
../configure
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20171107150558.22131-7-alex.bennee@linaro.org
[PMM: tweaked text in README for typos etc]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20170704144859.17644-5-alex.bennee@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20170704144859.17644-4-alex.bennee@linaro.org
[PMM: fixed minor grammar awkwardness]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
We also include the an Emacs .dir-locals (as per QEMU) that enforces
this layout.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20170621154244.28309-2-alex.bennee@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Add notes to the README about support for separate build directories
and the build-all-archs script.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
This expect script will generate the .out file and then
start the apprentice in a chroot and the master on the reference
hardware. The list of patterns is given on the command line.
As my reference system is very slow, ssh can take more than 2 minutes,
this script starts a ssh and a chroot once, and interacts with
them to run the list of instruction patterns given on the command line.
Some environment variables define the test environment:
- RISU_ARCH: the pattern file used will be $RISU_ARCH.risu
- RISU_MASTER: the IP address or name of the reference hardware (for ssh)
- RISU_CHROOT: the path of the QEMU chroot to start the apprentice
- RISU_PATH: the path, common to master and apprentice (you can use NFS),
where the risu files are stored (binaries and data).
Example:
$ RISU_ARCH=m68k RISU_MASTER=q800 \
RISU_CHROOT=/var/lib/lxc/virtm68k-etch-m68k/rootfs \
RISU_PATH=/nfs/home/laurent/q800/risu \
./automatic-run ASx ADD AND OR EOR
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
[PMM: moved script to contrib/, added note in README.]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
It is possible to build statically with some limitations on the use of
gethostbyname().
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
|
|
The build process for risu is a bit more complex now we have
a configure script, so describe it in the README.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
|
|
Document the new 'memory' block syntax used to specify the memory
accessed by a load or store instruction.
|
|
|
|
Document the .risu file format in the README, rather than in
three duplicate comments in risugen, arm.risu and thumb.risu.
|
|
|
|
|