Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > News and Article Discussion > Mac Blog Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old May 19, 2003, 07:13 PM   #1
MacRumors
macrumors bot
 
Join Date: Apr 2001
PowerPC 970 Support in GCC

Several have noted that the latest version of GCC (GNU Compiler Collection) offers PowerPC 970 support.

GCC is used as the compiler for Mac OS X, Linux and a number of other platforms.

By itself, this fact means little... as IBM uses Linux for their Blade Servers which will also be migrating to the PowerPC 970... but it is a necessary step if/when Apple is to migrate to the PowerPC 970.
MacRumors is offline   0 Reply With Quote
Old May 19, 2003, 07:30 PM   #2
MrMacMan
macrumors 601
 
MrMacMan's Avatar
 
Join Date: Jul 2001
Location: 1 Block away from NYC.
Send a message via AIM to MrMacMan
a) first link only states that this will work for the 970 in the title, not the code at all.
b) we know it will run on some operating system.
c) I think we all know it will atleast run on *nix and Linux.
__________________
There is a little Steve in all of us!
-->Folding is Fighting Against Disease and help MacRumors. Join Today!<--
Props to --> Shadowfax For Making My Avatar!
IM Me On AIM Already!
MrMacMan is offline   0 Reply With Quote
Old May 19, 2003, 07:49 PM   #3
Freg3000
macrumors 68000
 
Freg3000's Avatar
 
Join Date: Sep 2002
Location: New York
Ok, I admit it, I am a little slow.....but this is good news right? Lol, it has to be.
__________________
FregTK
This Is Momentum.
Freg3000 is offline   0 Reply With Quote
Old May 19, 2003, 07:52 PM   #4
arn
macrumors god
 
arn's Avatar
 
Join Date: Apr 2001
Send a message via AIM to arn
Quote:
Originally posted by Freg3000
Ok, I admit it, I am a little slow.....but this is good news right? Lol, it has to be.
it's neutral news.

Basically, compilers are needed to turn source code into an executable binary.

These compliers need to support the processors you want to create code for.

One of the big compilers now supports Power4 (and what looks like PowerPC 970)

arn
arn is offline   0 Reply With Quote
Old May 19, 2003, 08:41 PM   #5
iJed
macrumors 6502
 
Join Date: Sep 2001
Location: West Sussex, UK
Quote:
Originally posted by arn

One of the big compilers now supports Power4 (and what looks like PowerPC 970)
Not only is this one of the big compilers but the compiler that Apple uses to compile Mac OS X and its apps. What would be more interesting to know would be if Apple was involved in adding POWER4/PPC970 support to GCC. If they were then this would almost certainly be an admission that Apple was making 970 based systems.
iJed is offline   0 Reply With Quote
Old May 19, 2003, 09:20 PM   #6
ennerseed
macrumors regular
 
Join Date: Jan 2002
.......hmmmmmmm

.....uhhhhh
......hmmmm
__________________
Times are hard for dreamers - Amelie
ennerseed is offline   0 Reply With Quote
Old May 19, 2003, 09:32 PM   #7
ktlx
macrumors 6502
 
Join Date: Jun 2002
Quote:
Originally posted by MrMacman
a) first link only states that this will work for the 970 in the title, not the code at all.
But the final comments describe the number of integer, floating point and load/store units in the POWER4. It turns out that the PowerPC 970 has the exact same number.

From the compiler writer's point of view, there may be no difference between the POWER4 and PowerPC 970 other than the PowerPC 970 also has an AltiVec unit.

It could be a case similar to the Pentium III versus Pentium 4. The principle difference between the two processors from a compiler writer's point of view is how best to optimize the code and the SIMD instructions. If the POWER4 and PowerPC 970 have the same number of processing units, there may not be any difference between the two other than the SIMD instructions.

Compiler writers cannot do much related to memory I/O speed, the size or existance of Level 3 cache or dual core versus single core.
ktlx is offline   0 Reply With Quote
Old May 19, 2003, 09:34 PM   #8
ktlx
macrumors 6502
 
Join Date: Jun 2002
Quote:
Originally posted by iJed
What would be more interesting to know would be if Apple was involved in adding POWER4/PPC970 support to GCC.
There doesn't seem to be any evidence that Apple was involved in the port. All of the documents that I have seen point to the existing GCC team and IBM.
ktlx is offline   0 Reply With Quote
Old May 19, 2003, 09:37 PM   #9
wheezl
macrumors member
 
