RFR(M)(round 2): 8215902: Add support for SoftFloat-3e library
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Jan 23 12:55:58 UTC 2019
On 2019-01-15 17:31, Jakub Vaněk wrote:
> Hi Magnus and Erik,
> I have added the link to the repository to README and I have removed
> the link to the mailing list thread. I have also recreated the GitHub
> repository. Now it is a fork of the mentioned repository with two extra
> commits containing README and the build scripts.
> New webrev URL: http://cr.openjdk.java.net/~jakvanek/8215902/webrev.04/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8215902
Sorry for the late reply.
This looks very good! Thank you for fixing this, including rebasing the
I'm not sure if you've gotten reviews from the hotspot team for the
hotspot source changes, but from a build perspective, this is good to go.
> On 2019-01-15 at 15:05 +0100, Magnus Ihse Bursie wrote:
>> On 2018-12-25 16:19, Jakub Vaněk wrote:
>>> please review this webrev. It is a successor of the softfloat-3
>>> thread (first email
>>> Changes since the last patch (v6):
>>> - renamed --with-softloat* to --with-sflt* (it is more compact and
>>> corresponds to the old --with-sflt-lib=... option)
>>> - license is now obtained via --with-sflt-license switch (so it is
>>> included in OpenJDK source tree)
>>> - updated documentation (slight rewording, added the license
>>> - checks for default --with/--without behavior are in place again
>>> (I forgot them when I changed the way the library is detected)
>>> - added a simple testcase - I found a disrepancy between softfloat
>>> system function behavior. When a float with bits 0x003FFFFF is
>>> added to 0x00000001, the correct result is 0x00400000, but the
>>> default software floating point implementation returns
>>> However I'm not sure where to put this test - now it is in
>>> - comments in code refer to CR 6757269 and newly JDK-8215902 too.
>>> I have created a repository with SoftFloat-3e with build
>>> specifically for OpenJDK on armel:
>>> I can add a link to it to the documentation.
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8215902
>>> Webrev: http://cr.openjdk.java.net/~jakvanek/8215902/webrev.02/
>> Hi Jakub,
>> In general this looks good.
>> Some comments:
>> I agree with Erik that you can add a link to your github project;
>> compiling SoftFloat is outside the scope of the OpenJDK build
>> instructions, but it can sure be helpful to lower the bar for users
>> wanting to do that. Just one question: any particular reason you
>> create your github repo by forking the official
>> https://github.com/ucb-bar/berkeley-softfloat-3? That way, it would
>> been easy for users to see that you were not adding any malicious or
>> suspicious code to the original SoftFloat distribution.
>> On the other hand, I think the link to
>> is unnecessary and just creates clutter in the documentation. Please
>> remove it.
>>> CI build:
More information about the hotspot-compiler-dev