gcc/libgcc/config/rs6000
Kewen Lin 47749c43ac rs6000: Fix typos in float128 ISA3.1 support
The recent float128 ISA3.1 support (r12-1340) has some typos,
it makes the libgcc build fail if it's with one binutils
(assembler) which doesn't support Power10 insns.  The error
looks like:

Error: invalid switch -mpower10
Error: unrecognized option -mpower10
... [...libgcc/shared-object.mk:14: float128-p10.o] Error 1

What this patch does are:
  - fix test target typo libgcc_cv_powerpc_3_1_float128_hw
    (written wrongly as libgcc_cv_powerpc_float128_hw, so it's
     going to build ISA3.1 stuffs just when detecting ISA3.0).
  - fix test used for libgcc_cv_powerpc_3_1_float128_hw check.
  - fix test option used for libgcc_cv_powerpc_3_1_float128_hw
    check.
  - remove the ISA3.1 related contents from t-float128-hw.
  - add new macro FLOAT128_HW_INSNS_ISA3_1 to differentiate
    ISA3.1 content from ISA3.0 part in ifunc support.

Bootstrapped/regtested on:
  - powerpc64le-linux-gnu P10
  - powerpc64le-linux-gnu P9 (w/i and w/o p10 supported as)
  - powerpc64-linux-gnu P8 (w/i and w/o p10 supported as)

libgcc/ChangeLog:

	* configure: Regenerate.
	* configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
	typos among the name, CFLAGS and the test.
	* config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
	fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
	Remove.
	* config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
	macro FLOAT128_HW_INSNS_ISA3_1.
	(FP128_3_1_CFLAGS_HW): Fix option typo.
	* config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
	FLOAT128_HW_INSNS_ISA3_1.
	(__floattikf_resolve): Likewise.
	(__floatuntikf_resolve): Likewise.
	(__fixkfti_resolve): Likewise.
	(__fixunskfti_resolve): Likewise.
	(__floattikf): Likewise.
	(__floatuntikf): Likewise.
	(__fixkfti): Likewise.
	(__fixunskfti): Likewise.
