Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753195Ab3GNTtq (ORCPT ); Sun, 14 Jul 2013 15:49:46 -0400 Received: from mail-vb0-f53.google.com ([209.85.212.53]:57156 "EHLO mail-vb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753097Ab3GNTtp (ORCPT ); Sun, 14 Jul 2013 15:49:45 -0400 MIME-Version: 1.0 In-Reply-To: References: <1373806562-30422-1-git-send-email-artagnon@gmail.com> Date: Sun, 14 Jul 2013 12:49:44 -0700 X-Google-Sender-Auth: ozXj3iaKh1SINzRqxIy8lcp4X88 Message-ID: Subject: Re: [LLVMdev] [PATCH] x86/asm: avoid mnemonics without type suffix From: Linus Torvalds To: Tim Northover Cc: Ramkumar Ramachandra , Jeremy Fitzhardinge , Andi Kleen , LKML , LLVMdev , Thomas Gleixner , Ingo Molnar Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 666 Lines: 16 On Sun, Jul 14, 2013 at 12:30 PM, Tim Northover wrote: > > I don't think you've actually tested that, have you? (x86-64) Oh, you're right, for constants > 5 bits you have that other thing going on. I didn't think about the fact that the constant changed in the middle of the thread (it started out as 1). We use the gcc constraint "I" (0-31) in the kernel for this reason. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/