Received: from eggs.gnu.org ([2001:4830:134:3::10]:33786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQ1b0-0003QZ-BV for qemu-devel@nongnu.org; Tue, 18 Mar 2014 17:30:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQ1ar-0007tl-T9 for qemu-devel@nongnu.org; Tue, 18 Mar 2014 17:30:50 -0400 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:54800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQ1ar-0007tG-Jr for qemu-devel@nongnu.org; Tue, 18 Mar 2014 17:30:41 -0400 Received: by mail-pa0-f44.google.com with SMTP id bj1so7912793pad.17 for ; Tue, 18 Mar 2014 14:30:40 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 18 Mar 2014 14:30:31 -0700 Message-Id: <1395178235-29056-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH v2 0/4] tcg: out of range shift behavior List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Changes v1-v2: * Consistently use American spelling of behaviour * Fix shifts use in the masking section of the optimizer as well * New patch that fixes optimization of deposit. Richard Henderson (4): tcg: Use "unspecified behavior" for shifts tcg: Mask shift quantities while folding tcg: Mask shift counts to avoid undefined behavior tcg: Fix out of range shift in deposit optimizations tcg/README | 18 +++++++++++++----- tcg/optimize.c | 45 ++++++++++++++++++++++++--------------------- tci.c | 20 ++++++++++---------- 3 files changed, 47 insertions(+), 36 deletions(-) -- 1.8.5.3