|
From: Josef W. <Jos...@gm...> - 2006-10-12 13:55:31
|
On Thursday 12 October 2006 14:58, Nicholas Nethercote wrote: > On Thu, 12 Oct 2006, Josef Weidendorfer wrote: > > > I also added some old addittions from cg-x86.c to cg-amd64.c. > > Do we need separate x86 and AMD64 files? Those two files are almost > identical... Hmm.. In general, the way how to automatically detect cache sizes is architecture dependent. However, in this case, the results from CPUID seem to have the same interpretation at least for Intel chips. IMHO, we should move common parts into a cg-x86-amd64-common.c, and include this both from cg-x86.c and cg-amd64.c. Josef |