Reply to post: Re: "I did not know that ARM actually prohibited adding instructions"

Talk about a calculated RISC: If you think you can do a better job than Arm at designing CPUs, now's your chance

ST Silver badge
FAIL

Re: "I did not know that ARM actually prohibited adding instructions"

Did you even read anything that I wrote?

That's an example from the kernel. It sets up the /dev/cpu/<cpu-number>/cpuid char device at boot time. What does this have to do with userland code execution path?

Do you have an example of a compiler - any compiler - arbitrarily inserting CPUID instructions in software? No you don't. So WTF are you talking about?

Compilers don't arbitrarily insert CPUID instructions in code. And neither the OS, nor the kernel change execution paths depending on CPUID. /dev/cpu/<cpu-number>/cpuid is not world-readable. So userland software can't even read it.

I don't think you understand how computers work.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2019