[lkml]   [2010]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v2] compiler: prevent dead store elimination
    > >> +#define ARRAY_PREVENT_DSE(p, n)
    > >
    > > Who says the Intel compiler doesn't need this?
    > There was a comment in include/linux/compiler-intel.h that it's not supported.

    That's true for the ia64 version, but not for the x86 version which supports
    gcc compatible inline assembler. So on x86 you can use it. On Itanium
    it probably would need some other compiler built in.

    Also in any case some form of memory clobber is needed because it'll surely
    do dead-store-optimization.


     \ /
      Last update: 2010-03-02 13:27    [W:0.018 / U:78.564 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site