Join Date: Dec 2002
Quote:
) first link only states that this will work for the 970 in the title, not the code at all.
b) we know it will run on some operating system.
c) I think we all know it will atleast run on *nix and Linux
Actually GCC 3.3 has already been built for OS X (Darwin). So yes. it works. To generate code for a processor you are not actually using merely requires that you setup a cross-compilation environment.

Looks like everything except the gcc java compiler works.


Link to successful GCC 3.3 build message
wheezl is offline   0 Reply With Quote
Old May 19, 2003, 10:29 PM   #10
KEL9000
macrumors member
 
Join Date: May 2003
Apple doesn't use an unmodified version of gcc, they take the source and add their extentions. For 970 support to make it back to the main gcc branch would mean apple/ibm has submited the code into gcc. This also means that apple/ibm feels satisfied with their implementation of gcc. This is very good news!
KEL9000 is offline   0 Reply With Quote
Old May 20, 2003, 07:30 AM   #11
zac4mac
macrumors 6502
 
Join Date: Jun 2002
Location: near Boulder, CO. USA
Send a message via AIM to zac4mac
It's all adding up very positively. Mot has no 64 bit processor now, with no immediate plans in the future either, and will be relegated to the consumer desktop and portables by year's end. Near the first of the year, portables also go away for them(970s in PBs and Gobis in iBooks at MWSF?). one of the quotes I got from a guy at MOS13 was "it don't(sic) look good for us(Moto)"
I am so saving for a duallie 970, hopefully in the next few months. The heat is on.

Zack
zac4mac is offline   0 Reply With Quote
Old May 20, 2003, 08:26 AM   #12
ktlx
macrumors 6502
 
Join Date: Jun 2002
Quote:
Originally posted by KEL9000
Apple doesn't use an unmodified version of gcc, they take the source and add their extentions. For 970 support to make it back to the main gcc branch would mean apple/ibm has submited the code into gcc. This also means that apple/ibm feels satisfied with their implementation of gcc. This is very good news!
Your logic is full of holes.

GCC supports the PowerPC outside of Apple's modificiations to the compiler. You can use GCC to compile code for other PowerPC systems without using Apple's modified compiler.

The fact that a comment on a single file about supporting the PowerPC 970 says absolutely nothing about whether Apple was involved. It does not even say anything about whether IBM was involved with the port--GCC supported a lot of processors before it started receiving any vendor support beyond normally published documents.
ktlx is offline   0 Reply With Quote
Old May 20, 2003, 02:24 PM   #13
type_r503
macrumors member
 
Join Date: Jul 2002
Quote:
Originally posted by ktlx
Your logic is full of holes.

GCC supports the PowerPC outside of Apple's modificiations to the compiler. You can use GCC to compile code for other PowerPC systems without using Apple's modified compiler.

The fact that a comment on a single file about supporting the PowerPC 970 says absolutely nothing about whether Apple was involved. It does not even say anything about whether IBM was involved with the port--GCC supported a lot of processors before it started receiving any vendor support beyond normally published documents.
My head is full of holes too.


How can a compiler support an unreleased, undocumented cpu without the support of the Manufacturer? I guess gcc was just hacked to support a non existent cpu. In order for the compiler to write instructions for a cpu it must know the instructions the cpu uses. Thus if gcc now supports the PPC970 the only LOGICAL conclusion would be that IBM or APPLE(as Apple and IBM are working together) have supplied the code for this. Once again this is very good news!

Please feel free to point out any falicies in my logic.
type_r503 is offline   0 Reply With Quote
Old May 20, 2003, 04:06 PM   #14
ktlx
macrumors 6502
 
Join Date: Jun 2002
Quote:
Originally posted by type_r503
How can a compiler support an unreleased, undocumented cpu without the support of the Manufacturer? I guess gcc was just hacked to support a non existent cpu. In order for the compiler to write instructions for a cpu it must know the instructions the cpu uses. Thus if gcc now supports the PPC970 the only LOGICAL conclusion would be that IBM or APPLE(as Apple and IBM are working together) have supplied the code for this. Once again this is very good news!
It is very simple. There is only one place where GCC lists itself as supporting the PowerPC 970 and that is on a comment on one line of one source file. If you read the release notes and the other associated GCC documentation, you will find no mention of support for the PowerPC 970, only newly added support for the POWER4.

