From patchwork Thu Jun 9 00:27:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Noah Goldstein X-Patchwork-Id: 1640971 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=X7ubQX3j; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LJQ1J5bPfz9s2R for ; Thu, 9 Jun 2022 10:28:20 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3A88F383DB85 for ; Thu, 9 Jun 2022 00:28:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A88F383DB85 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1654734498; bh=bTX4gv06ge1Bt9RSEMTiROpO/SH8oPgGKGad2wQR6GM=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=X7ubQX3jGwvAV88XcTs0+vr2EK++blzNPuTbEyUBpJuAj150fePjLFFco3n5Z5hbc Ev8XhzmPBmTw421DEQc9O8PkreVOedH/FZTKyeYkny77uTGsDXDACNMUjEmN3FJ8MR +C8W5WeWDWC7Gbm4dqkMlUcVI1OWK8wWudMHdZvA= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by sourceware.org (Postfix) with ESMTPS id 31929386CE61 for ; Thu, 9 Jun 2022 00:28:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 31929386CE61 Received: by mail-pj1-x102e.google.com with SMTP id l7-20020a17090aaa8700b001dd1a5b9965so19746028pjq.2 for ; Wed, 08 Jun 2022 17:28:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bTX4gv06ge1Bt9RSEMTiROpO/SH8oPgGKGad2wQR6GM=; b=GMhfv81iLxtZmVSGEh5HZXvQlC7jv9NWIdBn/j7KD5rU3bgSuMWKYnF9xiJHF/ZATJ fMzHGRFgblK4cMCGyYlVH7ZlP40NYLmJVAXvTdysoUHGDDgKpizQcLPzXD0HhKXCtjL6 5aWcHXgWg3dIhxo667+u1TXCB10Nu6RC2QGL5LQrOvmYnBBo7lV16Cwv0VHok3NglwLO 5pyAtfBx9ESRPU4O1v4B3sxXjWorTJ5PkpJ/jopqTGWICzQmDb1Uzrazc4zTMjZkS61e WpysFY8nQlDKu6dW7bT63mvyQh3ysoD71lZkiWjY5S+g0KwWelu+guNfwU5Y1RTgycnv YbJg== X-Gm-Message-State: AOAM533AkU6G8i7uWkEziIZWDlAT9AT09ibP3CHJj0N1GPUIJvHdguu1 ZHIJyQ3Daj5Hf8LgbTZYQ5vtafyY7pJXHA== X-Google-Smtp-Source: ABdhPJzwaa2cakFrtbefuQmfU7zi5oOCj2L/HoaMJUek8cEKril+qBAHAW9meTqlKsA3SV24yjl+ZA== X-Received: by 2002:a17:90a:6941:b0:1e2:f37a:f889 with SMTP id j1-20020a17090a694100b001e2f37af889mr638459pjm.160.1654734483163; Wed, 08 Jun 2022 17:28:03 -0700 (PDT) Received: from noah-tgl.. ([2600:1010:b04a:6ef:9b9d:71d8:5e82:2442]) by smtp.gmail.com with ESMTPSA id w17-20020aa79a11000000b0051bed79a5e6sm10926714pfj.90.2022.06.08.17.28.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 17:28:02 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH v1] x86: Add copyright to strpbrk-c.c Date: Wed, 8 Jun 2022 17:27:59 -0700 Message-Id: <20220609002759.3361454-1-goldstein.w.n@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Noah Goldstein via Libc-alpha From: Noah Goldstein Reply-To: Noah Goldstein Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" --- sysdeps/x86_64/multiarch/strpbrk-c.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sysdeps/x86_64/multiarch/strpbrk-c.c b/sysdeps/x86_64/multiarch/strpbrk-c.c index c58dcb5605..abf4ff7f1a 100644 --- a/sysdeps/x86_64/multiarch/strpbrk-c.c +++ b/sysdeps/x86_64/multiarch/strpbrk-c.c @@ -1,3 +1,21 @@ +/* strpbrk with SSE4.2 intrinsics + Copyright (C) 2022 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 + . */ + #define USE_AS_STRPBRK #define STRCSPN_SSE2 __strpbrk_sse2 #define STRCSPN_SSE42 __strpbrk_sse42