gcc/libgcc/config
Jiaxun Yang 05c4e3ecb5 [PATCH v2] sh: libgcc: Implement fenv rouding and exceptions for soft-fp [PR118257]
Implement fenv rouding and exceptions for soft-fp, as per SuperH
arch specification.

No new tests required, as it's already covered by many torture tests
with fenv_exceptions.

	PR target/118257

libgcc/ChangeLog:

	* config/sh/sfp-machine.h (_FPU_GETCW): Implement with builtin.
	(_FPU_SETCW): Likewise.
	(FP_EX_ENABLE_SHIFT): Derive from arch spec.
	(FP_EX_CAUSE_SHIFT): Likewise.
	(FP_RND_MASK): Likewise.
	(FP_EX_INVALID): Likewise.
	(FP_EX_DIVZERO): Likewise.
	(FP_EX_ALL): Likewise.
	(FP_EX_OVERFLOW): Likewise.
	(FP_EX_UNDERFLOW): Likewise.
	(FP_EX_INEXACT): Likewise.
	(_FP_DECL_EX): Declear default FCSR value.
	(FP_RND_NEAREST): Derive from arch spec.
	(FP_RND_ZERO): Likewise.
	(FP_INIT_ROUNDMODE): Likewise.
	(FP_ROUNDMODE): Likewise.
	(FP_TRAPPING_EXCEPTIONS): Likewise.
	(FP_HANDLE_EXCEPTIONS): Implement with _FPU_SETCW.
