<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yuzu/src/common/x64/cpu_detect.cpp, branch main</title>
<subtitle>Nintendo Switch emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/'/>
<entry>
<title>x64: Add detection of monitorx instructions</title>
<updated>2023-06-28T05:36:06+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2023-06-28T05:07:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=4303ed614d0d758d9e9bcdef8afee3274769d2fb'/>
<id>4303ed614d0d758d9e9bcdef8afee3274769d2fb</id>
<content type='text'>
monitorx introduces 2 instructions: MONITORX and MWAITX.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
monitorx introduces 2 instructions: MONITORX and MWAITX.
</pre>
</div>
</content>
</entry>
<entry>
<title>x64: Deduplicate RDTSC usage</title>
<updated>2023-06-08T01:44:42+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2023-04-23T02:55:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=dd12dd4c67dd4bc6e7a7d071b925afc38e687f8b'/>
<id>dd12dd4c67dd4bc6e7a7d071b925afc38e687f8b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>x64: cpu_detect: Add detection of waitpkg instructions</title>
<updated>2023-03-27T21:45:22+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2023-03-22T01:13:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=d2cfe25b07906f36c688ccacde30e3dc50123e8f'/>
<id>d2cfe25b07906f36c688ccacde30e3dc50123e8f</id>
<content type='text'>
waitpkg introduces 3 instructions, UMONITOR, UMWAIT and TPAUSE.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
waitpkg introduces 3 instructions, UMONITOR, UMWAIT and TPAUSE.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add CPU core count to log files</title>
<updated>2022-11-12T02:50:48+00:00</updated>
<author>
<name>Matías Locatti</name>
<email>matias.locatti@gmail.com</email>
</author>
<published>2022-11-11T08:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=69768ec71e78dd1ea8da835b0a4eedbb1d404c28'/>
<id>69768ec71e78dd1ea8da835b0a4eedbb1d404c28</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>guard against div-by-zero</title>
<updated>2022-07-06T18:00:00+00:00</updated>
<author>
<name>Marshall Mohror</name>
<email>mohror64@gmail.com</email>
</author>
<published>2022-07-06T18:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=e71d457af923f373505729fe5a335e6768f6144a'/>
<id>e71d457af923f373505729fe5a335e6768f6144a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>common/x64: Use TSC clock rate from CPUID when available</title>
<updated>2022-07-06T17:42:01+00:00</updated>
<author>
<name>Marshall Mohror</name>
<email>mohror64@gmail.com</email>
</author>
<published>2022-07-06T17:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=b2ad4dd189135be9a87af86619d6f5854525f7fa'/>
<id>b2ad4dd189135be9a87af86619d6f5854525f7fa</id>
<content type='text'>
The current method used to estimate the TSC is fairly accurate - within a few kHz - but the exact value can be extracted from CPUID if available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current method used to estimate the TSC is fairly accurate - within a few kHz - but the exact value can be extracted from CPUID if available.
</pre>
</div>
</content>
</entry>
<entry>
<title>general: Convert source file copyright comments over to SPDX</title>
<updated>2022-04-23T09:55:32+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2022-04-23T08:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=99ceb03a1cfcf35968cab589ea188a8c406cda52'/>
<id>99ceb03a1cfcf35968cab589ea188a8c406cda52</id>
<content type='text'>
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
</pre>
</div>
</content>
</entry>
<entry>
<title>common: Reduce unused includes</title>
<updated>2022-03-19T19:01:31+00:00</updated>
<author>
<name>ameerj</name>
<email>52414509+ameerj@users.noreply.github.com</email>
</author>
<published>2022-03-19T04:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=923decae5a5098cb9d254e008ed61fc5e07ced38'/>
<id>923decae5a5098cb9d254e008ed61fc5e07ced38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cpu_detect: Add additional x86 flags and telemetry</title>
<updated>2022-03-11T18:27:00+00:00</updated>
<author>
<name>Wunkolo</name>
<email>Wunkolo@gmail.com</email>
</author>
<published>2022-03-10T02:11:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=d248c1203ea15992e6ca3a087a02fac76490deba'/>
<id>d248c1203ea15992e6ca3a087a02fac76490deba</id>
<content type='text'>
Adds detection of additional CPU flags to cpu_detect and additions to telemetry output.

This is not exhaustive but guided by features that [dynarmic utilizes](https://github.com/merryhime/dynarmic/blob/bcfe377aaa5138af740e90af5be7a7dff7b62a52/src/dynarmic/backend/x64/host_feature.h#L12-L33) as well as features that are currently utilized but not reported to telemetry(invariant_tsc). This is intended to guide future optimizations.

AVX512 in particular is broken up into its individual subsets and some other processor features such as [sha](https://en.wikipedia.org/wiki/Intel_SHA_extensions) and [gfni](https://en.wikipedia.org/wiki/AVX-512#GFNI) are added to have some forward-facing data-points.

What used to be a single `CPU_Extension_x64_AVX512` telemetry field
is also broken up into individual `CPU_Extension_x64_AVX512{F,VL,CD,...}` fields.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds detection of additional CPU flags to cpu_detect and additions to telemetry output.

This is not exhaustive but guided by features that [dynarmic utilizes](https://github.com/merryhime/dynarmic/blob/bcfe377aaa5138af740e90af5be7a7dff7b62a52/src/dynarmic/backend/x64/host_feature.h#L12-L33) as well as features that are currently utilized but not reported to telemetry(invariant_tsc). This is intended to guide future optimizations.

AVX512 in particular is broken up into its individual subsets and some other processor features such as [sha](https://en.wikipedia.org/wiki/Intel_SHA_extensions) and [gfni](https://en.wikipedia.org/wiki/AVX-512#GFNI) are added to have some forward-facing data-points.

What used to be a single `CPU_Extension_x64_AVX512` telemetry field
is also broken up into individual `CPU_Extension_x64_AVX512{F,VL,CD,...}` fields.
</pre>
</div>
</content>
</entry>
<entry>
<title>cpu_detect: Revert `__cpuid{ex}` array-type argument</title>
<updated>2022-03-10T03:50:01+00:00</updated>
<author>
<name>Wunkolo</name>
<email>Wunkolo@gmail.com</email>
</author>
<published>2022-03-10T03:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=d9b1199ffb7670248a02acce7e8216f5a577de38'/>
<id>d9b1199ffb7670248a02acce7e8216f5a577de38</id>
<content type='text'>
Restores compatibility with MSVC's `__cpuid` intrinsic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restores compatibility with MSVC's `__cpuid` intrinsic.
</pre>
</div>
</content>
</entry>
</feed>
