d119b0d759
Subject: [PATCH 2/2] Replace ARM arithmetic support routines with EDK2 versions. Replace the incomplete GPL licensed ARM arithmetic support routines with the ones from the EDK2 project. These cover long long multiplication and long long logical shift as well. Also remove the special case for small dividends in DivU64x32: we can simply let the compiler handle this, and emit calls to the support routines where appropriate. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>
7 lines
91 B
C
7 lines
91 B
C
|
|
#define ASM_PFX(x) x
|
|
#define GCC_ASM_EXPORT(x) \
|
|
.globl x ; \
|
|
.type x, %function
|
|
|