From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30416 invoked by alias); 26 Dec 2013 19:33:37 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 30405 invoked by uid 89); 26 Dec 2013 19:33:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pb0-f50.google.com Received: from mail-pb0-f50.google.com (HELO mail-pb0-f50.google.com) (209.85.160.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 26 Dec 2013 19:33:35 +0000 Received: by mail-pb0-f50.google.com with SMTP id rr13so8510939pbb.37 for ; Thu, 26 Dec 2013 11:33:33 -0800 (PST) X-Received: by 10.66.140.40 with SMTP id rd8mr46450949pab.119.1388086413622; Thu, 26 Dec 2013 11:33:33 -0800 (PST) Received: from pebble.twiddle.net (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPSA id g6sm74476785pat.2.2013.12.26.11.33.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 11:33:32 -0800 (PST) Message-ID: <52BC8489.9040307@twiddle.net> Date: Thu, 26 Dec 2013 19:33:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Venkataramanan Kumar , libc-ports@sourceware.org CC: Marcus Shawcroft , Marcus Shawcroft , Carlos O'Donell , Patch Tracking Subject: Re: [PATCH] [AARCH64]: Pointer mangling support for Aarch64 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00031.txt.bz2 On 12/26/2013 04:25 AM, Venkataramanan Kumar wrote: > +#ifdef PTR_DEMANGLE > ldp x29, x30, [x0, #JB_X29<<3] > - > + PTR_DEMANGLE (x4, x30, x3, x2) > + mov x30, x4 > +#else Why not load into x4 and then demangle into x30 directly? I.e. ldp x29, x4, [x0, #JB_X29<<3] PTR_DEMANGLE (x30, x4, x3, x2) r~