Forum > General

possible to add inlined CPU-specific assembly language instructions?

<< < (4/4)

Bloody mess:

--- Quote from: Leledumbo on January 22, 2015, 05:59:54 pm ---Maybe could break something when used improperly.

--- End quote ---
And if I use it properly? It is difficult to just insert an asm block into output assembler code generated by fpc without any changes?

Hmm... Maybe I should use pure assembler... at least a dll on it...

skalogryz:

--- Quote from: Bloody mess on January 22, 2015, 07:57:15 pm ---Hmm... Maybe I should use pure assembler... at least a dll on it...

--- End quote ---
static library maybe?

Bloody mess:

--- Quote from: skalogryz on January 22, 2015, 08:07:58 pm ---static library maybe?

--- End quote ---
Yes, it is probably better.
Но всё равно жалко, что с ассемблером такая жопа.
Or maybe it's not worth all this... But assembler changed my mind. Assembler and Zen)

skalogryz:
It is not that bad with the assembler, it's a little bit worse with the contribution to the compiler ;)

After all, FPC is just another pascal program, that an average pascal developer should be able to read, understand, debug, modify and ... send a patch eventually

Navigation

[0] Message Index

[*] Previous page

Go to full version