Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Architecture Question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
devGecko
n00b
n00b


Joined: 28 Jun 2003
Posts: 2
Location: Tokyo, JP

PostPosted: Fri Jul 04, 2003 9:12 pm    Post subject: Architecture Question Reply with quote

whats the difference between PPC and x86?

Thanks for answering!

:?:
_________________
-- lil' grn gcko was here........
Back to top
View user's profile Send private message
reves
Apprentice
Apprentice


Joined: 25 Jun 2002
Posts: 215
Location: South Florida

PostPosted: Fri Jul 04, 2003 11:04 pm    Post subject: Reply with quote

Hello devGecko,

x86 and PPC are different types of proccessors. 386, 486, Pentium, Athalon, and Cyrix proccessors are x86 proccessors. The G3 and G4 proccessors used in Macs are PPC proccessors.

http://arstechnica.com/cpu/01q2/p4andg4e/p4andg4e-1.html
_________________
Robert
Back to top
View user's profile Send private message
devGecko
n00b
n00b


Joined: 28 Jun 2003
Posts: 2
Location: Tokyo, JP

PostPosted: Sat Jul 05, 2003 12:32 am    Post subject: Reply with quote

My apologies.....

It isn't very clear, in that article at Ars Technica, what the difference is between PPC and x86 architecture.

Could you possibly go over the difference with one or two brief statements?
_________________
-- lil' grn gcko was here........
Back to top
View user's profile Send private message
gnoodle
n00b
n00b


Joined: 06 Jun 2003
Posts: 45
Location: Los Angeles, California

PostPosted: Sat Jul 05, 2003 2:31 am    Post subject: Reply with quote

this might be an oversimplification (and doesn't take into account any processor-specific enhancements in the latest processors), but the fundamental difference between the "x86" family of processors and the "ppc" family is the instruction set architecture.

powerpc ("ppc") processors are reduced instruction set computing ("risc") processors, while x86 processors are complex instruction set computing processors ("cisc").

a detailed discussion is beyond my abilities, but i believe the "cisc" processors have a lot of functions hard-coded into the processors and are not parallel processing in nature, while "risc" processors are "simpler" with fewer functions hard-coded into the processors, but rather rely on parallel processing capabilities to increase throughput.

the end result is that cisc processors rely more heavily on clock speed to increase processing throughput, while risc processors can supposedly do more at once and therefore don't need to be as fast in order to have the same throughput per unit time. (think of a freeway as an analogy -- cisc is a single-lane highway, while risc is a multi-lane highway...for every car on the single-lane, you can have three on a triple-lane.)
_________________
Gnoodle's Not Only an Open source Devoted Linux Enthusiast

Linux: the choice of a GNU generation
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Sat Jul 05, 2003 2:44 am    Post subject: Reply with quote

Another one is comparison of complexity of instructions.

In so-called RISC architectures, most of the instructions are simple ones like "store r0, r1" or "add r0, r1, r2".

In so-called CISC architectures, there are instructions that are very complex, like "rep stosd" (Repetively store a string by doubleword from EAX to EDI, ECX times)

But nowadays, Intel processors can be considered as CISC-emulators running on a RISC chip. (The instructions are translated into microcode and executed, instead of direct-execute like the 286s did)

If you see multilength instructions, it is almost certainly a CISC architeture. Compare, the varying length of the Intel instructions (second column):
Code:

 80488c0:       55                      push   %ebp
 80488c1:       89 e5                   mov    %esp,%ebp
 80488c3:       57                      push   %edi
 80488c4:       56                      push   %esi
 80488c5:       53                      push   %ebx
 80488c6:       81 ec bc 00 00 00       sub    $0xbc,%esp
 80488cc:       8b 55 0c                mov    0xc(%ebp),%edx
 80488cf:       8b 45 08                mov    0x8(%ebp),%eax
 80488d2:       8b 4d 0c                mov    0xc(%ebp),%ecx
 80488d5:       83 e2 fc                and    $0xfffffffc,%edx
 80488d8:       89 85 44 ff ff ff       mov    %eax,0xffffff44(%ebp)
 80488de:       01 c2                   add    %eax,%edx
 ...


Whereas the 32-bit PowerPC instructions all take up precisely 32 bits, even the NOP instruction.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum