From patchwork Wed Aug 8 17:18:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 955196 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-95140-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sourceware.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="xkS1EYK5"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41lylY5trmz9s3Z for ; Thu, 9 Aug 2018 03:18:32 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=vUSV/t7oo4u1yFf7pxdnveSk1e60G1MEDQny32WirT3UmkVozJ/B5 VeBuUOetbcqmwhVuScHfNlUYtRQzzq6OJrrDcF7gFCv5sJ8IknIh/ZDI4brBg5oB EvW+JmzXWJj8HflDUXePPnhDTZ3ZCCKNoknvhBposnZI+2W8IXMVhw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=dfZQBOb4pQT0a9GVWhAnOTdcQDQ=; b=xkS1EYK5JuAZGZCOAyPVTql6MMB7 HT2VMS0KI+ngBb15hnQ+yeeOe2mJOpffrvCqnWZi10dUuLEFIG/sPcb8ireKFVAL tB1FDdowamWN0qvizUN8SK+oOFt713MxU5xeFl/beBa7XPHy2e7MEqnqB+zU6mRE iO/RvUoAq/C469o= Received: (qmail 9414 invoked by alias); 8 Aug 2018 17:18:27 -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 9401 invoked by uid 89); 8 Aug 2018 17:18:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_NEUTRAL, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: homiemail-a52.g.dreamhost.com From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [COMMITTED] [aarch64] Fix value of MIN_PAGE_SIZE for testing Date: Wed, 8 Aug 2018 22:48:05 +0530 Message-Id: <20180808171805.19300-1-siddhesh@sourceware.org> MIN_PAGE_SIZE is normally set to 4096 but for testing it can be set to 16 so that it exercises the page crossing code for every misaligned access. The value was set to 15, which is obviously wrong, so fixed as obvious and tested. * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE): Fix value. --- ChangeLog | 5 +++++ sysdeps/aarch64/strlen.S | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d3bb06f596..37fe532a68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-08-08 Siddhesh Poyarekar + + * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE): + Fix value. + 2018-08-08 Joseph Myers * math/libm-test-nextdown.inc (do_test): Move comment to .... diff --git a/sysdeps/aarch64/strlen.S b/sysdeps/aarch64/strlen.S index 32292e3b6e..eb773ef532 100644 --- a/sysdeps/aarch64/strlen.S +++ b/sysdeps/aarch64/strlen.S @@ -54,7 +54,7 @@ #define REP8_80 0x8080808080808080 #ifdef TEST_PAGE_CROSS -# define MIN_PAGE_SIZE 15 +# define MIN_PAGE_SIZE 16 #else # define MIN_PAGE_SIZE 4096 #endif