From owner-freebsd-mips@FreeBSD.ORG Tue Dec 28 20:35:57 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E7FB106564A for ; Tue, 28 Dec 2010 20:35:57 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 416568FC14 for ; Tue, 28 Dec 2010 20:35:56 +0000 (UTC) Received: by iyb26 with SMTP id 26so8747533iyb.13 for ; Tue, 28 Dec 2010 12:35:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=i6N9e+wKu31jRkiTHoSv/4wecYoRH57NIHWpiYbE0xE=; b=Qz7xRD1Ufh9rve4lk+zobl9LvrUqQ7O70l2NC+kaL1kBdX6KI6GEqL9j9TqVS9+Umq xuzqkKvl2CVveR93NNJblMboQBu12RCZZj22Qj7bLmyBf2m/TX5Tg5ytRDWxdVBw0QFv nUqoxPWKksh4ke5G+mjnanALnQmCSxefuATwQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=T0ZmNb/wT6smKuY0mXSr/p+6ZyrNXWzcJpamF4ehapADhMCHuAEjSxb1LZ7JnnvgM8 kVMddzQicaDjkZClPpSaj/GeJng5wYGw51uW1bnf/DLr0E4LSx5sE7XrgI4uP27TCrTW SLAXqbNknAsGb/BEd5VW6cXVR8J9I8J/jjeKw= MIME-Version: 1.0 Received: by 10.231.12.8 with SMTP id v8mr13672596ibv.147.1293568556607; Tue, 28 Dec 2010 12:35:56 -0800 (PST) Sender: rmh.aybabtu@gmail.com Received: by 10.231.5.153 with HTTP; Tue, 28 Dec 2010 12:35:56 -0800 (PST) In-Reply-To: <4D1A1B83.5070602@bsdimp.com> References: <4D1A1B83.5070602@bsdimp.com> Date: Tue, 28 Dec 2010 21:35:56 +0100 X-Google-Sender-Auth: 9vNuQ9-TU2h5VsGdkDTFldBdV98 Message-ID: From: Robert Millan To: Warner Losh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: [PATCH] Retrieval of TLS pointer via RDHWR X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2010 20:35:57 -0000 2010/12/28 Warner Losh : > On 12/28/2010 04:36, Robert Millan wrote: >> >> Not interested? >> >> Note this might become mandatory if you ever want to compile >> code that uses TLS with recent GCC. >> >> In any case, when executed natively, rdhwr is a speed-up >> compared to a sysarch() call. > > Actually, am interested in this, but have been swamped with other things.= .. > =C2=A0The code looks good, and we should definitely move in this directio= n. Thank you. So can it be committed, or does it need improvement of some kind first? --=20 Robert Millan