Received: from eggs.gnu.org ([2001:4830:134:3::10]:46815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btxiu-0001PN-19 for qemu-devel@nongnu.org; Tue, 11 Oct 2016 10:08:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btxiq-0000Aj-0d for qemu-devel@nongnu.org; Tue, 11 Oct 2016 10:08:03 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:36323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btxip-0000AU-QW for qemu-devel@nongnu.org; Tue, 11 Oct 2016 10:07:59 -0400 Received: by mail-qt0-x244.google.com with SMTP id y38so641111qta.3 for ; Tue, 11 Oct 2016 07:07:59 -0700 (PDT) Sender: Richard Henderson References: <1475316333-9776-1-git-send-email-atar4qemu@gmail.com> <1475316333-9776-22-git-send-email-atar4qemu@gmail.com> From: Richard Henderson Message-ID: Date: Tue, 11 Oct 2016 09:07:56 -0500 MIME-Version: 1.0 In-Reply-To: <1475316333-9776-22-git-send-email-atar4qemu@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 21/29] target-sparc: allow 256M sized pages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko , qemu-devel@nongnu.org Cc: Mark Cave-Ayland On 10/01/2016 05:05 AM, Artyom Tarasenko wrote: > + uint64_t mask = 1ULL + ~(8192ULL << 3 * TTE_PGSIZE(tlb->tte)); Not the first time it has appeared in this patch series, but I find the "1 + ~" idiom to be strange. Surely plain old "-" is clearer. r~