2021-06-22 23:09:30 -05:00
..
_dd_to_kf.c Add conversions between _Float128 and Decimal. 2021-02-22 15:33:29 -05:00
_divkc3.c Practical improvement to libgcc complex divide 2021-04-28 21:54:44 +02:00
_kf_to_dd.c Add conversions between _Float128 and Decimal. 2021-02-22 15:33:29 -05:00
_kf_to_sd.c Add conversions between _Float128 and Decimal. 2021-02-22 15:33:29 -05:00
_kf_to_td.c Add conversions between _Float128 and Decimal. 2021-02-22 15:33:29 -05:00
_mulkc3.c Update copyright years. 2021-01-04 10:26:59 +01:00
_powikf2.c Update copyright years. 2021-01-04 10:26:59 +01:00
_sd_to_kf.c Add conversions between _Float128 and Decimal. 2021-02-22 15:33:29 -05:00
_td_to_kf.c Add conversions between _Float128 and Decimal. 2021-02-22 15:33:29 -05:00
aix-unwind.h Update copyright years. 2021-01-04 10:26:59 +01:00
aixinitfini.c
atexit.c Update copyright years. 2021-01-04 10:26:59 +01:00
crtcxa.c Update copyright years. 2021-01-04 10:26:59 +01:00
crtdbase.S Update copyright years. 2021-01-04 10:26:59 +01:00
crtresfpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
crtresgpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
crtrestvr.S Update copyright years. 2021-01-04 10:26:59 +01:00
crtresxfpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
crtresxgpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
crtsavevr.S Update copyright years. 2021-01-04 10:26:59 +01:00
crtsavfpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
crtsavgpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
cxa_atexit.c Update copyright years. 2021-01-04 10:26:59 +01:00
cxa_finalize.c Update copyright years. 2021-01-04 10:26:59 +01:00
darwin-asm.h Update copyright years. 2021-01-04 10:26:59 +01:00
darwin-crt2.c Update copyright years. 2021-01-04 10:26:59 +01:00
darwin-fallback.c Update copyright years. 2021-01-04 10:26:59 +01:00
darwin-fpsave.S Update copyright years. 2021-01-04 10:26:59 +01:00
darwin-gpsave.S Update copyright years. 2021-01-04 10:26:59 +01:00
darwin-tramp.S Update copyright years. 2021-01-04 10:26:59 +01:00
darwin-unwind.h Update copyright years. 2021-01-04 10:26:59 +01:00
darwin-vecsave.S Update copyright years. 2021-01-04 10:26:59 +01:00
darwin-world.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtres32gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtres64gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtres64gprctr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtrest32gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtrest64gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtresx32gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtresx64gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtsav32gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtsav64gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtsav64gprctr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtsavg32gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtsavg64gpr.S Update copyright years. 2021-01-04 10:26:59 +01:00
e500crtsavg64gprctr.S Update copyright years. 2021-01-04 10:26:59 +01:00
eabi-ci.S Update copyright years. 2021-01-04 10:26:59 +01:00
eabi-cn.S Update copyright years. 2021-01-04 10:26:59 +01:00
eabi.S Update copyright years. 2021-01-04 10:26:59 +01:00
exit.h Update copyright years. 2021-01-04 10:26:59 +01:00
extendkftf2-sw.c Update copyright years. 2021-01-04 10:26:59 +01:00
fixkfti-sw.c Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
fixunskfti-sw.c Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
float128-hw.c Update copyright years. 2021-01-04 10:26:59 +01:00
float128-ifunc.c rs6000: Fix typos in float128 ISA3.1 support 2021-06-22 23:09:30 -05:00
float128-p10.c Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
float128-sed Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
float128-sed-hw Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
floattikf-sw.c Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
floatuntikf-sw.c Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
freebsd-unwind.h Update copyright years. 2021-01-04 10:26:59 +01:00
gthr-aix.h Update copyright years. 2021-01-04 10:26:59 +01:00
ibm-ldouble-format Update copyright years. 2021-01-04 10:26:59 +01:00
ibm-ldouble.c Update copyright years. 2021-01-04 10:26:59 +01:00
libgcc-aix-cxa.ver
libgcc-darwin.10.4.ver Update copyright years. 2021-01-04 10:26:59 +01:00
libgcc-darwin.10.5.ver Update copyright years. 2021-01-04 10:26:59 +01:00
libgcc-glibc.ver Update copyright years. 2021-01-04 10:26:59 +01:00
libgcc-ibm-ldouble.ver
linux-unwind.h Update copyright years. 2021-01-04 10:26:59 +01:00
morestack.S Update copyright years. 2021-01-04 10:26:59 +01:00
on_exit.c Update copyright years. 2021-01-04 10:26:59 +01:00
quad-float128.h rs6000: Fix *TItype_ppc 2021-06-10 15:20:09 +00:00
sfp-exceptions.c Update copyright years. 2021-01-04 10:26:59 +01:00
sfp-machine.h
sol-ci.S Update copyright years. 2021-01-04 10:26:59 +01:00
sol-cn.S Update copyright years. 2021-01-04 10:26:59 +01:00
t-aix-cxa aix: Add GCC64 configuration and FAT target libraries. 2020-06-21 14:14:46 -04:00
t-crtstuff
t-darwin
t-darwin64
t-e500v1-fp Update copyright years. 2021-01-04 10:26:59 +01:00
t-e500v2-fp Update copyright years. 2021-01-04 10:26:59 +01:00
t-float128 Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
t-float128-hw rs6000: Fix typos in float128 ISA3.1 support 2021-06-22 23:09:30 -05:00
t-float128-p10-hw rs6000: Fix typos in float128 ISA3.1 support 2021-06-22 23:09:30 -05:00
t-freebsd Update copyright years. 2021-01-04 10:26:59 +01:00
t-freebsd64
t-ibm-ldouble
t-linux rs6000: Fix up libgcc ABI when built with --with-long-double-format=ieee [PR97653] 2021-04-03 10:05:32 +02:00
t-lynx
t-netbsd
t-ppc64-fp [RS6000] Use LIB2_SIDITI_CONV_FUNCS in place of ppc64-fp.c 2020-11-17 10:39:01 +10:30
t-ppccomm
t-savresfgpr
t-slibgcc-aix Update copyright years. 2021-01-04 10:26:59 +01:00
t-stack-rs6000
tramp.S Fix logic error in 32-bit trampolines. 2021-04-23 18:16:03 -04:00
trunctfkf2-sw.c Update copyright years. 2021-01-04 10:26:59 +01:00