From owner-freebsd-questions@freebsd.org Mon Feb 11 07:02:50 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 6E39714EB2E0 for ; Mon, 11 Feb 2019 07:02:50 +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 6A21186F36 for ; Mon, 11 Feb 2019 07:02:49 +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 x1B72g7j021934 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Mon, 11 Feb 2019 07:02:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sdf.org; s=default; t=1549868567; bh=0huXaSCWQQDDpdtGsrH6e4s7p8gWgpK7itjY8sWrB/Q=; h=Date:From:To:Subject:In-Reply-To:References; b=OeE9ZVe3zVlpPjkHWaY6zu+d/6fcgOzIOJmbUsTUpNzuWcMVjkk9EV16ts7p+FQP1 bDx1QpgsOJ20p0zcpzWlqZOK5GEUfM0EeJFl0SyqHV/eQh8XC9SJCgL+uflAYvA2oX 3d43EO4fiHF8Ksfejne2B943OcLdFH0ffh2m2wI0= Received: (from iam@localhost) by sdf.org (8.15.2/8.12.8/Submit) id x1B72ghK016363; Mon, 11 Feb 2019 07:02:42 GMT Date: Mon, 11 Feb 2019 07:02:42 GMT From: iam@sdf.org Message-Id: <201902110702.x1B72ghK016363@sdf.org> To: bjb@sourcerer.ca, freebsd-questions@freebsd.org, iam@sdf.org Subject: Re: any way asm people could contribute? In-Reply-To: <201902110525.x1B5P3gB018453@sdf.org> References: , <20190210213504.0B9E5200E1BA25@ary.qy>, <20190210224610.bjx6a5jchi7rb6tg@blueeyes.stuffed.animals>, <201902110525.x1B5P3gB018453@sdf.org> X-Rspamd-Queue-Id: 6A21186F36 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=sdf.org header.s=default header.b=OeE9ZVe3 X-Spamd-Result: default: False [-0.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.930,0]; RCPT_COUNT_THREE(0.00)[3]; R_DKIM_REJECT(1.00)[sdf.org:s=default]; IP_SCORE(-0.07)[ip: (-0.52), ipnet: 205.166.94.0/24(-0.26), asn: 14361(0.49), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sdf.org]; NEURAL_HAM_LONG(-0.88)[-0.880,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[sdf.org:-]; MX_GOOD(-0.01)[cached: mx.sdf.org]; RCVD_IN_DNSWL_NONE(0.00)[20.94.166.205.list.dnswl.org : 127.0.10.0]; FROM_NO_DN(0.00)[]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.44)[-0.440,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)[]; RCVD_TLS_LAST(0.00)[] 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 07:02:50 -0000 > From owner-freebsd-questions@freebsd.org Mon Feb 11 05:26:03 2019 > From: iam@sdf.org > To: bjb@sourcerer.ca, freebsd-questions@freebsd.org > Subject: Re: any way asm people could contribute? > > > 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. > _______________________________________________ > 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 read about the solaris linker load magic from a post on this mailing list, please see the url at; https://lethargy.org/~jesus/writes/sunw_cap-arcana/ it is quite a fascinating read.