[PATCH RFC] Update kernel math-emu code from current glibc soft-fp

David Miller davem at davemloft.net
Fri Feb 20 05:21:22 AEDT 2015


From: Joseph Myers <joseph at codesourcery.com>
Date: Fri, 6 Feb 2015 17:25:29 +0000

> * On SPARC, comparisons now use raw unpacking (this should not in fact
>   change how the emulation behaves, just make it more efficient).

I did a sparc64 test build and it failed like so:

arch/sparc/math-emu/math_64.c: In function ‘do_mathemu’:
arch/sparc/math-emu/math_64.c:487:1: error: expected expression before ‘return’
arch/sparc/math-emu/math_64.c:488:1: error: expected expression before ‘return’
arch/sparc/math-emu/math_64.c:490:1: error: expected expression before ‘return’
arch/sparc/math-emu/math_64.c:491:1: error: expected expression before ‘return’
arch/sparc/math-emu/math_64.c:495:1: error: expected expression before ‘return’

I'm attaching a CPP processed math_64.c for your convenience:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: math_64.i
Type: application/octet-stream
Size: 1117818 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150219/01aa8835/attachment-0001.obj>


More information about the Linuxppc-dev mailing list