<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/include/libdecnumber, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/include/libdecnumber?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/include/libdecnumber?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-04-06T08:50:37+00:00</updated>
<entry>
<title>Replace config-time define HOST_WORDS_BIGENDIAN</title>
<updated>2022-04-06T08:50:37+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-03-23T15:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e03b56863d2bca3e649e81531c1b0299524481ae'/>
<id>urn:sha1:e03b56863d2bca3e649e81531c1b0299524481ae</id>
<content type='text'>
Replace a config-time define with a compile time condition
define (compatible with clang and gcc) that must be declared prior to
its usage. This avoids having a global configure time define, but also
prevents from bad usage, if the config header wasn't included before.

This can help to make some code independent from qemu too.

gcc supports __BYTE_ORDER__ from about 4.6 and clang from 3.2.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
[ For the s390x parts I'm involved in ]
Acked-by: Halil Pasic &lt;pasic@linux.ibm.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220323155743.1585078-7-marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>libdecnumber: Introduce decNumberIntegralToInt128</title>
<updated>2021-11-08T23:32:52+00:00</updated>
<author>
<name>Luis Pires</name>
</author>
<published>2021-10-29T19:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=21d7826fdbf13bc3180f8f23f3f87967604fdf7e'/>
<id>urn:sha1:21d7826fdbf13bc3180f8f23f3f87967604fdf7e</id>
<content type='text'>
This will be used to implement PowerPC's dctfixqq.

Signed-off-by: Luis Pires &lt;luis.pires@eldorado.org.br&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20211029192417.400707-7-luis.pires@eldorado.org.br&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>libdecnumber: introduce decNumberFrom[U]Int128</title>
<updated>2021-11-08T23:32:52+00:00</updated>
<author>
<name>Luis Pires</name>
</author>
<published>2021-10-29T19:24:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=727385c4e13e1a5a985124a20a2370855141111d'/>
<id>urn:sha1:727385c4e13e1a5a985124a20a2370855141111d</id>
<content type='text'>
This will be used to implement PowerPC's dcffixqq.

Signed-off-by: Luis Pires &lt;luis.pires@eldorado.org.br&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20211029192417.400707-2-luis.pires@eldorado.org.br&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>include: Make headers more self-contained</title>
<updated>2019-08-16T11:31:51+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2019-08-12T05:23:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ec150c7e09071bcf51bfaa8071fe23efb6df69f7'/>
<id>urn:sha1:ec150c7e09071bcf51bfaa8071fe23efb6df69f7</id>
<content type='text'>
Back in 2016, we discussed[1] rules for headers, and these were
generally liked:

1. Have a carefully curated header that's included everywhere first.  We
   got that already thanks to Peter: osdep.h.

2. Headers should normally include everything they need beyond osdep.h.
   If exceptions are needed for some reason, they must be documented in
   the header.  If all that's needed from a header is typedefs, put
   those into qemu/typedefs.h instead of including the header.

3. Cyclic inclusion is forbidden.

This patch gets include/ closer to obeying 2.

It's actually extracted from my "[RFC] Baby steps towards saner
headers" series[2], which demonstrates a possible path towards
checking 2 automatically.  It passes the RFC test there.

[1] Message-ID: &lt;87h9g8j57d.fsf@blackfin.pond.sub.org&gt;
    https://lists.nongnu.org/archive/html/qemu-devel/2016-03/msg03345.html
[2] Message-Id: &lt;20190711122827.18970-1-armbru@redhat.com&gt;
    https://lists.nongnu.org/archive/html/qemu-devel/2019-07/msg02715.html

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;20190812052359.30071-2-armbru@redhat.com&gt;
Tested-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>Clean up ill-advised or unusual header guards</title>
<updated>2016-07-12T14:20:46+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2016-06-29T11:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2a6a4076e117113ebec97b1821071afccfdfbc96'/>
<id>urn:sha1:2a6a4076e117113ebec97b1821071afccfdfbc96</id>
<content type='text'>
Cleaned up with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;rth@twiddle.net&gt;
</content>
</entry>
<entry>
<title>libdecnumber: Don't error out on decNumberLocal.h re-inclusion</title>
<updated>2016-07-12T14:19:16+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2016-06-29T09:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=965379b4555aef0aaae734a7be139454bb0fcac4'/>
<id>urn:sha1:965379b4555aef0aaae734a7be139454bb0fcac4</id>
<content type='text'>
decNumberLocal.h errors out when it's included with its header guard
defined.  This catches multiple inclusions.

Drop that.  Including it multiple times is safe, and the compiler can
do it efficiently.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;rth@twiddle.net&gt;
</content>
</entry>
<entry>
<title>libdecnumber: Don't fool around with guards to avoid #include</title>
<updated>2016-07-12T14:19:16+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2016-06-29T09:45:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6031a51f1dab45bc6d5f8db1825e8f4f7915a870'/>
<id>urn:sha1:6031a51f1dab45bc6d5f8db1825e8f4f7915a870</id>
<content type='text'>
Some libdecnumber headers avoid including decNumber.h or decContext.h
again by checking their header guards.  Don't.  Including them
multiple times is safe, and the compiler can do it efficiently.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;rth@twiddle.net&gt;
</content>
</entry>
<entry>
<title>Clean up header guards that don't match their file name</title>
<updated>2016-07-12T14:19:16+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2016-06-29T08:12:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=121d07125bb6d7079c7ebafdd3efe8c3a01cc440'/>
<id>urn:sha1:121d07125bb6d7079c7ebafdd3efe8c3a01cc440</id>
<content type='text'>
Header guard symbols should match their file name to make guard
collisions less likely.  Offenders found with
scripts/clean-header-guards.pl -vn.

Cleaned up with scripts/clean-header-guards.pl, followed by some
renaming of new guard symbols picked by the script to better ones.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;rth@twiddle.net&gt;
</content>
</entry>
<entry>
<title>include: Clean up includes</title>
<updated>2016-02-23T12:43:05+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2016-02-23T11:58:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=90ce6e2644db2c47d72f364b4de57342e50bd10a'/>
<id>urn:sha1:90ce6e2644db2c47d72f364b4de57342e50bd10a</id>
<content type='text'>
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

NB: If this commit breaks compilation for your out-of-tree
patchseries or fork, then you need to make sure you add
#include "qemu/osdep.h" to any new .c files that you have.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>Fix new typos in comments (found by codespell)</title>
<updated>2014-07-18T13:45:36+00:00</updated>
<author>
<name>Stefan Weil</name>
</author>
<published>2014-07-07T19:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a9dd38db68a280fd8e2ece16904a5bae52be1925'/>
<id>urn:sha1:a9dd38db68a280fd8e2ece16904a5bae52be1925</id>
<content type='text'>
arbitary -&gt; arbitrary
basicly -&gt; basically

Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
</feed>
