From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwCrM-0002M7-GQ for qemu-devel@nongnu.org; Mon, 17 Oct 2016 14:42:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwCrL-0001lq-Sk for qemu-devel@nongnu.org; Mon, 17 Oct 2016 14:42:04 -0400 Date: Tue, 18 Oct 2016 00:11:47 +0530 (IST) From: P J P In-Reply-To: Message-ID: References: <1476416631-2870-1-git-send-email-ppandit@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH v6] timer: a9gtimer: remove loop to auto-increment comparator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Qemu Developers , Li Qiang , qemu-arm +-- On Mon, 17 Oct 2016, Peter Maydell wrote --+ | > + inc = QEMU_ALIGN_DOWN(inc, gtb->inc); | | Isn't this pair of lines equivalent to | uint64_t inc = QEMU_ALIGN_UP(update.new - gtb->compare, gtb->inc); | ? Yes, sent v7. Thank you. -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F