Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Free Pascal
»
General
(Moderators:
FPK
,
Tomas Hajny
) »
Support for x86-64 extensions in ASM
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
FAQ
Wiki
Bugtracker
Packages
IRC channel
Developer Blog
Follow us on Twitter
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: Support for x86-64 extensions in ASM (Read 1570 times)
ncs-sniper
New member
Posts: 46
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.
Logged
Leledumbo
Hero Member
Posts: 7848
Programming + Glam Metal + Tae Kwon Do = Me
Re: Support for x86-64 extensions in ASM
«
Reply #1 on:
May 26, 2017, 11:51:43 pm »
There you go:
https://svn.freepascal.org/svn/fpc/tags/release_3_0_2/compiler/x86/x86ins.dat
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
ncs-sniper
New member
Posts: 46
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"?
Logged
marcov
Global Moderator
Hero Member
Posts: 6099
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.
Logged
ncs-sniper
New member
Posts: 46
Re: Support for x86-64 extensions in ASM
«
Reply #4 on:
May 28, 2017, 08:54:47 pm »
Ok, thanks for the answer!
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Free Pascal
»
General
(Moderators:
FPK
,
Tomas Hajny
) »
Support for x86-64 extensions in ASM
Recent
How do I get the PLAN fro...
by
dsiders
[
Today
at 05:59:02 pm]
Import excel to dbgird
by
Michael Collier
[
Today
at 05:56:42 pm]
Umlaut UTF-8 Question
by
totya
[
Today
at 05:40:09 pm]
Visual Pascal Community E...
by
Researching
[
Today
at 05:38:46 pm]
New version of BGRABitmap
by
lainz
[
Today
at 05:38:01 pm]
Online Package Manager
by
GetMem
[
Today
at 05:36:56 pm]
A function returning a TS...
by
jcmontherock
[
Today
at 05:05:09 pm]
Linux TUN
by
Hiko222
[
Today
at 05:03:33 pm]
is it possible to stream ...
by
Michael Collier
[
Today
at 04:54:04 pm]
macOS Extensions
by
ChrisR
[
Today
at 04:39:31 pm]