From owner-freebsd-questions@freebsd.org Mon Feb 11 05:25:15 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7F9514E925A for ; Mon, 11 Feb 2019 05:25:15 +0000 (UTC) (envelope-from iam@sdf.org) Received: from mx.sdf.org (mx.sdf.org [205.166.94.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EFC3843A2 for ; Mon, 11 Feb 2019 05:25:14 +0000 (UTC) (envelope-from iam@sdf.org) Received: from sdf.org (IDENT:iam@sdf.lonestar.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id x1B5P3ri005640 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Mon, 11 Feb 2019 05:25:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sdf.org; s=default; t=1549862712; bh=1aAAvmuh5yyvDr/Ee6TBulzmeqLgVZEFqld/iZy6QNY=; h=Date:From:To:Subject:In-Reply-To:References; b=Rol3rGtFSzCYYEQ5bUJMdnWoVFHsidc1ajyWOBRqsMRP2DNJa9/hjwds/xVltpGpA ax7dSVtf3FPz8Lc5bv86vxXucrn9PEt1gGLdbNgZnrOec9HuJUDZWkX4hQ1QOENToG fm2es0mTomEBbdApZra22W8+yGZOY2hDC/TREPG4= Received: (from iam@localhost) by sdf.org (8.15.2/8.12.8/Submit) id x1B5P3gB018453; Mon, 11 Feb 2019 05:25:03 GMT Date: Mon, 11 Feb 2019 05:25:03 GMT From: iam@sdf.org Message-Id: <201902110525.x1B5P3gB018453@sdf.org> To: bjb@sourcerer.ca, freebsd-questions@freebsd.org Subject: Re: any way asm people could contribute? In-Reply-To: <20190210224610.bjx6a5jchi7rb6tg@blueeyes.stuffed.animals> References: , <20190210213504.0B9E5200E1BA25@ary.qy>, <20190210224610.bjx6a5jchi7rb6tg@blueeyes.stuffed.animals> X-Rspamd-Queue-Id: 8EFC3843A2 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=sdf.org header.s=default header.b=Rol3rGtF X-Spamd-Result: default: False [-0.11 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.92)[-0.921,0]; RCVD_TLS_LAST(0.00)[]; R_DKIM_REJECT(1.00)[sdf.org:s=default]; NEURAL_HAM_LONG(-0.81)[-0.805,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sdf.org]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx.sdf.org]; DKIM_TRACE(0.00)[sdf.org:-]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[20.94.166.205.list.dnswl.org : 127.0.10.0]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.20)[-0.202,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.07)[ip: (-0.53), ipnet: 205.166.94.0/24(-0.27), asn: 14361(0.50), country: US(-0.07)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 05:25:16 -0000 > From owner-freebsd-questions@freebsd.org Sun Feb 10 22:46:50 2019 > From: "Brenda J. Butler" > To: freebsd-questions@freebsd.org > Subject: Re: any way asm people could contribute? > > On Sun, Feb 10, 2019 at 04:35:03PM -0500, John Levine wrote: > > In article you write: > > >If anyone can give more precise information about how to > > >contribute in assembly language, I would find it interesting too. > > > > I think there are a few libraries that have optional assembly language > > versions of speed critical parts. But in general I agree with you > > that drivers are the place to look. > > > > Keep in mind that every different architecture has its own assembly > > language, so if you've fixed a driver in i386 assembler, there's > > probably another version in amd64 assembler and possibly in the > > various powerpc and arm assemblers. > > There are assembly bits in valgrind, you could also look in > libc and equivalents, also the other tools like strace, ld, etc. > > Compilers might have some parts in assembly (gcc, clang, etc). > > I don't know of any project that is largely in assembly - the only > ones I know of are mainly C with some small bits in assembly. > So could be a steep learning curve learning the intricacies of > the thing in which the assembly is embedded (so to speak). > > Maybe also look for embedded type projects, or non-usual > architectures. Maybe also libm, data science, graphics libraries - > places where there are cpu-intensive operations that need > optimization. What about the projects that run on graphics > processors (boinc project or other distributed/crowd computing > for example). Bitcoin mining (might run on dedicated ASICs). > > I would be interested to hear if you find something interesting > to work on. > > bjb > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > i am currently learning x86 assembly and will be going further on to x86_64 assembly soon. i think i will focus on the x86_64 platform only and work at improving support for more modern x86_64 extensions like avx, avx2, avx-512, simd and others as they come along. for the same, i have looked into a the method employed by the solaris linker loader due to which a single binary can have multiple capabilities as per the capabilities offered by the processor. this i believe is a much better approach than having compile time binary generation which leads to multiple binaries floating around. i think, as i get better as assembly, i'll look into improving the freebsd linker loader and then later work on a newer assembler for x86_64.