<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/math-emu, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-10-01T13:40:07Z</updated>
<entry>
<title>powerpc/math-emu: Use kernel generic math-emu code</title>
<updated>2008-10-01T13:40:07Z</updated>
<author>
<name>Kumar Gala</name>
</author>
<published>2008-06-04T07:59:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2b194ed820880eb19c43b9c10d9f5f30026ee54'/>
<id>urn:sha1:d2b194ed820880eb19c43b9c10d9f5f30026ee54</id>
<content type='text'>
The math emulation code is centered around a set of generic macros that
provide the core of the emulation that are shared by the various
architectures and other projects (like glibc).  Each arch implements its
own sfp-machine.h to specific various arch specific details.

For historic reasons that are now lost the powerpc math-emu code had
its own version of the common headers.  This moves us to using the
kernel generic version and thus getting fixes when those are updated.

Also cleaned up exception/error reporting from the FP emulation functions.

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Add macros to access floating point registers in thread_struct.</title>
<updated>2008-07-01T01:28:43Z</updated>
<author>
<name>Michael Neuling</name>
</author>
<published>2008-06-26T07:07:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c75a31c3525a127f70b919856e32be3d8b03755'/>
<id>urn:sha1:9c75a31c3525a127f70b919856e32be3d8b03755</id>
<content type='text'>
We are going to change where the floating point registers are stored
in the thread_struct, so in preparation add some macros to access the
floating point registers.  Update all code to use these new macros.

Signed-off-by: Michael Neuling &lt;mikey@neuling.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Replace remaining __FUNCTION__ occurrences</title>
<updated>2008-04-01T09:43:09Z</updated>
<author>
<name>Harvey Harrison</name>
</author>
<published>2008-03-28T21:21:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e48b1b452ff630288c930fd8e0c2d808bc15f7ad'/>
<id>urn:sha1:e48b1b452ff630288c930fd8e0c2d808bc15f7ad</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Fix carry bug in 128-bit unsigned integer adding</title>
<updated>2008-01-24T01:34:21Z</updated>
<author>
<name>Liu Yu</name>
</author>
<published>2008-01-18T03:21:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3bc3a09bdfc1b3b88b32d7960c4c3b84a2b860f'/>
<id>urn:sha1:e3bc3a09bdfc1b3b88b32d7960c4c3b84a2b860f</id>
<content type='text'>
Synchronize it to the definition in include/math-emu/op-4.h for short term.

Signed-off-by: Liu Yu &lt;Yu.Liu@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Fix rounding bug in emulation for double float operating</title>
<updated>2007-12-14T04:59:00Z</updated>
<author>
<name>Liu Yu</name>
</author>
<published>2007-12-10T05:00:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c89686210542f6946e48a907772a356b9fce03f0'/>
<id>urn:sha1:c89686210542f6946e48a907772a356b9fce03f0</id>
<content type='text'>
This patch fixes rounding bug in emulation for double float operating on PowerPC platform.

When pack double float operand, it need to truncate the tail due to the limited precision.
If the truncated part is not zero, the last bit of work bit (totally 3 bits) need to '|' 1.

This patch is completed in _FP_FRAC_SRS_2(X,N,sz) (arch/powerpc/math-emu/op-2.h).
Originally the code leftwards rotates the operand to just keep the truncated part,
then check whether it is zero. However, the number it rotates is not correct when
N is not smaller than _FP_W_TYPE_SIZE, and it will cause the work bit '|' 1 in the improper case.

This patch fixes this issue.

Signed-off-by: Liu Yu &lt;b13201@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Fix handling of stfiwx math emulation</title>
<updated>2007-10-16T14:05:24Z</updated>
<author>
<name>Kumar Gala</name>
</author>
<published>2007-10-11T22:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba02946a903015840ef672ccc9dc8620a7e83de6'/>
<id>urn:sha1:ba02946a903015840ef672ccc9dc8620a7e83de6</id>
<content type='text'>
Its legal for the stfiwx instruction to have RA = 0 as part of its
effective address calculation.  This is illegal for all other XE
form instructions.

Add code to compute the proper effective address for stfiwx if
RA = 0 rather than treating it as illegal.

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c</title>
<updated>2006-09-26T05:24:35Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-09-23T00:37:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=054e51a44bc63878430c30b137be20600bcf01e0'/>
<id>urn:sha1:054e51a44bc63878430c30b137be20600bcf01e0</id>
<content type='text'>
... since they deal with internal function with that name.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>Remove obsolete #include &lt;linux/config.h&gt;</title>
<updated>2006-06-30T17:25:36Z</updated>
<author>
<name>Jörn Engel</name>
</author>
<published>2006-06-30T17:25:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ab3d5624e172c553004ecc862bfeac16d9d68b7'/>
<id>urn:sha1:6ab3d5624e172c553004ecc862bfeac16d9d68b7</id>
<content type='text'>
Signed-off-by: Jörn Engel &lt;joern@wohnheim.fh-wedel.de&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>powerpc: move math-emu over to arch/powerpc</title>
<updated>2006-03-28T05:43:27Z</updated>
<author>
<name>Kumar Gala</name>
</author>
<published>2006-03-28T05:43:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5cd272085bbc905532869f3e1fd18a7100496b56'/>
<id>urn:sha1:5cd272085bbc905532869f3e1fd18a7100496b56</id>
<content type='text'>
Towards the goal of having arch/powerpc not build anything over in arch/ppc
move math-emu over.  Also, killed some references to arch/ppc/ in the
arch/powerpc Makefile which should belong in drivers/ when the particular
sub-arch's move over to arch/powerpc.

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
</feed>
