[Mesa-dev] [GSoC2016] Interested in implementing "Soft" double precision floating point support

Dylan Baker baker.dylan.c at gmail.com
Thu Mar 10 23:09:01 UTC 2016


Quoting Marek Olšák (2016-03-10 06:57:57)
> On Thu, Mar 10, 2016 at 3:30 PM, tournier.elie <tournier.elie at gmail.com> wrote:
> > First, thank you all for your answers.
> >
> > So if I summarize what was said, we need
> > Ian:
> >  - add
> >  - negate
> >  - absolute value
> >  - multiply
> >  - reciprocal
> >  - convert to single precision
> >  - convert from single precision
> > Roland:
> >  - sqrt
> >  - comparaison (< / == / >)
> >  - floor/ceil
> > I will contact Pat Brown (His name appear in the contact field in [1]) to
> > know if we need the function below for implement gpu_shader_fp64.
> >  - pow
> >  - exp
> >  - log
> >
> > About the license
> >
> > Like I mentioned in the project description, there are quite a few
> > existing C implementations of these functions.  Finding one of those
> > that you can understand and that has a compatible license is probably
> > the best place to start.
> >
> > Main Mesa code is under MIT license.
> > If I chose to use a GNU GPL license file like Linux kernel [3], my code must
> > be under GNU GPL and probably all the project too. Am I right?
> >
> > [1] https://www.opengl.org/registry/specs/ARB/gpu_shader_fp64.txt
> > [2] http://www.mesa3d.org/license.html
> > [3]
> > https://github.com/torvalds/linux/blob/097f70b3c4d84ffccca15195bdfde3a37c0a7c0f/arch/arm/nwfpe/softfloat.c
> 
> You can't use GNU GPL for this project.
> 
> The kernel as a whole is licensed under GNU GPL, but some source files
> aren't. The file you linked doesn't mention GNU GPL. Somebody needs to
> verify that the file you linked can be legally re-licensed under the
> MIT license. If not, I think you have to forget the contents of the
> file immediately, but I'm not a lawyer.
> 
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Most BSD style licenses are legally compatible, as long as none of the
developers object. One of the BSD kernels should have a softfloat
implementation that would be license compatible.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160310/3f2f4807/attachment.sig>


More information about the mesa-dev mailing list