Re: [fpc-devel] Discussion about "Dynamic packages"

2017-04-13 Thread Bishop
04/13/17 23:50:35, (Marco van de Voort) : Thanks, i understand all of this. This what i call plugin system and i know for what it need. In conclusion: Dynamic Packages needs for smooth plugin system in FreePascal. 04/13/17 23:27:06, Sven Barth via fpc-devel

Re: [fpc-devel] Discussion about "Dynamic packages"

2017-04-13 Thread Bishop
04/13/17 10:47:54, Michael Van Canneyt : > Dynamic Packages will in each case be optional, they will not be not mandatory. The main question is a bit different. Is performance penalties from Dynamic Packages will be optional? I try show example. Let's provide that we

[fpc-devel] Discussion about "Dynamic packages"

2017-04-13 Thread Bishop via fpc-devel
I had some fears concerning idea development of "Dynamic packages" in FreePascal and possible performance penalties of programs from these changes. This why i start this discussion and try wrote some of my ideas or/and proposal that, as i think, can help make FreePascal better. At first I

Re: [fpc-devel] Some questions about compiler work on x86_64-win64

2017-04-10 Thread Bishop
First of all sorry that it take so long time for my answer. 03/19/17 10:38:35, Sven Barth via fpc-devel : > If it is so important to you: patches are welcome. But keep in mind that the default needs to be the status quo. Thanks. This is important to me to

Re: [fpc-devel] Some questions about compiler work on x86_64-win64

2017-03-18 Thread Bishop
03/18/17 00:51:05, Sven Barth via fpc-devel : > Bo, the main sense of this is to detect when a new thread is started and more importantly terminated cause only with this we can free the threadvar area of the thread accordingly (if the thread is an external

Re: [fpc-devel] Some questions about compiler work on x86_64-win64

2017-03-17 Thread Bishop
03/17/17 11:56:47, Sven Barth via fpc-devel : >> 1) EXE-file contained .CRT section. As i understand it contained one pointer to _FPC_Tls_Callback functions from RTL. Is it used only for this? > Correct. And main sence of this function is allocated ThreadVar

[fpc-devel] Some questions about compiler work on x86_64-win64

2017-03-17 Thread Bishop via fpc-devel
I have some questions about compiler work on x86_64-win64. 1) EXE-file contained .CRT section. As i understand it contained one pointer to _FPC_Tls_Callback functions from RTL. Is it used only for this? 2) Why INITFINAL table on both Windows and Linux puted to .data section? Is we need to

[fpc-devel] How to get pointer to class VMT in assembler block

2017-02-19 Thread Bishop
I need to get pointer to class VMT in assembler block. In pascal code this can be done very simple, like Ptr := Pointer(SomeClass). But when i try in assembler do like "MOV RAX, SomeClass" this make assembler syntax error. If i try "LEA RAX, [SomeClass]" this compiled like "LEA RAX, [0]".

[fpc-devel] x86ins.dat bytes format description

2015-11-08 Thread Bishop
Hi all. I am working on adding support of TSX instructions to FPC compiler. So i need modify x86ins.dat. In sections "bytes" this file contains not only opcode byte. In aditional it contains some control codes that describe generation of prefixes, schema of operands coding and etc. In some