gary on 3 Jan 2018 10:08:19 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] The mysterious case of the Linux Page Table Isolation patches


Rich wrote:
=> On Wed, Jan 3, 2018 at 12:23 PM, George Zipperlen
=> <george.zipperlen@mail.com> wrote:
=>> How is it that CISC beat out RISC for high performance computing?
=>> I haven't payed attention to hardware for 20 years,  but I still
=>> remember
=>> the Pentium FDIV bug...
=>
=> [...]
=>
=> I can't really think of any technical reasons why CISC would beat RISC
=> other than legacy code that can't be recompiled using a decent
=> compiler.  To the degree that CISC can give hints to the processor to
=> better perform speculative execution I'd argue that a RISC instruction
=> set could be created that does the same (have the compiler always
=> output code that makes a particular branch the most common one).

   I can think of one: bandwidth for getting instructions from main
memory. CISC instructions tend to be shorter and require fewer
instructions to get the job done than RISC, so you can get more
instructions started with the same memory bandwidth with CISC.

                                 Gary Duzan



___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug