Source-Changes archive

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

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



Module Name:    src
Committed By:   rin
Date:           Wed Jun 16 05:06:46 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
        src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm:
            aeabi_cdcmpeq_check_nan.c aeabi_cfcmpeq_check_nan.c aeabi_div0.c
            aeabi_drsub.c aeabi_frsub.c

Log Message:
PR port-arm/55897

Cherry-pick upstream commit llvm-svn: 303188:

https://github.com/llvm/llvm-project/commit/36ac5ddff7377586390a71cb3261f0a40d274308#diff-549f1733063df365663fe375f336034e33e16d6bf2826cd4f966045aeb136007
----
[PATCH] builtins: expand out the AEABI function stubs

These actually may change calling conventions.  We cannot simply provide
function aliases as the aliased function may have a different calling
convention.  Provide a forwarding function instead to permit the
compiler to synthesize the calling convention adjustment thunk.

Remove the `ARM_EABI_FNALIAS` macro as that is not safe to use.

Resolves PR33030!

llvm-svn: 303188


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/adddf3.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/divdf3.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/subdf3.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/subsf3.c
cvs rdiff -u -r1.1.1.4 -r1.2 \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c
cvs rdiff -u -r1.1.1.1 -r1.2 \
    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/extendhfsf2.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatdisf.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatundisf.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/lshrdi3.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/muldi3.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/negsf2.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/truncdfhf2.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.1.1.2 -r1.2 \
    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/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/floatsidf.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatsisf.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/muldf3.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/truncdfsf2.c
cvs rdiff -u -r1.2 -r1.3 \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c
cvs rdiff -u -r1.4 -r1.5 \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/int_lib.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_div0.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_drsub.c \
    src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_frsub.c

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