qemu-patch-raspberry4/tests/tcg
Pavel Zbitskiy dc95b31dac target/s390x: fix CSST decoding and runtime alignment check
CSST is defined as:

    C(0xc802, CSST,    SSF,   CASS, la1, a2, 0, 0, csst, 0)

It means that the first parameter is handled by in1_la1().
in1_la1() fills addr1 field, and not in1.

Furthermore, when extract32() is used for the alignment check, the
third parameter should specify the number of trailing bits that must
be 0. For FC these numbers are:

    FC=0 (word, 4 bytes):        2
    FC=1 (double word, 8 bytes): 3
    FC=2 (quad word, 16 bytes):  4

For SC these numbers correspond to the size:

    SC=0: 0
    SC=1: 1
    SC=2: 2
    SC=3: 3
    SC=4: 4

Signed-off-by: Pavel Zbitskiy <pavel.zbitskiy@gmail.com>
Message-Id: <20180821025104.19604-4-pavel.zbitskiy@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2018-08-28 17:37:01 +02:00
..
aarch64 tests/tcg: add run, diff, and skip helper macros 2018-06-20 20:22:34 +01:00
alpha tests/tcg/alpha: add Alpha specific tests 2018-06-20 20:22:34 +01:00
arm tests/tcg: add run, diff, and skip helper macros 2018-06-20 20:22:34 +01:00
cris tests: Avoid non-portable 'echo -ARG' 2017-07-11 17:45:00 +02:00
hppa tests/tcg: enable building for HPPA 2018-06-20 20:22:34 +01:00
i386 tests/tcg: remove runcom test 2018-07-24 11:45:25 +01:00
lm32 test: lm32: use semihosting for testing 2014-05-24 19:42:29 +02:00
m68k tests/tcg: enable building for m68k 2018-06-20 20:22:34 +01:00
mips tests/tcg: override runners for broken tests 2018-06-20 20:22:34 +01:00
multiarch tests: add check_invalid_maps to test-mmap 2018-07-31 09:57:25 +02:00
openrisc target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
ppc tests/tcg: enable building for PowerPC 2018-06-20 20:22:34 +01:00
riscv tests/tcg: enable building for RISCV64 2018-06-20 20:22:34 +01:00
s390x target/s390x: fix CSST decoding and runtime alignment check 2018-08-28 17:37:01 +02:00
sh4 tests/tcg: enable building for sh4 2018-06-20 20:22:34 +01:00
sparc64 tests/tcg: override runners for broken tests 2018-06-20 20:22:34 +01:00
x86_64 tests/tcg/x86_64: add Makefile.target 2018-06-20 20:22:34 +01:00
xtensa target/xtensa: fix timers test 2018-03-26 14:17:04 -07:00
Makefile tests/tcg: add run, diff, and skip helper macros 2018-06-20 20:22:34 +01:00
Makefile.include Makefile.target: add (clean-/build-)guest-tests targets 2018-06-20 20:22:34 +01:00
Makefile.probe tests: add top-level make dependency for docker builds 2018-06-20 22:13:32 +01:00
README tests/tcg: move MIPS specific tests into subdir 2018-06-20 20:22:34 +01:00

This directory contains various interesting guest programs for
regression testing. Tests are either multi-arch, meaning they can be
built for all guest architectures that support linux-user executable,
or they are architecture specific.

CRIS
====
The testsuite for CRIS is in tests/tcg/cris.  You can run it
with "make test-cris".

LM32
====
The testsuite for LM32 is in tests/tcg/cris.  You can run it
with "make test-lm32".