From owner-freebsd-threads@FreeBSD.ORG Mon Jun 16 19:42:47 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7071337B401 for ; Mon, 16 Jun 2003 19:42:47 -0700 (PDT) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id B926843F93 for ; Mon, 16 Jun 2003 19:42:46 -0700 (PDT) (envelope-from kabaev@mail.ru) Received: from [151.203.235.42] (port=56024 helo=kan.dnsalias.net) by mx3.mail.ru with esmtp id 19S6Qn-000Oie-00; Tue, 17 Jun 2003 06:42:45 +0400 Received: from kan.dnsalias.net (ak03@localhost [127.0.0.1]) by kan.dnsalias.net (8.12.9/8.12.9) with ESMTP id h5H2giTI090843; Mon, 16 Jun 2003 22:42:44 -0400 (EDT) (envelope-from kan@kan.dnsalias.net) Received: (from kan@localhost) by kan.dnsalias.net (8.12.9/8.12.9/Submit) id h5H2ghMW090842; Mon, 16 Jun 2003 22:42:43 -0400 (EDT) Date: Mon, 16 Jun 2003 22:42:43 -0400 From: Alexander Kabaev To: Gareth Hughes Message-Id: <20030616224243.74f151d8.kabaev@mail.ru> In-Reply-To: <2D32959E172B8F4D9B02F68266BE421401A6D7EA@mail-sc-3.nvidia.com> References: <2D32959E172B8F4D9B02F68266BE421401A6D7EA@mail-sc-3.nvidia.com> X-Mailer: Sylpheed version 0.9.0claws2 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: Not detected cc: threads@freebsd.org Subject: Re: NVIDIA and TLS X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 02:42:47 -0000 On Mon, 16 Jun 2003 19:23:15 -0700 Gareth Hughes wrote: > > To save you the trouble, I'll copy the relevant information out > of Drepper's document (sections 3.4.2, 4.1.2, 4.2.2). > What on Earth gives you an idea I haven't read it several times already? I'll spare you the trouble copying the code samples, please restrict yourself to section numbers only if you feel so inclined. > > I don't see any segment register use there, do you? > You see functions calls, do you? Penalty choice #2 on my list. That's the > implementation of the dynamic TLS access models on x86 > (specifically, the GNU variants, not the Sun variants). You > implement __tls_get_addr() however you need to. Only the static > access models require the use of %gs. Here you go, penalty choice #1. We are getting nowhere with this discussion. Sparing each others time by terminating it does show some promise though.