<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/tests/decode, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/tests/decode?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/tests/decode?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2023-09-08T10:08:52Z</updated>
<entry>
<title>tests/: spelling fixes</title>
<updated>2023-09-08T10:08:52Z</updated>
<author>
<name>Michael Tokarev</name>
<email>mjt@tls.msk.ru</email>
</author>
<published>2023-07-14T11:33:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=96420a30e0b509914609e45456ed3dfd47360a8c'/>
<id>urn:sha1:96420a30e0b509914609e45456ed3dfd47360a8c</id>
<content type='text'>
with some rewording in
 tests/qemu-iotests/298
 tests/qtest/fuzz/generic_fuzz.c
 tests/unit/test-throttle.c
as suggested by Eric.

Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>decodetree: Add --output-null for meson testing</title>
<updated>2023-06-01T02:56:42Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-05-31T23:25:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=c6a5fc2ac76c5ab709896ee1b0edd33685a67ed1'/>
<id>urn:sha1:c6a5fc2ac76c5ab709896ee1b0edd33685a67ed1</id>
<content type='text'>
Using "-o /dev/null" fails on Windows.  Rather that working
around this in meson, add a separate command-line option so
that we can use python's os.devnull.

Reported-by: Thomas Huth &lt;thuth@redhat.com&gt;
Fixes: 656666dc7d1b ("tests/decode: Convert tests to meson")
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20230531232510.66985-1-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/decode: Add tests for various named-field cases</title>
<updated>2023-05-30T17:55:39Z</updated>
<author>
<name>Peter Maydell</name>
<email>peter.maydell@linaro.org</email>
</author>
<published>2023-05-23T12:04:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=276d77de503e8f5f5cbd3f7d94302ca12d1d982e'/>
<id>urn:sha1:276d77de503e8f5f5cbd3f7d94302ca12d1d982e</id>
<content type='text'>
Add some tests for various cases of named-field use, both ones that
should work and ones that should be diagnosed as errors.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20230523120447.728365-7-peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/decode: Convert tests to meson</title>
<updated>2023-05-30T17:55:39Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-05-23T17:48:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=656666dc7d1b8508b1a528367e683ad2af5960a3'/>
<id>urn:sha1:656666dc7d1b8508b1a528367e683ad2af5960a3</id>
<content type='text'>
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>decodetree: Extend argument set syntax to allow types</title>
<updated>2021-05-01T18:45:35Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2021-04-29T17:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=af93ccacc772019298be4c3e47251cdaa60d0c21'/>
<id>urn:sha1:af93ccacc772019298be4c3e47251cdaa60d0c21</id>
<content type='text'>
Rather than force all structure members to be 'int',
allow the type of the member to be specified.

Reviewed-by: Luis Pires &lt;luis.pires@eldorado.org.br&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>decodetree: Improve identifier matching</title>
<updated>2020-09-14T13:23:19Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2020-09-03T19:23:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=acfdd2398dc929d4e87507b8acbdc19c88379e0e'/>
<id>urn:sha1:acfdd2398dc929d4e87507b8acbdc19c88379e0e</id>
<content type='text'>
Only argument set members have to be C identifiers, everything
else gets prefixed during conversion to C.  Some places just
checked the leading character, and some places matched a leading
character plus a C identifier.

Convert everything to match full identifiers, including the
[&amp;%@&amp;] prefix, and drop the full C identifier requirement.

Reported-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-id: 20200903192334.1603773-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>decodetree: Drop check for less than 2 patterns in a group</title>
<updated>2020-06-09T16:19:48Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2020-06-08T17:41:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=fe079aa13d6f77f9d7323b58ab24448e73ae6a93'/>
<id>urn:sha1:fe079aa13d6f77f9d7323b58ab24448e73ae6a93</id>
<content type='text'>
While it makes little sense for the end product to have a group
containing only a single pattern, avoiding this case within an
incremental patch set is troublesome.

Because this is expected to be a transient condition, do not
bother "optimizing" this case, e.g. by folding away the group.

Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/decode: Test non-overlapping groups</title>
<updated>2020-06-08T18:09:48Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2020-06-02T23:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=33c0f25bfd7af2848d078afe2876dcb0d5a1c6d3'/>
<id>urn:sha1:33c0f25bfd7af2848d078afe2876dcb0d5a1c6d3</id>
<content type='text'>
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>decodetree: Allow group covering the entire insn space</title>
<updated>2020-06-08T17:36:47Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2020-05-16T20:15:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=b44b3449a08818f0eb25b93faaf535e9c9a85e50'/>
<id>urn:sha1:b44b3449a08818f0eb25b93faaf535e9c9a85e50</id>
<content type='text'>
This is an edge case for sure, but the logic that disallowed
this case was faulty.  Further, a few fixes scattered about
can allow this to work.

Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>decodetree: Allow !function with no input bits</title>
<updated>2019-08-19T15:03:41Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2019-07-23T00:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=94597b6146f30f949f2c454f424082a2b0f55a0e'/>
<id>urn:sha1:94597b6146f30f949f2c454f424082a2b0f55a0e</id>
<content type='text'>
Call this form a "parameter", returning a value extracted
from the DisasContext.

Reviewed-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
</feed>
