<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/tcg, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tests/tcg?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/tcg?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-11-14T23:34:42+00:00</updated>
<entry>
<title>target/i386: fix cmpxchg with 32-bit register destination</title>
<updated>2022-11-14T23:34:42+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-09-11T12:04:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d1bb978ba1654ddc6e927621b554eebb216fb9dd'/>
<id>urn:sha1:d1bb978ba1654ddc6e927621b554eebb216fb9dd</id>
<content type='text'>
Unlike the memory case, where "the destination operand receives a write
cycle without regard to the result of the comparison", rm must not be
touched altogether if the write fails, including not zero-extending
it on 64-bit processors.  This is not how the movcond currently works,
because it is always followed by a gen_op_mov_reg_v to rm.

To fix it, introduce a new function that is similar to gen_op_mov_reg_v
but writes to a TCG temporary.

Considering that gen_extu(ot, oldv) is not needed in the memory case
either, the two cases for register and memory destinations are different
enough that one might as well fuse the two "if (mod == 3)" into one.
So do that too.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/508
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
[rth: Add a test case ]
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'pull-testing-for-7.2-011122-3' of https://github.com/stsquad/qemu into staging</title>
<updated>2022-11-01T17:39:06+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
</author>
<published>2022-11-01T17:39:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0d37413c639d8f467fc92c86a1ed54ecdba5220d'/>
<id>urn:sha1:0d37413c639d8f467fc92c86a1ed54ecdba5220d</id>
<content type='text'>
testing and plugin updates for 7.2:

  - cleanup win32/64 docker files
  - update test-mingw test
  - add flex/bison to debian-all-test
  - handle --enable-static/--disable-pie in config
  - extend timeouts on x86_64 avocado tests
  - add flex/bison to debian-hexagon-cross
  - use regular semihosting for nios2 check-tcg
  - fix obscure linker error to nios2 softmmu tests
  - various windows portability fixes for tests
  - clean-up of MAINTAINERS
  - use -machine none when appropriate in avocado
  - make raspi2_initrd test detect shutdown
  - disable sh4 rd2 tests on gitlab
  - re-enable threadcount/linux-test for sh4
  - clean-up s390x handling of "ex" instruction
  - better handle new CPUs in execlog plugin
  - pass CONFIG_DEBUG_TCG to plugin builds
  - try and avoid races in test-io-channel-command
  - speed up ssh key checking for tests/vm

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmNhI/MACgkQ+9DbCVqe
# KkSFXggAg0HIpBDcNz0V5Mh5p69F14pwbDSygKqGDFBebdOHeL7f+WCvQPUGEWxp
# 814zjvRY3SC4Mo4mtzguRvNu0styaUpemvRw5FDYK48GpEjg2eVxTnAFD4nr7ud0
# dhw3iaHP+RjA6s3EpPUqQ5nlZEgFJ+Tvkckk3wKSpksBYA4tJra6Uey5kpZ27x0T
# KOzB2P6w+9B/B11n/aeSxvRPZdnXt2MyfS/3pwwfoFYioEyaEQ3Ie6ooachtdSL3
# PEvnJVK0VVYbZQwBXJlycNLlK/D++s4AEwmnZ5GmvDFuXlkRO9YMy9Wa5TKJl7gz
# 76Aw1KHsE03SyAPvH4bE7eGkIwhJOQ==
# =6hXE
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 01 Nov 2022 09:49:39 EDT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) &lt;alex.bennee@linaro.org&gt;" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* tag 'pull-testing-for-7.2-011122-3' of https://github.com/stsquad/qemu: (31 commits)
  tests/vm: use -o IdentitiesOnly=yes for ssh
  tests/unit: cleanups for test-io-channel-command
  contrib/plugins: protect execlog's last_exec expansion
  contrib/plugins: enable debug on CONFIG_DEBUG_TCG
  tests/tcg: include CONFIG_PLUGIN in config-host.mak
  target/s390x: fake instruction loading when handling 'ex'
  target/s390x: don't probe next pc for EXecuted insns
  target/s390x: don't use ld_code2 to probe next pc
  tests/tcg: re-enable threadcount for sh4
  tests/tcg: re-enable linux-test for sh4
  tests/avocado: disable sh4 rd2 tests on Gitlab
  tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping
  tests/avocado: set -machine none for userfwd and vnc tests
  MAINTAINERS: fix-up for check-tcg Makefile changes
  MAINTAINERS: add features_to_c.sh to gdbstub files
  MAINTAINERS: add entries for the key build bits
  hw/usb: dev-mtp: Use g_mkdir()
  block/vvfat: Unify the mkdir() call
  tcg: Avoid using hardcoded /tmp
  semihosting/arm-compat-semi: Avoid using hardcoded /tmp
  ...

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/tcg/multiarch: Add munmap-pthread.c</title>
<updated>2022-10-31T21:31:41+00:00</updated>
<author>
<name>Ilya Leoshkevich</name>
</author>
<published>2022-10-28T12:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=83d92559cdf0ce842e52e5bbf230f7f62a6206aa'/>
<id>urn:sha1:83d92559cdf0ce842e52e5bbf230f7f62a6206aa</id>
<content type='text'>
Add a test to detect races between munmap() and creating new threads.

