]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Fix CPUID of USER_MSR.
authorHu, Lin1 <lin1.hu@intel.com>
Mon, 27 Nov 2023 03:28:00 +0000 (11:28 +0800)
committerHu, Lin1 <lin1.hu@intel.com>
Mon, 4 Dec 2023 02:02:13 +0000 (10:02 +0800)
commit88029286c35d3bf65568fea1324d595a15441772
treebce5eca0a0e4d27208b3c0d249ce7b18e7fcc628
parent4e5f5a8ae82c5f4f714102d2437175ec366f644c
i386: Fix CPUID of USER_MSR.

gcc/ChangeLog:

* common/config/i386/cpuinfo.h (get_available_features): Move USER_MSR
to the correct location.

gcc/testsuite/ChangeLog:

* gcc.target/i386/user_msr-1.c: Correct the MSR index for give the user
an proper example.
gcc/common/config/i386/cpuinfo.h
gcc/testsuite/gcc.target/i386/user_msr-1.c