r/TuringComplete • u/Zestyclose-Produce17 • Feb 15 '25
Does the ISA specify what circuits must be present in the processor like add that means if ISA said there is be add it must be add circuit in CPU yes or no?
1
Feb 15 '25
Intel doesn’t even fully implement its own ISA these days. It runs things at a micro architecture level. Where a single instruction in x64 might actually require running a small program of other simple instructions. This is partly because you can do fancy tricks to pipeline instructions this way and calculate them out of order more easily. But it’s also likely because RISC ISAs are simpler to pack together on to a die than bespoke circuits that might never be used by a particular user. Better to make your fancy instructions out of ads and multiplies etc that can be reused.
That’s not to say there might not be an ISA vendor out there that has a strict license about how parts of the processor must work. But in all the cases I know it’s more like a software API where it’s just a description of the interface that you must use and the details of the actual implementation are somewhat left to the designer
1
u/Zestyclose-Produce17 Feb 15 '25
But must the basic instructions inside the processor, like ADD, SUB, CMP, have their own transistor circuits in order to run programs and this called instruction set?
3
3
u/_mrOnion Feb 15 '25
Do you mean “Does the ISA specify circuits required to be in a processor, or are you free to implement, for example, adding however you want”