From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/15056 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: JeanHeyd Meneide Newsgroups: gmane.linux.lib.musl.general Subject: [ Guidance ] Potential New Routines; Requesting Help Date: Tue, 24 Dec 2019 18:06:50 -0500 Message-ID: Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="11859"; mail-complaints-to="usenet@blaine.gmane.org" To: musl@lists.openwall.com Original-X-From: musl-return-15072-gllmg-musl=m.gmane.org@lists.openwall.com Wed Dec 25 00:07:15 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1ijtGl-0002v5-7L for gllmg-musl@m.gmane.org; Wed, 25 Dec 2019 00:07:15 +0100 Original-Received: (qmail 17703 invoked by uid 550); 24 Dec 2019 23:07:12 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17671 invoked from network); 24 Dec 2019 23:07:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=iBQRWXA3DzQTv8w3tMhc7DFlJoB8kFcmP2N2nuvMVL4=; b=kbv6I1qP4OqOAa271i0Iu2FUlPFXOT2+WPFGlkry7NSUokIsL8YHlG4l4tfA4VNVzz lIkGpb2TsPaKdcnSA+TQcEyAme0ZjW2QlQ9qEKEsrcbnabeJ8+hbSsz54uBmqBRRSXIO x0UpS1Tu7Zk/ERgG5MxCbnjSd87tXlLvpu1J1Vs7N/UPzOoPXL/RkvwqGKq6k5Us5tBg 7ucEl1UWMD7xV/rcPogMMbXhkKnaZn10JbPB3nBaHU8fuB5tnzzbH+xguideylEiEyzI eZK7h3Kui3AtlIvGn4WGid13m44egWWIxzXQMv7b49odk1ciTbodbGbcCR4BZF75aAWq 6wuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iBQRWXA3DzQTv8w3tMhc7DFlJoB8kFcmP2N2nuvMVL4=; b=T3RuxU050nC1b3h+4pHB0skY2I3J/FtN30u5/22NTSTPAcafR7HzjArMd1UB1UM5Lv mGwKaod96Y9ez2kJBF21eLFegGpS0wllyhdTZ6I9C067xKlC/8gzXc/0iIyzg8PM8on1 48IJ5mxDTF06MsTmdvLDglGs141P4hY30OaaXqhmAH4fDtgfO56quGvP4mnzlMtzyUyN PjimES0I0/MYVAjZYYkJgPOFXBHO00wW5eYxWyjmtw5kqu5VkRD9dPI0uTUxWNcIKOf0 oNeKSkXqoNXsqB8oYCq+v9hvPoo7LnnUuuFlNSB30Yt8VMA7YMYpXMPzrw+BLw+2L2i7 /aWQ== X-Gm-Message-State: APjAAAVzKgmsXKLrDndAd841lNrBBNn46m78iNToDaga8gNgKMzqxXqD 1uFTMadY3tDIueZKpwaOlaUqYAzP8FRD9G0UJbmZUdm6 X-Google-Smtp-Source: APXvYqz+piezF02kWNYqU13yS5qHZUAmvvUFrQod7rkEpqU6SNDL7fRBmEtMIVEAgwEQBgS4gEawH0/ez0/xGjwl2qs= X-Received: by 2002:a1f:4d85:: with SMTP id a127mr22597188vkb.67.1577228820045; Tue, 24 Dec 2019 15:07:00 -0800 (PST) Xref: news.gmane.org gmane.linux.lib.musl.general:15056 Archived-At: Dear musl Maintainers and Contributors, I hope this e-mail finds you doing well this Holiday Season! I am interested in developing a few fast routines for text encoding for musl after the positive reception of a paper for the C Standard related to fast conversion routines: https://thephd.github.io/vendor/future_cxx/papers/source/C%20-%20Efficient%20Character%20Conversions.html While I have a basic implementation, I would like to use some processor and compiler intrinsics to make it faster and make sure my first contribution meets both quality and speed standards for a C library. Is there a place in the codebase I can look to for guidance on how to handle intrinsics properly within musl libc? If there is already infrastructure and common idioms in place, I would rather use that then starting to spin up my own. Sincerely, JeanHeyd Meneide