Recent

Author Topic: Support for x86-64 extensions in ASM  (Read 3825 times)

ncs-sniper

  • Jr. Member
  • **
  • Posts: 53
Support for x86-64 extensions in ASM
« on: May 26, 2017, 09:23:21 pm »
Hi all!
Simple question - is there a listing (or a way to obtain one) of all supported instructions or whole extensions in the integrated assembler?
I know I can call FPC with command-line parameter -i, but that does not list the individual extensions (eg. BMI1, BMI2, FMA, AESNI, ...), only instruction sets - I have no idea what they encompass.
For now, my only option is to simply try instruction I want to use and see whether FPC will take it or not, which is kind of meh.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8744
  • Programming + Glam Metal + Tae Kwon Do = Me

ncs-sniper

  • Jr. Member
  • **
  • Posts: 53
Re: Support for x86-64 extensions in ASM
« Reply #2 on: May 27, 2017, 04:53:02 pm »
Exactly what I was looking for, many thanks!

But I have another question - why are some extensions (namely BMI1 and 2; I was interested in those two, dunno about others) only partially supported/implemented? Are there reasons other than "nobody did it yet and it is not important or requested"?

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: Support for x86-64 extensions in ASM
« Reply #3 on: May 28, 2017, 07:54:52 pm »
Mostly the assembler is extended by contributions. Sometimes the people contributors already add sets that have (some) documentation but are not available yet.

ncs-sniper

  • Jr. Member
  • **
  • Posts: 53
Re: Support for x86-64 extensions in ASM
« Reply #4 on: May 28, 2017, 08:54:47 pm »
Ok, thanks for the answer!

 

TinyPortal © 2005-2018