Re: [PATCH 3/3] aarch64: Import memrchr.S

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On 31.07.23 08:41, Sebastian Huber wrote:
> diff --git a/newlib/libc/machine/aarch64/memrchr.S b/newlib/libc/machine/aarch64/memrchr.S
> new file mode 100644
> index 0000000000..817e96dfdd
> --- /dev/null
> +++ b/newlib/libc/machine/aarch64/memrchr.S
> @@ -0,0 +1,112 @@
> +/*
> + * memrchr - find last character in a memory zone.
> + *
> + * Copyright (c) 2020-2022, Arm Limited.
> + * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
> + */
> +
> +/* Assumptions:
> + *
> + * ARMv8-a, AArch64, Advanced SIMD.
> + * MTE compatible.
> + */
> +
> +#include "asmdefs.h"

Sorry, I forgot to add the support for __OPTIMIZE_SIZE__  and 
PREFER_SIZE_OVER_SPEED in memrchr.S, see v2 of the patch.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: [email protected]
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.