<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/host/include/generic, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/host/include/generic?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/host/include/generic?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-06-19T19:47:11Z</updated>
<entry>
<title>util/bufferiszero: Split out host include files</title>
<updated>2024-06-19T19:47:11Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-06-06T03:58:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=2d32a5d2a06a524c5e7967f918c406ec99418a34'/>
<id>urn:sha1:2d32a5d2a06a524c5e7967f918c406ec99418a34</id>
<content type='text'>
Split out host/bufferiszero.h.inc for x86, aarch64 and generic
in order to avoid an overlong ifdef ladder.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>accel/tcg: Rename load-extract/store-insert headers using .h.inc suffix</title>
<updated>2024-04-26T13:31:37Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2024-03-25T14:30:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=e4751d340a49b117b90a411b179b8c892cf43d85'/>
<id>urn:sha1:e4751d340a49b117b90a411b179b8c892cf43d85</id>
<content type='text'>
Since commit 139c1837db ("meson: rename included C source files
to .c.inc"), QEMU standard procedure for included C files is to
use *.c.inc.

Besides, since commit 6a0057aa22 ("docs/devel: make a statement
about includes") this is documented in the Coding Style:

  If you do use template header files they should be named with
  the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are
  being included for expansion.

Therefore rename 'store-insert-al16.h' as 'store-insert-al16.h.inc'
and 'load-extract-al16-al8.h' as 'load-extract-al16-al8.h.inc'.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Acked-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20240424173333.96148-3-philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>host/include/generic/host/atomic128: Fix compilation problem with Clang 17</title>
<updated>2023-11-13T10:35:47Z</updated>
<author>
<name>Thomas Huth</name>
<email>thuth@redhat.com</email>
</author>
<published>2023-11-08T08:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=34aee9c94691f529cd952f9483a6b357ca098042'/>
<id>urn:sha1:34aee9c94691f529cd952f9483a6b357ca098042</id>
<content type='text'>
When compiling QEMU with Clang 17 on a s390x, the compilation fails:

In file included from ../accel/tcg/cputlb.c:32:
In file included from /root/qemu/include/exec/helper-proto-common.h:10:
In file included from /root/qemu/include/qemu/atomic128.h:62:
/root/qemu/host/include/generic/host/atomic128-ldst.h:68:15: error:
 __sync builtin operation MUST have natural alignment (consider using __
atomic). [-Werror,-Wsync-alignment]
   68 |     } while (!__sync_bool_compare_and_swap_16(ptr_align, old, new.i));
      |               ^
In file included from ../accel/tcg/cputlb.c:32:
In file included from /root/qemu/include/exec/helper-proto-common.h:10:
In file included from /root/qemu/include/qemu/atomic128.h:61:
/root/qemu/host/include/generic/host/atomic128-cas.h:36:11: error:
 __sync builtin operation MUST have natural alignment (consider using __a
tomic). [-Werror,-Wsync-alignment]
   36 |     r.i = __sync_val_compare_and_swap_16(ptr_align, c.i, n.i);
      |           ^
2 errors generated.

It's arguably a bug in Clang since we already use __builtin_assume_aligned()
to tell the compiler that the pointer is properly aligned. But according to
https://github.com/llvm/llvm-project/issues/69146 it seems like the Clang
folks don't see an easy fix on their side and recommend to use a type
declared with __attribute__((aligned(16))) to work around this problem.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1934
Message-ID: &lt;20231108085954.313071-1-thuth@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>crypto: Add generic 64-bit carry-less multiply routine</title>
<updated>2023-09-15T13:57:00Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-07-11T09:10:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=00f463b38aa7cfca0bc65e3af7f2c49e1b9da690'/>
<id>urn:sha1:00f463b38aa7cfca0bc65e3af7f2c49e1b9da690</id>
<content type='text'>
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>other architectures: spelling fixes</title>
<updated>2023-07-25T14:14:07Z</updated>
<author>
<name>Michael Tokarev</name>
<email>mjt@tls.msk.ru</email>
</author>
<published>2023-07-14T11:23:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=8b81968c1cf351430dad66a1b36420f431243842'/>
<id>urn:sha1:8b81968c1cf351430dad66a1b36420f431243842</id>
<content type='text'>
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>crypto: Add aesdec_ISB_ISR_AK_IMC</title>
<updated>2023-07-08T06:30:17Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-06-02T22:40:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=28e91474ce558bca55c800e7977bab7c66a44abb'/>
<id>urn:sha1:28e91474ce558bca55c800e7977bab7c66a44abb</id>
<content type='text'>
Add a primitive for InvSubBytes + InvShiftRows +
AddRoundKey + InvMixColumns.

Acked-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>crypto: Add aesdec_ISB_ISR_IMC_AK</title>
<updated>2023-07-08T06:30:17Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-06-02T22:23:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=15ff15982a13ddf3e03b38ff46277ed90c1f36f9'/>
<id>urn:sha1:15ff15982a13ddf3e03b38ff46277ed90c1f36f9</id>
<content type='text'>
Add a primitive for InvSubBytes + InvShiftRows +
InvMixColumns + AddRoundKey.

Acked-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>crypto: Add aesenc_SB_SR_MC_AK</title>
<updated>2023-07-08T06:30:17Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-06-02T10:54:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=7c58cb972e851c2e96ad5abd98b9c00b3f1c8a95'/>
<id>urn:sha1:7c58cb972e851c2e96ad5abd98b9c00b3f1c8a95</id>
<content type='text'>
Add a primitive for SubBytes + ShiftRows + MixColumns + AddRoundKey.

Acked-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>crypto: Add aesdec_IMC</title>
<updated>2023-07-08T06:30:17Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-06-02T09:01:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=5b41deb3108c48143d6697cd2dcde3f0b9a57c80'/>
<id>urn:sha1:5b41deb3108c48143d6697cd2dcde3f0b9a57c80</id>
<content type='text'>
Add a primitive for InvMixColumns.

Acked-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>crypto: Add aesenc_MC</title>
<updated>2023-07-08T06:30:17Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-06-02T08:49:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=04e1f30eedfe581c0c3b6bc6b6f5f76c65dc2c71'/>
<id>urn:sha1:04e1f30eedfe581c0c3b6bc6b6f5f76c65dc2c71</id>
<content type='text'>
Add a primitive for MixColumns.

Acked-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
</feed>
