|
From: Josef W. <Jos...@gm...> - 2006-11-23 16:11:05
|
On Thursday 23 November 2006 14:04, sv...@va... wrote: > Author: weidendo > Date: 2006-11-23 13:04:30 +0000 (Thu, 23 Nov 2006) > New Revision: 6369 > > Log: > Cachegrind/Callgrind: Fix cache parameter detection I think we really should get rid of the total duplication of code in cg-amd64.c and cg-x86.c. They are currently more or less exactly the same. Whatever new additions are needed, they will be needed for both files, as any 64bit x86 processor can also run in 32bit mode. How to do it best? I suggest moving the code into a new cg-x86-amd64.c and include it both in cg-amd64.c and cg-x86.c. Josef |