lkml.org 
[lkml]   [2009]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/4] amd64_edac: misc fixes
Borislav Petkov wrote:
> Actually, popcnt got added to gas in July 2006 so checking the gas
> version should suffice, IMHO.

gas is part of binutils.

> Anyway, I proposed something similar before but Andrew suggested that we
> should simply slap in the opcode so we don't need the Kbuild changes.
> The advantage of the approach is that it works unconditionally on all
> toolchains and introduces less code changes. Hmm...

That really sucks, though, in the long run. I personally prefer to have
the "right thing" -- which in this case is probably gcc intrinsics --
and then a fallback that will gradually fall out of use.

-hpa



\
 
 \ /
  Last update: 2009-06-01 21:01    [W:0.088 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site