]> git.proxmox.com Git - mirror_edk2.git/commit
StdLib/LibC: Add software floating point library from NetBSD
authorNetBSD project <NetBSD project>
Thu, 30 Jul 2015 09:50:51 +0000 (09:50 +0000)
committerlersek <lersek@Edk2>
Thu, 30 Jul 2015 09:50:51 +0000 (09:50 +0000)
commit3352b62bebfd1e5c2e9961f481df968ab317d78d
tree12bfd6162cefbb63fa6e26c9fc9b7c9526838d9d
parentb393333538ee3a6b16a3a1d25ab2372942c3aac7
StdLib/LibC: Add software floating point library from NetBSD

Floating point processing is not supported on ARM for UEFI. In order to
support UEFI applications in AppPkg we use this library to provide the
required functionality.

Changes as compared to the NetBSD version:
- Formatting changes (tabs to spaces, DOS line endings etc).
- Disable exceptions as described in the float_raise() function.
- Disable definition of 'Symbolic Boolean literals' in milieu.h.

Source originally from: NetBSD project
- Source: http://cvsweb.netbsd.org/bsdweb.cgi/?only_with_tag=MAIN
- Licensing and Copyright: http://www.netbsd.org/about/redistribution.html

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Reviewed-by: Olivier Martin <Olivier.Martin@arm.com>
Reviewed-by: Daryl McDaniel <edk2-lists@mc2research.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18116 6f19259b-4bc3-4df7-8a09-765794883524
71 files changed:
StdLib/Include/Arm/arm-gcc.h [new file with mode: 0644]
StdLib/Include/Arm/machine/fenv.h [new file with mode: 0644]
StdLib/Include/Arm/machine/ieeefp.h [new file with mode: 0644]
StdLib/Include/Arm/milieu.h [new file with mode: 0644]
StdLib/Include/Arm/softfloat.h [new file with mode: 0644]
StdLib/Include/ieeefp.h [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_dcmpeq.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_dcmpge.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_dcmpgt.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_dcmple.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_dcmplt.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_dcmpun.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_fcmpeq.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_fcmpge.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_fcmpgt.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_fcmple.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_fcmplt.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Arm/__aeabi_fcmpun.c [new file with mode: 0644]
StdLib/LibC/Softfloat/Makefile.inc [new file with mode: 0644]
StdLib/LibC/Softfloat/README.NetBSD [new file with mode: 0644]
StdLib/LibC/Softfloat/README.txt [new file with mode: 0644]
StdLib/LibC/Softfloat/Softfloat.inf [new file with mode: 0644]
StdLib/LibC/Softfloat/bits32/softfloat-macros [new file with mode: 0644]
StdLib/LibC/Softfloat/bits32/softfloat.c [new file with mode: 0644]
StdLib/LibC/Softfloat/bits64/softfloat-macros [new file with mode: 0644]
StdLib/LibC/Softfloat/bits64/softfloat.c [new file with mode: 0644]
StdLib/LibC/Softfloat/eqdf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/eqsf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/eqtf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/fpgetmask.c [new file with mode: 0644]
StdLib/LibC/Softfloat/fpgetround.c [new file with mode: 0644]
StdLib/LibC/Softfloat/fpgetsticky.c [new file with mode: 0644]
StdLib/LibC/Softfloat/fpsetmask.c [new file with mode: 0644]
StdLib/LibC/Softfloat/fpsetround.c [new file with mode: 0644]
StdLib/LibC/Softfloat/fpsetsticky.c [new file with mode: 0644]
StdLib/LibC/Softfloat/gedf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/gesf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/getf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/gexf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/gtdf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/gtsf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/gttf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/gtxf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/ledf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/lesf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/letf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/ltdf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/ltsf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/lttf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/nedf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/negdf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/negsf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/negtf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/negxf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/nesf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/netf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/nexf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/softfloat-for-gcc.h [new file with mode: 0644]
StdLib/LibC/Softfloat/softfloat-history.txt [new file with mode: 0644]
StdLib/LibC/Softfloat/softfloat-source.txt [new file with mode: 0644]
StdLib/LibC/Softfloat/softfloat-specialize [new file with mode: 0644]
StdLib/LibC/Softfloat/softfloat.txt [new file with mode: 0644]
StdLib/LibC/Softfloat/templates/milieu.h [new file with mode: 0644]
StdLib/LibC/Softfloat/templates/softfloat-specialize [new file with mode: 0644]
StdLib/LibC/Softfloat/templates/softfloat.h [new file with mode: 0644]
StdLib/LibC/Softfloat/timesoftfloat.c [new file with mode: 0644]
StdLib/LibC/Softfloat/timesoftfloat.txt [new file with mode: 0644]
StdLib/LibC/Softfloat/unorddf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/unordsf2.c [new file with mode: 0644]
StdLib/LibC/Softfloat/unordtf2.c [new file with mode: 0644]
StdLib/StdLib.inc