Home > Article > Operation and Maintenance > What is the system x86_64 in centos?
"x86_64" in centos is a 64-bit system; x86 refers to a 32-bit instruction set developed by Intel. "x86_64" means a 64-bit extension of the x86 instruction set, which is 64-bit. The 32 bits are represented by "I386--I686".
The operating environment of this article: centos 6.4 system, Dell G3 computer.
The main difference between x86 and x86_64 is the issue of 32-bit and 64-bit.
x86 ======> 32-bit
x86_64 and x64 and AMD64 ======> are all 64-bit
x86 refers to intel A 32-bit instruction set developed since the 386 era and still in use today. It is a CISC instruction set. All early Intel CPUs and early AMD CPUs support this instruction set. According to the official Ntel documentation "IA-32" AMD jumped the gun and was the first to create a commercial x86-compatible CPU before Intel, which AMD called AMD64. Intel chose to design a new 64-bit instruction set that is not compatible with x86, called IA-64, but it is a step later than AMD. Because it is a newly designed CPU, there is no compiler, and it does not support windows. Later, it had to Even though the timing was behind, it also started to support the AMD64 instruction set, but it was renamed x86_64, which means it is a 64 extension of the x86 instruction set. In other words, in fact, x86_64, x64, and AMD64 are basically the same thing.
View digit commandThere really shouldn’t be too many commands. In order to prevent selective obstacles, always choose the first method, and the following ones are only as supplements.
Method 1:
[root@linuxidc ~]# uname -a Linux linuxidc 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Method 2: Display system program information
[root@linuxidc ~]# file /bin/ls /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=aa7ff68f13de25936a098016243ce57c3c982e06, stripped
Method 3:
[root@linuxidc ~]# cat /proc/version Linux version 3.10.0-327.18.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu May 12 11:03:55 UTC 2016
Method 4:
32 In 64-bit systems, the int type and long type are generally 4 bytes. In 64-bit systems, the int type is still 4 bytes, but long has become 8 bytes. In Linux systems, "getconf WORD_BIT" and
can be used."getconf LONG_BIT" gets the number of digits of word and long. You should get 32 and 64 respectively on a 64-bit system.
[root@linuxidc ~]# getconf LONG_BIT 64
Recommended tutorial: "
centos tutorialThe above is the detailed content of What is the system x86_64 in centos?. For more information, please follow other related articles on the PHP Chinese website!