<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/math-emu, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-10-13T05:19:22Z</updated>
<entry>
<title>powerpc/Makefiles: Change to new flag variables</title>
<updated>2010-10-13T05:19:22Z</updated>
<author>
<name>matt mooney</name>
</author>
<published>2010-09-22T20:51:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4108d9ba9091c55cfb968d42dd7dcae9a098b876'/>
<id>urn:sha1:4108d9ba9091c55cfb968d42dd7dcae9a098b876</id>
<content type='text'>
Replace EXTRA_CFLAGS with ccflags-y and EXTRA_AFLAGS with asflags-y.

Signed-off-by: matt mooney &lt;mfm@muteddisk.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/math-emu: Fix efp dependence</title>
<updated>2009-03-11T11:00:08Z</updated>
<author>
<name>Liu Yu</name>
</author>
<published>2009-03-10T03:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a3d1fc2273c6736ad2d19058e0413bc830c5e4d'/>
<id>urn:sha1:1a3d1fc2273c6736ad2d19058e0413bc830c5e4d</id>
<content type='text'>
There is no dependece between efp and math-emu.  But when disable math-emu
the efp code cannot be built.

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: Add SPE/EFP math emulation for E500v1/v2 processors.</title>
<updated>2008-12-03T14:19:16Z</updated>
<author>
<name>Liu Yu</name>
</author>
<published>2008-10-28T03:50:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a800f36acd5bf06b5fe2cb27c4d0524d60c3df5'/>
<id>urn:sha1:6a800f36acd5bf06b5fe2cb27c4d0524d60c3df5</id>
<content type='text'>
This patch add the handlers of SPE/EFP exceptions.
The code is used to emulate float point arithmetic,
when MSR(SPE) is enabled and receive EFP data interrupt or EFP round interrupt.

This patch has no conflict with or dependence on FP math-emu.

The code has been tested by TestFloat.

Now the code doesn't support SPE/EFP instructions emulation
(it won't be called when receive program interrupt),
but it could be easily added.

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/math-emu: Remove redundant 'ret'</title>
<updated>2008-12-03T14:19:15Z</updated>
<author>
<name>Liu Yu</name>
</author>
<published>2008-10-28T03:50:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=033b8a333c66e0a7dc63132c1bd65175dc98bc25'/>
<id>urn:sha1:033b8a333c66e0a7dc63132c1bd65175dc98bc25</id>
<content type='text'>
FP_DECL_EX is already used, so ret is redundant.
And FP_SET_EXCEPTION will add status into return value.

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/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>
</feed>
