What is the benefit of actually keeping the X86 decoders on an X86 CPU as opposed to plainly introducing a new mode that would expose the bare RISC instruction set of the execution unit? (of course, the X86 decoders would remain for backwards compatibility, but in 5 - 10 years they could be phased out because all the software would be compiled for the new mode)
The question occurred to me when following the "modern computing platform" thread. The quotes there for IMO obvious reasons.
I'd assume that the decoder actually adds a stage or two to the pipeline whereas a direct RISC exposed instruction set needs not mutiple stages - aside from the actual stage that converts memory contents into actual opcodes for the CPU to process.
So I figure there must be a reason that they keep the X86 instruction set. Either because:
1. Decoding X86 is now so cheap there's no need to try to reinvent the wheel because that would not bring any performance benefit
2. Some legacy bullpoop / inertia is preventing the devs to actually do something about it
They seem to not have had any problems introducing new modes when X86 was introduced, so I don't think mode code is a problem.
So, what do you guys think?
The question occurred to me when following the "modern computing platform" thread. The quotes there for IMO obvious reasons.
I'd assume that the decoder actually adds a stage or two to the pipeline whereas a direct RISC exposed instruction set needs not mutiple stages - aside from the actual stage that converts memory contents into actual opcodes for the CPU to process.
So I figure there must be a reason that they keep the X86 instruction set. Either because:
1. Decoding X86 is now so cheap there's no need to try to reinvent the wheel because that would not bring any performance benefit
2. Some legacy bullpoop / inertia is preventing the devs to actually do something about it
They seem to not have had any problems introducing new modes when X86 was introduced, so I don't think mode code is a problem.
So, what do you guys think?
Last edited: