<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/syslinux.git/com32/include/sys/bitops.h, branch syslinux-4.04</title>
<subtitle>git.kernel.org: pub/scm/boot/syslinux/syslinux.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/'/>
<entry>
<title>com32, bitops: proper constraint for byte-sized output</title>
<updated>2011-04-04T23:43:10+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2011-04-04T23:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=0c527252d94c5fc54e637143ec9fdb36ac698c62'/>
<id>0c527252d94c5fc54e637143ec9fdb36ac698c62</id>
<content type='text'>
The proper output for the byte-sized output of "setc" is "=qm".

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The proper output for the byte-sized output of "setc" is "=qm".

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>com32, bitops: an "m" constraint takes an object, not a pointer to one</title>
<updated>2011-04-04T17:37:24+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2011-04-04T17:36:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=47158504d44a151c61461ba1acdef5b4240bdc30'/>
<id>47158504d44a151c61461ba1acdef5b4240bdc30</id>
<content type='text'>
The argument to an "m" constraint is an object, not a pointer to an
object.  For a void pointer it needs to be cast to an indirectable
type (like char) and then indirected.

Reported-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The argument to an "m" constraint is an object, not a pointer to an
object.  For a void pointer it needs to be cast to an indirectable
type (like char) and then indirected.

Reported-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bitops: the bt instructions returns result in CF, not ZF</title>
<updated>2011-04-04T17:00:25+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2011-04-04T16:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=af97187d32aa51d5109af813187b98081e7d7b2f'/>
<id>af97187d32aa51d5109af813187b98081e7d7b2f</id>
<content type='text'>
The bit test instructions returns the tested bit in CF, not the
inverse of the tested bit in ZF.  I don't know how I got that idea...

Reported-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bit test instructions returns the tested bit in CF, not the
inverse of the tested bit in ZF.  I don't know how I got that idea...

Reported-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>com32: add a centralized bitops header</title>
<updated>2010-11-14T21:09:48+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-11-14T21:09:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=db74cf6c4182f40ecf7fad1f04799d09d82f896d'/>
<id>db74cf6c4182f40ecf7fad1f04799d09d82f896d</id>
<content type='text'>
Add a centralized bitops header &lt;sys/bitops.h&gt; which uses x86 bitops
instructions.  This is necessary to keep gcc 4.5 from aborting
compilation due to the inlined code being larger than the non-inlined
version, and well, we should really use the bitops.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a centralized bitops header &lt;sys/bitops.h&gt; which uses x86 bitops
instructions.  This is necessary to keep gcc 4.5 from aborting
compilation due to the inlined code being larger than the non-inlined
version, and well, we should really use the bitops.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
