[haiku-commits] Change in ...haiku[master]: sparc: soft-float support library

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 3 Mar 2019 07:54:34 +0000

From Adrien Destugues <pulkomandy@xxxxxxxxx>:

Adrien Destugues has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1137


Change subject: sparc: soft-float support library
......................................................................

sparc: soft-float support library

No sparc implementation actually has "long double" implemented in
hardware. The instructions are defined in the spec, but they are caught
and emulated by traps.

gcc even bypasses the traps and calls the support functions directly.

Import the required functions from FreeBSD (they implement the
operations as specified in the sparc ABI) and link them into the kernel,
for now (they will also need to be in libroot).
---
M src/system/kernel/lib/arch/sparc/Jamfile
A src/system/libroot/os/arch/sparc/fpu_add.c
A src/system/libroot/os/arch/sparc/fpu_arith.h
A src/system/libroot/os/arch/sparc/fpu_compare.c
A src/system/libroot/os/arch/sparc/fpu_div.c
A src/system/libroot/os/arch/sparc/fpu_emu.h
A src/system/libroot/os/arch/sparc/fpu_explode.c
A src/system/libroot/os/arch/sparc/fpu_extern.h
A src/system/libroot/os/arch/sparc/fpu_implode.c
A src/system/libroot/os/arch/sparc/fpu_mul.c
A src/system/libroot/os/arch/sparc/fpu_reg.S
A src/system/libroot/os/arch/sparc/fpu_reg.h
A src/system/libroot/os/arch/sparc/fpu_sqrt.c
A src/system/libroot/os/arch/sparc/fpu_subr.c
A src/system/libroot/os/arch/sparc/fsr.h
A src/system/libroot/os/arch/sparc/ieee.h
A src/system/libroot/os/arch/sparc/instr.h
A src/system/libroot/os/arch/sparc/softfloat.c
18 files changed, 4,040 insertions(+), 0 deletions(-)



  git pull ssh://git.haiku-os.org/haiku refs/changes/37/1137/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1137
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Ifc21faa29fffa4bf5d3941468b62d81229a44971
Gerrit-Change-Number: 1137
Gerrit-PatchSet: 1
Gerrit-Owner: Adrien Destugues <pulkomandy@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in ...haiku[master]: sparc: soft-float support library - Gerrit