<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/tests/fp, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/tests/fp?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/tests/fp?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-01-12T13:23:48Z</updated>
<entry>
<title>tests/fp: Bump fp-test-mulAdd test timeout to 3 minutes</title>
<updated>2024-01-12T13:23:48Z</updated>
<author>
<name>Thomas Huth</name>
<email>thuth@redhat.com</email>
</author>
<published>2023-12-15T07:03:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=92b1dba3b0708fb054b96bd022b84857b8b047a9'/>
<id>urn:sha1:92b1dba3b0708fb054b96bd022b84857b8b047a9</id>
<content type='text'>
When running the tests in slow mode with --enable-debug on a very loaded
system, the  fp-test-mulAdd test can take longer than 2 minutes. Bump the
timeout to three minutes to make sure it passes in such situations, too.

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20231215070357.10888-16-thuth@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>configure, meson: rename targetos to host_os</title>
<updated>2023-12-31T08:11:29Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2023-11-03T08:17:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b'/>
<id>urn:sha1:d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b</id>
<content type='text'>
This variable is about the host OS, not the target.  It is used a lot
more since the Meson conversion, but the original sin dates back to 2003.
Time to fix it.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson: rename config_all</title>
<updated>2023-12-31T08:11:28Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2023-09-29T09:40:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=cfc1a889e509ffeba6e44cca8ff626751bc4219e'/>
<id>urn:sha1:cfc1a889e509ffeba6e44cca8ff626751bc4219e</id>
<content type='text'>
config_all now lists only accelerators, rename it to indicate its actual
content.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: fp: remove unused submodules</title>
<updated>2023-06-07T09:05:09Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2023-06-07T09:00:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=45904b56d5321be5f6e2c9e12bd143fb3b871ca8'/>
<id>urn:sha1:45904b56d5321be5f6e2c9e12bd143fb3b871ca8</id>
<content type='text'>
tests/fp/berkeley-softfloat-3 and tests/fp/berkeley-testfloat-3
have been replaced by subprojects, so remove the now-unnecessary
submodules.

Reported-by: Michal Privoznik &lt;mprivozn@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson: subprojects: replace berkeley-{soft,test}float-3 with wraps</title>
<updated>2023-06-06T14:30:01Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2023-05-19T11:27:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=d2dfe0b506e47e1409b29b65acb098d707532149'/>
<id>urn:sha1:d2dfe0b506e47e1409b29b65acb098d707532149</id>
<content type='text'>
Unlike other subprojects, these require an overlay directory to include
meson rules to build the libraries.  The rules are basically lifted
from tests/fp/meson.build, with a few changes to create platform.h
and publish a dependency.

The build defines are passed through a subproject option, and posted
back to users of the library via the dependency's compile_args.

The only remaining user of GIT_SUBMODULES and GIT_SUBMODULES_ACTION
is roms/SLOF, which is used to build pc-bios/s390-ccw.  All other
roms submodules are only present to satisfy the license on pre-built
firmware blobs.

Best reviewed with --color-moved.

Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: make fp-test less chatty when running from test suite</title>
<updated>2023-03-01T10:31:28Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-02-28T19:06:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=6348a546ed23f0d4bbf1b64ce35faf1dc719718a'/>
<id>urn:sha1:6348a546ed23f0d4bbf1b64ce35faf1dc719718a</id>
<content type='text'>
As we like to run tests under CI with V=1 flags the softfloat tests
can add up to a fair amount of extra log lines. With an update to the
testfloat library we can now call fp-test with the -q flag and reduce
the output to a terse one line per function tested.

  make check-softfloat V=1 | wc -l
  759

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20230228190653.1602033-5-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>enforce use of G_GNUC_PRINTF attributes</title>
<updated>2023-01-11T09:44:34Z</updated>
<author>
<name>Daniel P. Berrangé</name>
<email>berrange@redhat.com</email>
</author>
<published>2022-12-19T13:02:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=88a0ef00d70c61fdb46ee88ced87046dfb11eb3f'/>
<id>urn:sha1:88a0ef00d70c61fdb46ee88ced87046dfb11eb3f</id>
<content type='text'>
We've been very gradually adding G_GNUC_PRINTF annotations
to functions over years. This has been useful in detecting
certain malformed printf strings, or cases where we pass
user data as the printf format which is a potential security
flaw.

Given the inherant memory corruption danger in use of format
strings vs mis-matched variadic arguments, it is worth applying
G_GNUC_PRINTF to all functions using printf, even if we know
they are safe.

The compilers can reasonably reliably identify such places
with the -Wsuggest-attribute=format / -Wmissing-format-attribute
flags.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20221219130205.687815-7-berrange@redhat.com&gt;
[-Wsuggest-attribute=format and -Wmissing-format-attribute are
 synonyms, only include one; disable it for testfloat. - Paolo]
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson: remove dead assignments</title>
<updated>2022-09-01T05:42:37Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2022-07-14T08:43:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=e3af71e9009de156665df67b9bdf5bc192aae215'/>
<id>urn:sha1:e3af71e9009de156665df67b9bdf5bc192aae215</id>
<content type='text'>
Found with "muon analyze".

Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/fp: Do not build softfloat3 tests if TCG is disabled</title>
<updated>2022-07-05T07:33:49Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>f4bug@amsat.org</email>
</author>
<published>2022-02-04T15:29:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=e0a2602070e4f3c265a6c0fc48b4f032455ea3d3'/>
<id>urn:sha1:e0a2602070e4f3c265a6c0fc48b4f032455ea3d3</id>
<content type='text'>
Technically we don't need the TCG accelerator to run the
softfloat3 tests. However it is unlikely an interesting
build combination. Developers using softfloat3 likely use
TCG too. Similarly, developers disabling TCG shouldn't
mind much about softfloat3 tests.

This reduces a non-TCG build by 474 objects!

Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20220204152924.6253-3-f4bug@amsat.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>compiler.h: replace QEMU_NORETURN with G_NORETURN</title>
<updated>2022-04-21T13:03:51Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2022-04-20T13:26:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=8905770b27be326d12a704629f3cb715642db6cc'/>
<id>urn:sha1:8905770b27be326d12a704629f3cb715642db6cc</id>
<content type='text'>
G_NORETURN was introduced in glib 2.68, fallback to G_GNUC_NORETURN in
glib-compat.

Note that this attribute must be placed before the function declaration
(bringing a bit of consistency in qemu codebase usage).

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Warner Losh &lt;imp@bsdimp.com&gt;
Message-Id: &lt;20220420132624.2439741-20-marcandre.lureau@redhat.com&gt;
</content>
</entry>
</feed>
