From patchwork Thu Aug 20 14:24:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilco Dijkstra X-Patchwork-Id: 8321 Received: (qmail 26373 invoked by alias); 20 Aug 2015 14:29:52 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 26355 invoked by uid 89); 20 Aug 2015 14:29:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com From: "Wilco Dijkstra" To: "'GNU C Library'" Subject: [PATCH][AArch64] Enable _STRING_ARCH_unaligned Date: Thu, 20 Aug 2015 15:24:23 +0100 Message-ID: <000101d0db53$e96233c0$bc269b40$@com> MIME-Version: 1.0 X-MC-Unique: j7vj7vq8TGmFpEIqxaZ_KA-1 Enable _STRING_ARCH_unaligned on AArch64. 2015-08-20 Wilco Dijkstra * sysdeps/aarch64/bits/string.h: New file. (_STRING_ARCH_unaligned): Define. --- sysdeps/aarch64/bits/string.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sysdeps/aarch64/bits/string.h diff --git a/sysdeps/aarch64/bits/string.h b/sysdeps/aarch64/bits/string.h new file mode 100644 index 0000000..5221e69 --- /dev/null +++ b/sysdeps/aarch64/bits/string.h @@ -0,0 +1,24 @@ +/* Optimized, inlined string functions. AArch64 version. + Copyright (C) 2015 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#ifndef _STRING_H +# error "Never use directly; include instead." +#endif + +/* AArch64 implementations support efficient unaligned access. */ +#define _STRING_ARCH_unaligned 1