config/i386/cpuid.h: Use hexadecimal in comments
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 21 May 2020 14:19:27 +0000 (07:19 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 21 May 2020 14:19:27 +0000 (07:19 -0700)
Since Intel SDM uses hexadecimal, use hexadecimal in comments.

PR target/95260
* config/i386/cpuid.h: Use hexadecimal in comments.

gcc/ChangeLog
gcc/config/i386/cpuid.h

index 89b908f..977e766 100644 (file)
@@ -1,5 +1,10 @@
 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
 
+       PR target/95260
+       * config/i386/cpuid.h: Use hexadecimal in comments.
+
+2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
+
        PR target/95212
        * config/i386/i386-builtins.c (processor_features): Move
        F_AVX512VP2INTERSECT after F_AVX512BF16.
index 9fee32a..94af491 100644 (file)
 #define bit_SERIALIZE  (1 << 14)
 #define bit_TSXLDTRK    (1 << 16)
 
-/* XFEATURE_ENABLED_MASK register bits (%eax == 13, %ecx == 0) */
+/* XFEATURE_ENABLED_MASK register bits (%eax == 0xd, %ecx == 0) */
 #define bit_BNDREGS     (1 << 3)
 #define bit_BNDCSR      (1 << 4)
 
-/* Extended State Enumeration Sub-leaf (%eax == 13, %ecx == 1) */
+/* Extended State Enumeration Sub-leaf (%eax == 0xd, %ecx == 1) */
 #define bit_XSAVEOPT   (1 << 0)
 #define bit_XSAVEC     (1 << 1)
 #define bit_XSAVES     (1 << 3)
 
-/* PT sub leaf (%eax == 14, %ecx == 0) */
+/* PT sub leaf (%eax == 0x14, %ecx == 0) */
 /* %ebx */
 #define bit_PTWRITE    (1 << 4)