EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Off Topic (https://www.eqemulator.org/forums/forumdisplay.php?f=626)
-   -   What version of linux (https://www.eqemulator.org/forums/showthread.php?t=10326)

Muuss 12-09-2003 01:58 AM

hehe, its funny to see how you deturn the general sense into small pieces just to make it keeping more a less the same meaning, but by still isolating the parts where you can place your opinion and finally return them :)

I basically don't care of what gcc compiler people use here at job. Most of them produce code that is trashed the next week (university researchers, in voice recognition, numerical analysis and such...) and they make themselves the choice of their compilers.
One thing is sure, all of them finnally end up with gcc as soon as they start to work on unix like stations.

Quote:

I think that it is possible to use icc to write code for older x86 chips, if that is what you're asking. I am told that the performance benefits are still evidenced, perhaps due to more agressive memory alignment strategies. The compiler supports some optimizations, though, that are very chip specific. This is true for gcc and ms cl, too.
Well no, that's not what i was asking. The question is : i wrote some optimized code for my P4, can i compile it on that other computer which only has a P2 ?

Eglin 12-09-2003 02:54 AM

Quote:

Originally Posted by Muuss
hehe, its funny to see how you deturn the general sense into small pieces just to make it keeping more a less the same meaning, but by still isolating the parts where you can place your opinion and finally return them :)

I felt that your statements should be addressed individually.

Quote:

One thing is sure, all of them finnally end up with gcc as soon as they start to work on unix like stations.
This is exactly contrary to your earlier statements implying that portability was of utmost importance. Not to mention the fact that it has no impact whatsoever on the fact that simply using gcc doesn't resolve all of the underlying differences in the various subsystems.

Quote:

Quote:

I think that it is possible to use icc to write code for older x86 chips, if that is what you're asking. I am told that the performance benefits are still evidenced, perhaps due to more agressive memory alignment strategies. The compiler supports some optimizations, though, that are very chip specific. This is true for gcc and ms cl, too.
Well no, that's not what i was asking. The question is : i wrote some optimized code for my P4, can i compile it on that other computer which only has a P2 ?
So, you are asking if code specifically engineered to take advantage of features only found on a p4 (hyperthreading, for example) will run on a chip that doesn't support those features? Of course not. I'm not really sure how this could be unclear. I don't really see how this is an issue, though. It certainly hasn't hurt adoption of prior chip-specific features (like mmx or 3dnow! or sse or ...). If you don't have mmx avaliable, you just can't run mmx optimized code (obviously).

Muuss 12-09-2003 03:28 AM

Thanks thanks, you confirmed my thoughts. I was wondering if it was possible for the compiler to automatically produce the alternative code to make the software able to execute on a lower CPU (as u see, i have low qualities of coder :p)

Quote:

This is exactly contrary to your earlier statements implying that portability was of utmost importance.
Nope, nope, that's a too fast conclusion coming from an isolated sentence. there's not only gcc and icc in the world, portability can also be assumed in a laboratory with another compiler than the one choosen in that other laboratory, or this one... The only conclusion i can make of what's happening here (100+ persons writing source code, great majority of them being doctors) is that gcc is in all the cases the elected compiler.

Tho, i totally agree that on each specific platforms, there's several alternatives to gcc, which can certainly provide better results, as i wrote before, i have no preference for gcc or another one...


All times are GMT -4. The time now is 07:13 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.