From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 4 Oct 2001 14:52:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 4 Oct 2001 14:52:41 -0400 Received: from are.twiddle.net ([64.81.246.98]:31904 "EHLO are.twiddle.net") by vger.kernel.org with ESMTP id ; Thu, 4 Oct 2001 14:52:31 -0400 Date: Thu, 4 Oct 2001 11:52:04 -0700 From: Richard Henderson To: Andreas Schwab Cc: James Antill , Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: Linux 2.4.10-pre11 -- __builtin_expect Message-ID: <20011004115204.A11463@twiddle.net> Mail-Followup-To: Andreas Schwab , James Antill , Andi Kleen , linux-kernel@vger.kernel.org In-Reply-To: <20010918031813.57E1062ABC@oscar.casa.dyndns.org.suse.lists.linux.kernel> <9o6j9l$461$1@cesium.transmeta.com.suse.lists.linux.kernel> <20010918143827.A16003@gruyere.muc.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from schwab@suse.de on Thu, Sep 27, 2001 at 06:28:08PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 27, 2001 at 06:28:08PM +0200, Andreas Schwab wrote: > You're right, seems like __builtin_expect is really only defined for pure > boolean values. I think the documentation mentions the current deficiency in that area. It is _supposed_ to be defined for all integral and pointer types, but that is hard with the current built-in infrastructure in the C front end. r~