Hey, I'm getting a new powerhouse server soon, and I'm wondering whether or not ASM will function the same on my Athlon box as the one I'm currently using (Intel).

I believe they have the same instruction set, but I'm not sure... at most I would simply have to recompile / rebuild my stuff on the athlon box, right?

Damn processor dependency... oh well, that's what makes ASM so powerful, I guess. :D
Posted on 2003-03-30 12:09:00 by OloEopia
The code should run "out of the box", whether it was compiled on an Intel box, or an AMD box. If they didn't all apps would need an AMD, and an Intel binary.

There are some differences, such as whether or not a particular set of instructions are supported (MMX, SSE, SSE2, 3DNow etc.), but these can be determined at run time with the use of the CPUID instruction should you wish to provide two or more code paths.

But thats a topic for later...
If you specify ".486" in your code it'll definitly run on all Athlons, Durons, Pentium 1, 2, 3, 4 Celerons, C3 processors, and transmeta processors (although the transmeta processors use "code morphing software"TM).

Mirno
Posted on 2003-03-30 12:30:31 by Mirno
Thank you greatly Mirno.
Posted on 2003-03-30 12:44:26 by OloEopia
Whaa? This wasn't a "Crusade" (i.e. which is better).

I was just asking will ASM work the same on both, though I suppose the title could be misleading.

C'mon admins, you need more caffeine. :D
Posted on 2003-03-30 13:01:15 by OloEopia
heh, I wonder who moved the thread. wakey wakey.
Posted on 2003-03-31 01:44:44 by f0dder
I dunno either but then its not one of those thing you lose sleep over, it could have probably gone to the heap as its not a coding question but at least in the crusades, you may get lucky and get an argument over it as well. :tongue:

Regards,

hutch@movsd.com
Posted on 2003-03-31 05:14:07 by hutch--
Ok, let's try :P

AMD sux0rz! Intel r00lz!
Teh modraetor who movd this trhead is teh st00pid!

*grin*
Posted on 2003-03-31 05:17:12 by f0dder
::AMD sux0rz! Intel r00lz!

W07? U h4v3 70 0xF1X j00531v, d00d, 3y3 r3c0mm3nd D4 4eMd33 PDF 5p3k5, d47 R 0n 7h31r 5173 !!! U R gon4 533 Intel 5uK5 N4u! 7h31 h4v3 n0 ch4n5 3n1 10ng4 ! Un1355 1 7311 7h3m d4 m4d 73cHn010g1 3y3 m4d3. Bu7 1 w0n7! :grin:
3y3 0p71m123 17 411 4 4MD n0w.

live translation:

What? You are wrong. See the AMD CPU PDF.
Posted on 2003-03-31 13:09:56 by Ultrano
Yay! Free argument with my topic.
Posted on 2003-03-31 22:03:14 by OloEopia
Facts:

1 GHz AMD > 1 Ghz P4
1$ AMD < 1$ P4
1?C AMD > 1?C P4

What does it mean?
Your mileage may vary. :)
Posted on 2003-03-31 23:10:00 by bitRAKE
Being perfectly even handed with the boxes I own even though I have mainly owned Intel processors, my oldest work box is an AMD k6-2 550 that I now use as my internet box and its still going fine after a new power supply last year.

Its built of all the leftover junk I had from my other boxes, 3 x 128 meg simms, an ISA bus modem that I use as its the most reliable, a 35 speed original CD and a free 52 speed one I inherited, an ethernet card for the network and a 64 bit sand blaster sound card that I don't even use. All of this is on win98se with the 98lite package installed that uses the win95b interface so its almost like the "REAL THING".

And YES, it was a cheapie to start with. :tongue:

Regards,

hutch@movsd.com
Posted on 2003-04-04 02:34:12 by hutch--
Blame me, blame me, I moved the thread ;)

My main box is a Pentium 4 (Socket 423) with 2 GHz, but my next box will have a Athlon. Maybe even a dual system :) (quad boards are too expensive ;) )
Posted on 2003-04-04 02:40:26 by bazik
I hope intel brings out a perfectly silent chip (don't see that happen for AMD too soon)

I could deal with less performance but I can't deal with various jumbos taking off near me when I start my PCs
Posted on 2003-04-04 02:58:11 by Hiroshimator
get yourself a not too highly rated P4, put a massive heatsink on it, and remove the fan. If it gets too hot, it'll throttle :)
Posted on 2003-04-04 03:02:53 by f0dder
now the perfect silent power unit (those things are loud!)
Posted on 2003-04-04 03:04:40 by Hiroshimator

get yourself a not too highly rated P4, put a massive heatsink on it, and remove the fan. If it gets too hot, it'll throttle :)


I'd rather go for a Crusoe 1 GHz (max. ~48 C at full load without any cooler/heatsink) :) Too bad they dont have "real" mainboards on the market yet...
Posted on 2003-04-04 03:04:46 by bazik

now the perfect silent power unit (those things are loud!)


There are power supplies without fans at ebay for around 50 Euro.
Posted on 2003-04-04 03:05:47 by bazik
hehe ebay.de seems to have everything but ebay.be has about nothing and everything on it is 10 ? more than what I would pay in the store ;)
Posted on 2003-04-04 04:03:57 by Hiroshimator
just disable the fan in the PSU and cross your fingers :P
Posted on 2003-04-04 04:06:58 by f0dder
I, just today, finished swapping out my son's motherboard. A PIII to an AthlonXP 2700. During the swap I noticed the back panel of the chassis was riveted on so I had to cut out a bigger hole so all the new connectors would fit. Then, when I installed the power supply, it didn't quite fit either so I had to widen it's opening, too. This was all in a former Gateway box.

During all this I noticed the fan wasn't spinning on the 9 month old $350 Pny TI4400. You pull the sticker off the Pny fan and it says Nvidia.:grin:
You call Pny and they want a week plus the receipt to turn around a new one (lifetime warranty). But I didn't want to wait that long (plus shipping) so I went to Compusa to get a replacement. When I tried to remove the heat sink, it was stuck on so tight I thought I cracked the board.

BTW, Nvidia doesn't sell the fans but Pny tells you to call them to get a new one. Pny doesn't sell them either and is no help in getting a new one.

Through all this I started getting frustrated and frazzled cause I kept getting that "is it done yet?". I finally just laid everything out on his table and wired it all together to make sure it worked. First thing WinXP did was give a "STOP" error and tells you to restart. If you hit "STOP" again you have to check for viruses, yada, yada, yada.

A little googleing showed I needed to do an "upgrade" of XP from the original CD cause of all the new hardware. This wasted maybe an hour and I had to authenticate again but it fixed the problem. The real problem, though, is you would get no hint on fixing this from the original message.

Finally I was able to put everything back in the box and button it up. I have been reading that AMD does seem to do better at games than Intel but I don't know that he'll notice but he's happy.:alright:
Posted on 2003-04-04 17:20:35 by drhowarddrfine