From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 1A56B3858D39 for ; Wed, 1 Feb 2023 17:57:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1A56B3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-x633.google.com with SMTP id be8so19239194plb.7 for ; Wed, 01 Feb 2023 09:57:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Hxt6hEeMI6eTjaPJwoZ6meVaXxBJ/+Wv4RbIWasCf8o=; b=ExGx/gtnepahfp2CNb0C0knSjF3G9yjXKzkeSbbi+n7egrwoIvFY47qESMMd2tBylP wzNvO+Ki9MG3Ol5HoHrTBRLgn7jjx69zOkx4qtqzaPgzDA//adId1LJAQhG2vSJus183 vyFHhnd/buBjfsZg6CGqh1YoLJpa/OgzZIRbbJSaJucQAsPePSRJGgUHH37efyPRjVMF u7hwabJCtF+ycFB+N6CcoiU2rCVkfzoLx4eVc7hvHaFAEuswFqQn0uNlsFc4f0a+hP2J KI5Lw3C7Ux4UqvzOLmH1euRuCDjeBR/fKkGeiIzfBN5xwFyTaUfyyu+oQmDf3vfmDQmA 4OQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Hxt6hEeMI6eTjaPJwoZ6meVaXxBJ/+Wv4RbIWasCf8o=; b=o1CRs7wm99prCrr2KSje9NkJUgROlJuYaU52O7ZV/Ej8VS4sN3s439eG41uDgBXbp9 cod50Ttzr2LjoE8mWtRZFqSF2c2LXNIJEbqB2QPaaygNtfpz54F+sSnMHaaCfgIV/0tK IA9seWPhHH599nv5tzGLEU2e9LwoiWgUX49W9hmjBEWJesBdb6Lhv4gp0+tOQDc+8qlz 2yV7W5KGN+yFbgNzHX5qQ/uYgaCwHYxif/vfMOGktAxKLKYHYIO4R83iNBX4Dr2u4fym 0avpIWlHmfcZ83N7KNDk7qbNc670VI+hEnqe0xHu7bYfQQ6SyV9WkpccGskSnx+RtmH2 sszg== X-Gm-Message-State: AO0yUKWTQNjdJbWNHScKYxdHTJUtuAsjEHWxE69ma7Uh6Y1erP9LE+00 M6gsYCxoTB58P/Ry2FPA3pSqDUalnL+3jiC9 X-Google-Smtp-Source: AK7set+RI53DAhbv4mIEWW0osR0ms4Iy9O334ntUmW59z68Pd3BfAt890OFOj+++VO6gDrZ8bFgoQw== X-Received: by 2002:a17:902:ecd0:b0:196:8445:56be with SMTP id a16-20020a170902ecd000b00196844556bemr4132189plh.42.1675274249216; Wed, 01 Feb 2023 09:57:29 -0800 (PST) Received: from [192.168.50.50] (rrcs-173-197-98-118.west.biz.rr.com. [173.197.98.118]) by smtp.gmail.com with ESMTPSA id jg20-20020a17090326d400b00195f249e688sm11997362plb.248.2023.02.01.09.57.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Feb 2023 09:57:28 -0800 (PST) Message-ID: <1eb9a605-75f8-0868-5f12-aa5adb942a9c@linaro.org> Date: Wed, 1 Feb 2023 07:57:25 -1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v11 29/29] string: Hook up the default implementation on test-memrchr Content-Language: en-US To: Adhemerval Zanella , libc-alpha@sourceware.org, Noah Goldstein , Jeff Law , Xi Ruoyao References: <20230201170406.303978-1-adhemerval.zanella@linaro.org> <20230201170406.303978-30-adhemerval.zanella@linaro.org> From: Richard Henderson In-Reply-To: <20230201170406.303978-30-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2/1/23 07:04, Adhemerval Zanella wrote: > --- > string/test-memrchr.c | 7 +++++++ > 1 file changed, 7 insertions(+) Reviewed-by: Richard Henderson r~ > > diff --git a/string/test-memrchr.c b/string/test-memrchr.c > index a4eac3592e..e4cba1878a 100644 > --- a/string/test-memrchr.c > +++ b/string/test-memrchr.c > @@ -24,6 +24,13 @@ typedef char *(*proto_t) (const char *, int, size_t); > > IMPL (memrchr, 1) > > +/* Also check the generic implementation. */ > +#undef weak_alias > +#define weak_alias(a, b) > +#define MEMRCHR __memrchr_default > +#include "string/memrchr.c" > +IMPL (__memrchr_default, 1) > + > /* Naive implementation to verify results. */ > char * > simple_memrchr (const char *s, int c, size_t n)