Custom Processing Unit: Hook, patch, and trace microcode at the software level
11–20 of 20 posts
Re: Custom Processing Unit: Hook, patch, and trace microcode at the software level
#12I sometimes wonder if not these CPUs are just waiting to have their power unleashed. Almost like FPGAs, they could be reprogrammed to have custom instructions by someone skilled.
This wouldn't actually help in common workloads, because the instructions that already exist are typically better than what you can achieve with microcode. The reason for the RISC revolution was the understanding that there are fairly strict limits of what you can achieve in a single instruction if you want your cpu to be fast. An instruction that does some complex task that you need done is not really going to be an…
Re: Custom Processing Unit: Hook, patch, and trace microcode at the software level
#13Earlier quoted context omitted.
This wouldn't actually help in common workloads, because the instructions that already exist are typically better than what you can achieve with microcode. The reason for the RISC revolution was the understanding that there are fairly strict limits of what you can achieve in a single instruction if you want your cpu to be fast. An instruction that does some complex task that you need done is not really going to be an…
It makes sense what you say, but I still have doubts. Are you saying that not all x86 instructions are implemented in microcode? And wouldn't shader language be a perfect target for custom microcode, etc.
If you look at discussions about the instruction decoder of Intel processors, you often see it mentioned that they have something like three "simple" decoders and one "complex" decoder. The main difference is that the "complex" decoder is the only one which can decode instructions implemented in microcode (dispatching micro-operations from the microcode ROM), while the "simple" decoders can only output micro-operations directly (using something similar to hard-wired pattern matching on the instruction). So yes, many x86 instructions are not implemented in microcode.
Re: Custom Processing Unit: Hook, patch, and trace microcode at the software level
#14I sometimes wonder if not these CPUs are just waiting to have their power unleashed. Almost like FPGAs, they could be reprogrammed to have custom instructions by someone skilled.
Re: Custom Processing Unit: Hook, patch, and trace microcode at the software level
#15Does this help us getting rid of IME?
The management engine does do useful stuff the issue is that we don't know what else it does too.
Re: Custom Processing Unit: Hook, patch, and trace microcode at the software level
#16Earlier quoted context omitted.
This wouldn't actually help in common workloads, because the instructions that already exist are typically better than what you can achieve with microcode. The reason for the RISC revolution was the understanding that there are fairly strict limits of what you can achieve in a single instruction if you want your cpu to be fast. An instruction that does some complex task that you need done is not really going to be an…
It makes sense what you say, but I still have doubts. Are you saying that not all x86 instructions are implemented in microcode? And wouldn't shader language be a perfect target for custom microcode, etc.
Re: Custom Processing Unit: Hook, patch, and trace microcode at the software level
#17Earlier quoted context omitted.
It makes sense what you say, but I still have doubts. Are you saying that not all x86 instructions are implemented in microcode? And wouldn't shader language be a perfect target for custom microcode, etc.
The term microcode has become muddled in that you have microcode for implementing highly complex instructions and "microcode" as-in an internal target that X86 instructions are translated into.
Re: Custom Processing Unit: Hook, patch, and trace microcode at the software level
#18Re: Custom Processing Unit: Hook, patch, and trace microcode at the software level
#19I sometimes wonder if not these CPUs are just waiting to have their power unleashed. Almost like FPGAs, they could be reprogrammed to have custom instructions by someone skilled.
This wouldn't actually help in common workloads, because the instructions that already exist are typically better than what you can achieve with microcode. The reason for the RISC revolution was the understanding that there are fairly strict limits of what you can achieve in a single instruction if you want your cpu to be fast. An instruction that does some complex task that you need done is not really going to be an…
Re: Custom Processing Unit: Hook, patch, and trace microcode at the software level
#20Earlier quoted context omitted.
The term microcode has become muddled in that you have microcode for implementing highly complex instructions and "microcode" as-in an internal target that X86 instructions are translated into.
The internal instruction format is commonly called micro-ops / uops. But easy to confuse those terms.