The PowerPC 970 is hardly an undocumented processor. It supports a documented ISA--the PowerPC 64-bit ISA. Its architecture details have been documented by IBM. Since the processor has the same number of integer, floating point and load/store units as the POWER4 and both implement the PowerPC 64-bit ISA, it is logical to assume the optimization code will be the same.

People are blowing this way out of all proportion to what it actually means. It means nothing more than GCC now supports the POWER4 architecture with the belief that the same set of optimizations will work for the PowerPC 970 (not a bad assumption).

I expect that Apple and/or IBM will have to do additional work to GCC to get it to support the AltiVec unit. I think the surest sign that people have blown this way out of proportion is that there is no mention at all for AltiVec support. That fact alone means GCC does not fully support the PowerPC 970.

This is becoming like the G5. People are so convinced that PowerPC 970 based PowerMacs and PowerBooks are coming out in June that anything that mentions the processor is taken as evidence we are only a few short weeks away from release. This tidbit means nothing beyond GCC support for the POWER4.
ktlx is offline   0 Reply With Quote
Old May 20, 2003, 07:32 PM   #15
Dont Hurt Me
macrumors 601
 
Dont Hurt Me's Avatar
 
Join Date: Dec 2002
Location: Yahooville S.C.
maybe we should all pretend the 970 does not exist and this summer we will see a 1.6 g4 quad machine since the duals are so behind the single intel p4.
__________________
Those that give up Liberty to have temporary Security deserve Neither......Benjamin Franklin.
Dont Hurt Me is offline   0 Reply With Quote
Old May 21, 2003, 06:12 AM   #16
Bengt77
macrumors 68000
 
Bengt77's Avatar
 
Join Date: Jun 2002
Location: Europe
Quad G4 machines before the PPC970s appear?!...

Quote:
Originally posted by Dont Hurt Me
maybe we should all pretend the 970 does not exist and this summer we will see a 1.6 g4 quad machine since the duals are so behind the single intel p4.
At this rate, I wouldn't be surprised at all if we saw machines like that before the PPC970s come out...

Blech!

__________________
Computer: MacBook CE unibody 2,4GHz
iDevices: iPod nano 4G 8GB, iPhone 3GS 16GB
Headphones: ATH-A900Ti, ATH-AD900, SE530 & SE210
Use
MRoogle!
Bengt77 is offline   0 Reply With Quote
Old May 21, 2003, 06:24 AM   #17
Bengt77
macrumors 68000
 
Bengt77's Avatar
 
Join Date: Jun 2002
Location: Europe
On the other hand...

Quote:
Originally posted by Dont Hurt Me
maybe we should all pretend the 970 does not exist and this summer we will see a 1.6 g4 quad machine since the duals are so behind the single intel p4.
On the other hand, if those machines are equipped with a serious DDR FSB, say 400MHz of something like that, they actually would be seriously fast, wouldn't they? Throw in, as a standard, 2GB of 400MHz DDR RAM and an ATI Radeon 9800 Pro and you've got yourself a dream machine. That is, if Apple's gonna give the G4 a true DDR bus before the PPC970s are rolled out...

__________________
Computer: MacBook CE unibody 2,4GHz
iDevices: iPod nano 4G 8GB, iPhone 3GS 16GB
Headphones: ATH-A900Ti, ATH-AD900, SE530 & SE210
Use
MRoogle!
Bengt77 is offline   0 Reply With Quote
Old May 22, 2003, 03:57 PM   #18
Fender2112
macrumors 6502a
 
Fender2112's Avatar
 
Join Date: Aug 2002
Location: Charlotte, NC
Send a message via AIM to Fender2112
I'll be surprised...

I'll be surprised if anything good happens these next few months.

Here's to looking forward to being surprised!
__________________
Really? Really, really!
Fender2112 is offline   0 Reply With Quote

Reply
MacRumors Forums > News and Article Discussion > Mac Blog Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Multiple Language Support in Pages?? Pugpuppydude Mac Applications and Mac App Store 0 Sep 9, 2011 04:14 PM
My Take on the PowerPC/Intel Support in the Future Mr. Dee Buying Tips and Advice 13 Jul 13, 2006 02:26 PM
PowerPC 970s in IBM's New Blades MacRumors MacRumors News Discussion (archive) 59 Nov 15, 2003 09:13 AM


All times are GMT -5. The time now is 01:36 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC