flat assembler
Message board for the users of flat assembler.

Index > Main > intel vs amd instructions

Author
Thread Post new topic Reply to topic
Ali.Z



Joined: 08 Jan 2018
Posts: 365
Ali.Z
hey,

i never programmed for amd architecture, and i want to buy one soon.

so i know most instructions are the same, that include mnemonics, opcodes, registers, instruction encoding and operation.

so what im asking here is, only if there is any difference even if its 1 single instruction.

because i know for sure there must be at least few differences.

_________________
Asm For Wise Humans
Post 12 Apr 2020, 22:51
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17624
Location: In your JS exploiting you and your system
revolution
There are differences. They almost certainly won't affect you unless you are into some esoteric stuff.

Don't worry about it, it will be fine.
Post 12 Apr 2020, 22:53
View user's profile Send private message Visit poster's website Reply with quote
Ali.Z



Joined: 08 Jan 2018
Posts: 365
Ali.Z
great, that means same program can work on both.

but still wondering if the differences are for system developers, or some pretty rare used user/kernel mode instructions.

_________________
Asm For Wise Humans
Post 12 Apr 2020, 22:57
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17624
Location: In your JS exploiting you and your system
revolution
If you are doing OS construction then you will have to know your CPU anyway. All the CPUs are all different even within the same maker.

For user code, it will be fine. Just code it up.
Post 12 Apr 2020, 23:07
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 3018
Location: vpcmipstrm
bitRAKE
If you really want to try AVX-512 then you'll have a limited selection of Intel chips, atm. Next-generation AMD should have it. Both virtualization implementations are completely different. Yet, both seem mature at this point. Intel is further along feature-wise, IIRC.

(Disclaimer: I recently bought an AMD processor despite this understanding.)
Post 12 Apr 2020, 23:13
View user's profile Send private message Visit poster's website Reply with quote
Ali.Z



Joined: 08 Jan 2018
Posts: 365
Ali.Z
nope, im not fan of avx at all.

thanks guys, soon i will build a full amd setup.

_________________
Asm For Wise Humans
Post 14 Apr 2020, 00:34
View user's profile Send private message Reply with quote
Feryno



Joined: 23 Mar 2005
Posts: 454
Location: Czech republic, Slovak republic
Feryno
Post 16 Apr 2020, 20:23
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.