Age | Commit message (Collapse) | Author |
|
I've also added a header packet with pc/risu op in it so we can keep
better track of how things are going.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
[PMM: flipped header check to early-bailout so diff is easier
to read]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20170621154244.28309-6-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
This is pretty much a mechanical change where I ran:
indent -kr
Across all the files and then fixed up all but a few violations of:
../../qemu.git/scripts/checkpatch.pl -f *.c *.h > checkpatch.out
Along with heavy use of M-x untabify to make everything consistent.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20170619104655.31104-4-alex.bennee@linaro.org
[PMM: some bits of indent in risu_reginfo_arm.c were not right: fixed]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Move recv_and_compare_register_info() and report_match_status() to
reginfo.c -- they are essentially the same for all targets so
can be common code. The shared variables they use come with them.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
send_register_info() is now essentially the same code for all
target CPUs, so move it into reginfo.c rather than having
duplicated code.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Make get_risuop() a formal part of the CPU interface rather than
just a de-facto common routine.
Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
|
|
The SETMEMBLOCK operation takes a parameter in a register,
and GETMEMBLOCK returns a result in a register. Abstract
these out into functions provided by the backend, so we
can use common code for send_register_info() and
recv_and_compare_register_info().
Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
|
|
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
|
|
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
|
|
put the struct reginfo and its methods in a separate module.
This also addresses the problem with the memcmp
being used directly on the struct without the memset 0.
Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
|
|
adjust some types to be able to compile successfully on 64 bit.
To make it cleanly, add a configure step to check for the
appropriate types to use.
Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
|
|
Add a command line option --test-fp-exc which enables testing
of the cumulative FP exception status flags. This is disabled
by default because qemu gets them wrong a lot and they really
aren't actually that important.
|
|
|
|
Improve risu's diagnostics if the master and slave disagree about the
size of the packets they are transmitting. This usually means that
the two sides disagreed about whether a load/store insn should undef,
so one side has reached a 'compare memory' request and the other is
doing 'compare registers'.
|
|
Implement the new risu memory block ops: set, get, reget and
compare.
|
|
Add the COPYING file and per-source-file boilerplate text to
place risu ender the Eclipse Public License.
|
|
|
|
|
|
|
|
|
|
|
|
This commit lets valgrind-vs-native pass on the trivial test.
|
|
This is sufficient for the simple test case to give a match.
|
|
|