Author Topic: Info AVX 512  (Read 9205 times)

Offline MaxMax

  • Jr. Member
  • *
  • Posts: 4
Info AVX 512
« 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;)

Offline shaynox

  • Full Member
  • **
  • Posts: 118
  • Country: gr
Re: Info AVX 512
« Reply #1 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.

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: Info AVX 512
« Reply #2 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


Offline shaynox

  • Full Member
  • **
  • Posts: 118
  • Country: gr
Re: Info AVX 512
« Reply #3 on: April 10, 2015, 02:34:48 PM »
Frank Kotler - Are they blend with amd instruction the list in nasm doc ?
« Last Edit: April 10, 2015, 02:36:52 PM by shaynox »

Offline MaxMax

  • Jr. Member
  • *
  • Posts: 4
Re: Info AVX 512
« Reply #4 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;)

Offline shaynox

  • Full Member
  • **
  • Posts: 118
  • Country: gr
Re: Info AVX 512
« Reply #5 on: April 10, 2015, 02:53:03 PM »
Ok, it's work with binary writing of instruction, but it's really executed by CPU ?

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: Info AVX 512
« Reply #6 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


Offline shaynox

  • Full Member
  • **
  • Posts: 118
  • Country: gr
Re: Info AVX 512
« Reply #7 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.
« Last Edit: April 10, 2015, 03:20:36 PM by shaynox »