platforms icon indicating copy to clipboard operation
platforms copied to clipboard

i386 vs x86_32

Open matzf opened this issue 1 year ago • 1 comments

Currently, there are two separate cpu constraint values x86_32 and i386. The intended use is not entirely clear to me. As I understand it, "x86" is the whole family of instruction set architectures (also known as Intel Architecture "IA-32"), and, technically, "i386" (also known as 80386) is the first processor in the line of this family. However, the two terms are frequently used interchangeably; for example, the Debian port supporting all 32 bit x86 CPUs is called "i386" (see https://www.debian.org/ports/).

Is this i386 cpu constraint value really intended to refer specifically to (the instruction set of the) original 80386 Intel processor? Or does it rather refer to the entire family, just like x86_32? If it's the former, would it make sense to add a big warning note to indicate that you probably don't want to use this? If it's the latter, would it make sense to change i386 to be merely an alias for x86_32?

matzf avatar Dec 07 '23 15:12 matzf