NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: MaxMax on April 09, 2015, 05:32:21 PM

Title: Info AVX 512
Post by: MaxMax on April 09, 2015, 05:32:21 PM
Sorry for my bad English (Google translate).
I started using Nasm, I tried to compile the files inside the folder Test.
The file avx512f.asm does not compile. Are not supported all instructions Avx512?
Where can I find a list of instructions that are not supported?
Thanks a lot;)
Title: Re: Info AVX 512
Post by: shaynox on April 10, 2015, 09:15:43 AM
Hello, in fact, nasm support not only intel architecture (-hf for see all format support).

So when you see k like prefix in register name (k7 - vpcmpnled k5,zmm30,zmm29) it's for AMD processor I guess.
Title: Re: Info AVX 512
Post by: Frank Kotler on April 10, 2015, 02:24:37 PM
Hmmm... "-hf" gives a list of supported output formats - shouldn't have anything to do with architecture.

MaxMax - There's a list in the documentation of instructions which are(?) supported, but some of them are marked "FUTURE". It may be that the "f" in "avx512f.asm" means "future"? It assembles for me with "-DBIN" (of course) but not with "-DSRC".

Do you need some of the instructions in that file?

Best,
Frank

Title: Re: Info AVX 512
Post by: shaynox on April 10, 2015, 02:34:48 PM
Frank Kotler - Are they blend with amd instruction the list in nasm doc ?
Title: Re: Info AVX 512
Post by: MaxMax on April 10, 2015, 02:50:20 PM
Thanks a lot,
It was just to get an idea, I did not understand why some instructions were compiled, some not (type vcmpeqpd).
Instructions are still used very rarely.
Thank You;)
Title: Re: Info AVX 512
Post by: shaynox on April 10, 2015, 02:53:03 PM
Ok, it's work with binary writing of instruction, but it's really executed by CPU ?
Title: Re: Info AVX 512
Post by: Frank Kotler on April 10, 2015, 03:13:35 PM
Surely won't be executed by my P4! I ASSume it would be executed by a CPU that supports those instructions... if any.

Best,
Frank

Title: Re: Info AVX 512
Post by: shaynox on April 10, 2015, 03:17:04 PM
hmm but it still strange the notion of instruction marked "future", cause I don't know where find information about that.