Re: Question about Valgrind tool in Intel new platform

Tom Hughes via Valgrind-users <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
On 20/04/2022 09:01, Yang Zhong wrote:

> So, from above issue in Intel new platform, the valgrind need do some enablings to be compatible
> with on new platform? Seems valgrind tool can't identify the real HW platform because cpuid can't
> read correct register value. thanks!

When running under valgrind you are running on an emulated CPU not
the real CPU and the results of cpuid will reflect the capabilities
of that emulated CPU rather than the real CPU.

Do the bits that you are trying to check reflect something (like new
instructions) that valgrind will need to be concerned about?

Tom

-- 
Tom Hughes ([email protected])
http://compton.nu/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.