NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/55897 CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/builtins



The following reply was made to PR port-arm/55897; it has been noted by GNATS.

From: "Rin Okuyama" <rin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/55897 CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/builtins
Date: Wed, 16 Jun 2021 05:07:49 +0000

 Module Name:	src
 Committed By:	rin
 Date:		Wed Jun 16 05:07:49 UTC 2021
 
 Modified Files:
 	src/sys/external/bsd/compiler_rt/dist/lib/builtins: adddf3.c addsf3.c
 	    ashldi3.c ashrdi3.c comparedf2.c comparesf2.c divdf3.c divsf3.c
 	    divsi3.c extendhfsf2.c extendsfdf2.c fixdfdi.c fixdfsi.c fixsfdi.c
 	    fixsfsi.c fixunsdfdi.c fixunsdfsi.c fixunssfdi.c fixunssfsi.c
 	    floatdidf.c floatdisf.c floatsidf.c floatsisf.c floatundidf.c
 	    floatundisf.c floatunsidf.c floatunsisf.c int_lib.h lshrdi3.c
 	    muldf3.c muldi3.c mulsf3.c negdf2.c negsf2.c subdf3.c subsf3.c
 	    truncdfhf2.c truncdfsf2.c truncsfhf2.c udivsi3.c
 
 Log Message:
 PR port-arm/55897
 
 Cherry-pick upstream commit llvm-svn: 314851:
 
 https://github.com/llvm/llvm-project/commit/0d586d06a756b126a7eb43a21ecc12bd243d7cd8#diff-549f1733063df365663fe375f336034e33e16d6bf2826cd4f966045aeb136007
 ----
 [PATCH] [compiler-rt] Add back ARM EABI aliases where legal.
 
 r303188 removed all the uses of aliases for EABI functions from
 compiler-rt, because some of them had mismatched calling conventions.
 Obviously, we can't use aliases for functions which don't have the same
 calling convention, but that's only an issue for floating-point
 functions with the hardfloat ABI.  In other cases, the stubs increase
 size and reduce performance for no benefit.
 
 This patch adds back the aliases, with appropriate checks to make sure
 they're only used in cases where the calling convention matches.
 
 llvm-svn: 314851
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/adddf3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/ashldi3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/ashrdi3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/divdf3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/divsf3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/divsi3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/extendhfsf2.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/extendsfdf2.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfdi.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfsi.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfdi.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfsi.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsdfdi.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsdfsi.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixunssfdi.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixunssfsi.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatdisf.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatsidf.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatsisf.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatundisf.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsidf.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsisf.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/lshrdi3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/muldf3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/muldi3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/mulsf3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/negdf2.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/negsf2.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/subdf3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/subsf3.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/truncdfhf2.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/truncdfsf2.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/truncsfhf2.c \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/udivsi3.c
 cvs rdiff -u -r1.4 -r1.5 \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c
 cvs rdiff -u -r1.3 -r1.4 \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c
 cvs rdiff -u -r1.5 -r1.6 \
     src/sys/external/bsd/compiler_rt/dist/lib/builtins/int_lib.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index