[all-commits] [llvm/llvm-project] 05a421: [builtins] Avoid using long double in generic sour...
Alexander Richardson via All-commits
all-commits at lists.llvm.org
Tue Oct 24 17:16:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 05a4212cc76d170445f5a118ec6d1a2a76f61fc8
https://github.com/llvm/llvm-project/commit/05a4212cc76d170445f5a118ec6d1a2a76f61fc8
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2023-10-25 (Wed, 25 Oct 2023)
Changed paths:
M compiler-rt/lib/builtins/divxc3.c
M compiler-rt/lib/builtins/extendxftf2.c
M compiler-rt/lib/builtins/fixunsxfdi.c
M compiler-rt/lib/builtins/fixunsxfsi.c
M compiler-rt/lib/builtins/fixunsxfti.c
M compiler-rt/lib/builtins/fixxfdi.c
M compiler-rt/lib/builtins/fixxfti.c
M compiler-rt/lib/builtins/floatdixf.c
M compiler-rt/lib/builtins/floattixf.c
M compiler-rt/lib/builtins/floatundixf.c
M compiler-rt/lib/builtins/floatuntixf.c
M compiler-rt/lib/builtins/fp_extend.h
M compiler-rt/lib/builtins/fp_trunc.h
M compiler-rt/lib/builtins/i386/floatdixf.S
M compiler-rt/lib/builtins/i386/floatundixf.S
M compiler-rt/lib/builtins/int_types.h
M compiler-rt/lib/builtins/mulxc3.c
M compiler-rt/lib/builtins/powixf2.c
M compiler-rt/lib/builtins/ppc/multc3.c
M compiler-rt/lib/builtins/trunctfxf2.c
M compiler-rt/lib/builtins/x86_64/floatdixf.c
M compiler-rt/lib/builtins/x86_64/floatundixf.S
Log Message:
-----------
[builtins] Avoid using long double in generic sources (#69754)
Use of long double can be error-prone since it could be one of 80-bit
extended precision float, IEEE 128-bit float, or IBM 128-bit float.
Instead use an explicit xf_float typedef for the remaining cases where
long double is being used in the implementation. This patch does not
touch
the PPC specializations which still use long double.
More information about the All-commits
mailing list