News for hackers. Stuff that matters.
Re:The x86 architecture is the weirdo, part 2 by Annatar on Friday April 22, 2022 @01:48PM (#31125329)
That's because it is insane: how come most processors are big endian, how did they manage just fine?
Re:The x86 architecture is the weirdo, part 2 by gotaquestion on Friday April 22, 2022 @07:41PM (#31129649)
First off, most processors are not BE. Arm and X86 are LE and cover "most processors".

Second, processors like the Motorola 68000 were 32-bit, so there was no need to read just the first byte. Refer to my point about instruction fetch. Like I said, if you have an ISA that came from byte-sized opcodes, and then expanded later, you need to fetch bytes first. However, if your opcodes are 32-bit, then the code is bigger. (In the old days, CISC code size was a selling point compared to RISC, this opcode compression was one of the reasons.)

This is what you learn in first-year computer architecture. However the world has changed a lot since the 80's. Single bytes aren't fetched in x86, 256-byte cachelines are, and the decode happens on that.

Re:The x86 architecture is the weirdo, part 2 by Annatar on Sunday April 24, 2022 @09:05AM (#31143578)
ARM and x86 are only two out of many processors: you are purposely choosing to confuse market dominance with what exists, and I fault you for it, because by behaving in this way, you are helping perpetuate the monoculture.

The moment you help perpetuate a monoculture rather than subvert it and fight it at every turn and opportunity, you become part of the problem.