Signed-off-by: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;
Message-Id: &lt;20221028124227.2354792-3-iii@linux.ibm.com&gt;
[rth: add more return insns]
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg: re-enable threadcount for sh4</title>
<updated>2022-10-31T20:37:59+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2022-10-27T18:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=839866fcbd4f2ce554f3c16bf68a520ebc2da310'/>
<id>urn:sha1:839866fcbd4f2ce554f3c16bf68a520ebc2da310</id>
<content type='text'>
This test was marked as broken due to bug #856 which was fixed by
ab419fd8a0 (target/sh4: Fix TB_FLAG_UNALIGN). Local testing shows this
is solid now so lets re-enable the test.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Cc: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;
Message-Id: &lt;20221027183637.2772968-23-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg: re-enable linux-test for sh4</title>
<updated>2022-10-31T20:37:59+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2022-10-27T18:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bc483a91d5a2182387e82913a7e22c86b6b1c85c'/>
<id>urn:sha1:bc483a91d5a2182387e82913a7e22c86b6b1c85c</id>
<content type='text'>
This test was marked as broken due to bug #704 which was fixed by
aee14c77f4 (linux-user: Rewrite do_getdents, do_getdents64). Local
testing shows this is solid now so lets re-enable the test.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Cc: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;
Message-Id: &lt;20221027183637.2772968-22-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg/nios2: Tweak 10m50-ghrd.ld</title>
<updated>2022-10-31T20:37:58+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-10-27T18:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=25916dd65d7e72f7bb5b9727bb346a9d17993072'/>
<id>urn:sha1:25916dd65d7e72f7bb5b9727bb346a9d17993072</id>
<content type='text'>
More closely follow the default linker script for nios2.
This magically fixes a problem resolving .got relocs from
the toolchain's libgcc.a.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1258
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20221024035341.2971123-1-richard.henderson@linaro.org&gt;
Message-Id: &lt;20221027183637.2772968-10-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg: use regular semihosting for nios2-softmmu</title>
<updated>2022-10-31T20:37:58+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2022-10-27T18:36:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=991e9051238e15207ca3fbfc630fd98f0e2b86cd'/>
<id>urn:sha1:991e9051238e15207ca3fbfc630fd98f0e2b86cd</id>
<content type='text'>
The nios2 code now plugs into the common semihosting code so we can
use the same redirect invocation as the other boards. There is however
a bug raised for the fact the tests don't seem to be completing
properly and silently passing anyway:

  https://gitlab.com/qemu-project/qemu/-/issues/1258

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20221027183637.2772968-9-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg/s390x: Add a test for the vistr instruction</title>
<updated>2022-10-28T06:34:58+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2022-10-12T18:27:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9e3eb3b29a73c35adbbe60b0fd3c8feb6c680d55'/>
<id>urn:sha1:9e3eb3b29a73c35adbbe60b0fd3c8feb6c680d55</id>
<content type='text'>
This test can be used to verify that the change in the previous
commit is indeed fixing the problem with the M3 vs. M4 field
mixup.

Message-Id: &lt;20221012182755.1014853-4-thuth@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/tcg/s390x: Test compiler flags only once, not every time</title>
<updated>2022-10-27T07:09:50+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2022-10-12T18:27:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=117ea96089e36a4d31a42f96062b950641ba1698'/>
<id>urn:sha1:117ea96089e36a4d31a42f96062b950641ba1698</id>
<content type='text'>
This is common practice, see the Makefile.target in the aarch64
folder for example.

Suggested-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20221012182755.1014853-2-thuth@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/i386: implement FMA instructions</title>
<updated>2022-10-22T07:05:54+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-10-19T11:22:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2872b0f390c3fbd8f19f6b82da3dca15fa820118'/>
<id>urn:sha1:2872b0f390c3fbd8f19f6b82da3dca15fa820118</id>
<content type='text'>
The only issue with FMA instructions is that there are _a lot_ of them (30
opcodes, each of which comes in up to 4 versions depending on VEX.W and
VEX.L; a total of 96 possibilities).  However, they can be implement with
only 6 helpers, two for scalar operations and four for packed operations.
(Scalar versions do not do any merging; they only affect the bottom 32
or 64 bits of the output operand.  Therefore, there is no separate XMM
and YMM of the scalar helpers).

First, we can reduce the number of helpers to one third by passing four
operands (one output and three inputs); the reordering of which operands
go to the multiply and which go to the add is done in emit.c.

Second, the different instructions also dispatch to the same softfloat
function, so the flags for float32_muladd and float64_muladd are passed
in the helper as int arguments, with a little extra complication to
handle FMADDSUB and FMSUBADD.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
