lkml.org 
[lkml]   [2006]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] alpha: remove __alpha_cix__ and __alpha_fix__
    From
    On Thu, Feb 09, 2006 at 11:12:36AM -0800, Richard Henderson wrote:
    > On Thu, Feb 09, 2006 at 02:55:31PM +0900, Akinobu Mita wrote:
    > > -#if defined(__alpha_fix__) && defined(__alpha_cix__)
    > > +#ifdef CONFIG_ALPHA_EV67
    >
    > What in the world is this supposed to fix? You aren't seriously
    > suggesting that the compiler has stopped defining these, have you?

    I just want to imply the use of optimized hweight*() routines to
    kbuild system. In other word I want to tell the kbuild system
    the condition of "defined(__alpha_fix__) && defined(__alpha_cix__)".

    So I suggested to add previous patch and write below lines in
    arch/alpha/Kconfig

    config GENERIC_HWEIGHT
    bool
    default y if !ALPHA_EV6 && !ALPHA_EV67

    Also, I wonder why there are such gcc builtin definition in kernel code.
    Even if the gcc built with the support architecture extensions like CIX
    and FIX, It doesn't mean the vmlinux built by that gcc always run
    on those machines.

    -
    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/

    \
     
     \ /
      Last update: 2006-02-10 06:43    [W:4.696 / U:0.348 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site