Author: cem
Date: Mon Oct 14 20:55:01 2019
New Revision: 353521
URL: https://svnweb.freebsd.org/changeset/base/353521

Log:
  x86: Use canonical spelling of MOVDIR64B feature/instruction
  
  The former spelling probably confused MOVDIR64B with MOVDIRI64.
  
  MOVDIR_64B is the 64-*byte* direct store instruction; MOVDIR_I64 is the
  64-*bit* direct store instruction (underscores added here for clarity; they 
are
  not part of the canonical instruction name).
  
  No functional change.
  
  Sponsored by: Dell EMC Isilon

Modified:
  head/sys/x86/include/specialreg.h
  head/sys/x86/x86/identcpu.c

Modified: head/sys/x86/include/specialreg.h
==============================================================================
--- head/sys/x86/include/specialreg.h   Mon Oct 14 20:33:14 2019        
(r353520)
+++ head/sys/x86/include/specialreg.h   Mon Oct 14 20:55:01 2019        
(r353521)
@@ -449,7 +449,7 @@
 #define        CPUID_STDEXT2_RDPID             0x00400000
 #define        CPUID_STDEXT2_CLDEMOTE          0x02000000
 #define        CPUID_STDEXT2_MOVDIRI           0x08000000
-#define        CPUID_STDEXT2_MOVDIRI64B        0x10000000
+#define        CPUID_STDEXT2_MOVDIR64B         0x10000000
 #define        CPUID_STDEXT2_ENQCMD            0x20000000
 #define        CPUID_STDEXT2_SGXLC             0x40000000
 

Modified: head/sys/x86/x86/identcpu.c
==============================================================================
--- head/sys/x86/x86/identcpu.c Mon Oct 14 20:33:14 2019        (r353520)
+++ head/sys/x86/x86/identcpu.c Mon Oct 14 20:55:01 2019        (r353521)
@@ -993,7 +993,7 @@ printcpuinfo(void)
                                       "\027RDPID"
                                       "\032CLDEMOTE"
                                       "\034MOVDIRI"
-                                      "\035MOVDIRI64B"
+                                      "\035MOVDIR64B"
                                       "\036ENQCMD"
                                       "\037SGXLC"
                                       );
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to