|
From: Julian S. <js...@ac...> - 2011-03-26 06:29:07
|
> Those encodings used to be all distinct. We just missed to follow up on > VEX r1995 and adjust the s390x encodings. But we are not alone. > ARM hwcaps and architecture levels overlap freely with the other hwcaps. > > Is it correct, that there is no uniqueness requirement on the encodings > anymore? I believe that is correct. Obviously they need to be unique within a particular architecture, but no need for the distinct architecture sets to be unique. > Secondly, for s390x I need to extract the machine model from /proc/cpuinfo. > The machine model is needed to fix PR 268620 and also for cache > configuration in cachegrind. If the answer to my first question is "yes", > then I presume I can just adapt what is being deon for ARM, namely: > > #define VEX_S390X_ARCHLEVEL(x) ((x) & 0x3f) /me confused. The ARM stuff is taken from the auxv entries IIRC, not from /proc/cpuinfo. What piece of code are you referring to? J |