2025-04-19 08:12:07 -06:00
..
aarch64 libgcc: Remove PREDRES and LS64 from AArch64 cpuinfo 2025-03-13 13:30:31 +00:00
alpha Update copyright years. 2025-01-02 11:59:57 +01:00
arc Update copyright years. 2025-01-02 11:59:57 +01:00
arm arm: libgcc: make -spec=sync-*.specs compatible with LTO [PR118642] 2025-01-28 16:23:06 +00:00
avr AVRrc: Tweak __[u]mulhisi3. 2025-04-07 12:50:04 +02:00
bfin Update copyright years. 2025-01-02 11:59:57 +01:00
bpf
c6x Update copyright years. 2025-01-02 11:59:57 +01:00
cris Update copyright years. 2025-01-02 11:59:57 +01:00
csky Update copyright years. 2025-01-02 11:59:57 +01:00
epiphany Update copyright years. 2025-01-02 11:59:57 +01:00
fr30 Update copyright years. 2025-01-02 11:59:57 +01:00
frv Update copyright years. 2025-01-02 11:59:57 +01:00
ft32 Update copyright years. 2025-01-02 11:59:57 +01:00
gcn GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
h8300 [PATCH] H8/300, libgcc: PR target/114222 For HImode call internal ffs() implementation instead of an external one 2025-03-01 08:21:16 -07:00
i386 Fix implementation of Win32 thread model for C++ modules 2025-04-14 09:37:51 +02:00
ia64 Update copyright years. 2025-01-02 11:59:57 +01:00
iq2000 Update copyright years. 2025-01-02 11:59:57 +01:00
libbid Update copyright years. 2025-01-02 11:59:57 +01:00
lm32 Update copyright years. 2025-01-02 11:59:57 +01:00
loongarch LoongArch: Fix the issue of function jump out of range caused by crtbeginS.o [PR118844]. 2025-02-17 10:15:39 +08:00
m32c Update copyright years. 2025-01-02 11:59:57 +01:00
m32r Update copyright years. 2025-01-02 11:59:57 +01:00
m68k [PATCH] libgcc/m68k: More fixes for soft float 2025-01-07 14:54:11 -07:00
mcore Update copyright years. 2025-01-02 11:59:57 +01:00
microblaze Update copyright years. 2025-01-02 11:59:57 +01:00
mingw Add aarch64-w64-mingw32 target to libgcc 2024-05-07 16:02:35 +00:00
mips Update copyright years. 2025-01-02 11:59:57 +01:00
mmix Update copyright years. 2025-01-02 11:59:57 +01:00
moxie Update copyright years. 2025-01-02 11:59:57 +01:00
msp430 Update copyright years. 2025-01-02 11:59:57 +01:00
nds32 Update copyright years. 2025-01-02 11:59:57 +01:00
nvptx GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
or1k or1k: add .note.GNU-stack section on linux 2025-01-06 17:20:43 +00:00
pa Update copyright years. 2025-01-02 11:59:57 +01:00
pdp11
pru Update copyright years. 2025-01-02 11:59:57 +01:00
riscv RISC-V: Drop __riscv_vendor_feature_bits 2025-02-11 18:40:41 -07:00
rl78 Update copyright years. 2025-01-02 11:59:57 +01:00
rs6000 rs6000: Add cast to avoid pointer to integer comparison warning [PR117674] 2025-02-07 13:40:15 -06:00
rx Update copyright years. 2025-01-02 11:59:57 +01:00
s390 Update copyright years. 2025-01-02 11:59:57 +01:00
score Update copyright years. 2025-01-02 11:59:57 +01:00
sh [PATCH v2] sh: libgcc: Implement fenv rouding and exceptions for soft-fp [PR118257] 2025-04-19 08:12:07 -06:00
sol2 Update copyright years. 2025-01-02 11:59:57 +01:00
sparc Update copyright years. 2025-01-02 11:59:57 +01:00
stormy16 Update copyright years. 2025-01-02 11:59:57 +01:00
v850 Update copyright years. 2025-01-02 11:59:57 +01:00
vax Update copyright years. 2025-01-02 11:59:57 +01:00
visium Update copyright years. 2025-01-02 11:59:57 +01:00
vms Update copyright years. 2025-01-02 11:59:57 +01:00
xtensa Update copyright years. 2025-01-02 11:59:57 +01:00
darwin-64.c Update copyright years. 2025-01-02 11:59:57 +01:00
darwin-crt-tm.c Update copyright years. 2025-01-02 11:59:57 +01:00
darwin-crt3.c Update copyright years. 2025-01-02 11:59:57 +01:00
darwin-unwind.ver
darwin10-unwind-find-enc-func.c Darwin, libgcc : Adjust min version supported for the OS. 2023-05-19 09:06:01 +01:00
gthr-lynx.h Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-rtems.h Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-vxworks-cond.c Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-vxworks-thread.c Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-vxworks-tls.c Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-vxworks.c Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-vxworks.h Update copyright years. 2025-01-02 11:59:57 +01:00
hardfp.c Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc-glibc.ver Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h libgcc: hide CIE and FDE data for DWARF architecture extensions behind a handler. 2024-09-23 15:24:21 +01:00
t-crtfm
t-crtstuff-pic
t-darwin libgcc: Make heap trampoline support dynamic [PR113403]. 2024-01-30 09:33:09 +00:00
t-darwin-ehs
t-darwin-libgccs1 libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809]. 2024-09-24 19:23:02 +01:00
t-darwin-min-1 Darwin, libgcc : Adjust min version supported for the OS. 2023-05-19 09:06:01 +01:00
t-darwin-min-5 Darwin, libgcc : Adjust min version supported for the OS. 2023-05-19 09:06:01 +01:00
t-darwin-min-8 Darwin, libgcc : Adjust min version supported for the OS. 2023-05-19 09:06:01 +01:00
t-darwin-min-11 libgcc, Darwin: From macOS 11, make that the earliest supported. 2024-09-22 19:43:08 +01:00
t-darwin-rpath Config,Darwin: Allow for configuring Darwin to use embedded runpath. 2023-10-22 19:30:02 +01:00
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-gthr-noweak
t-gthr-vxworks
t-gthr-vxworksae
t-hardfp Update copyright years. 2025-01-02 11:59:57 +01:00
t-hardfp-sfdf Update copyright years. 2025-01-02 11:59:57 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2025-01-02 11:59:57 +01:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright years. 2025-01-02 11:59:57 +01:00
t-slibgcc-darwin Config,Darwin: Allow for configuring Darwin to use embedded runpath. 2023-10-22 19:30:02 +01:00
t-slibgcc-elf-ver
t-slibgcc-fuchsia Update copyright years. 2025-01-02 11:59:57 +01:00
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc Update copyright years. 2025-01-02 11:59:57 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp Update copyright years. 2025-01-02 11:59:57 +01:00
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf libgcc _BitInt support [PR102989] 2023-09-06 17:33:05 +02:00
t-softfp-tf libgcc _BitInt support [PR102989] 2023-09-06 17:33:05 +02:00
t-stack
t-tls
t-vxcrtstuff
t-vxcrtstuffS
t-vxworks
t-vxworksae
unwind-dw2-fde-darwin.c Update copyright years. 2025-01-02 11:59:57 +01:00
vxcrtstuff.c