As a fun weekend project I wanted to follow along with the tutorial at
https://llvm.org/docs/tutorial/index.html but I noticed the API in in C++ so it
wouldn't be possible to do this in Pascal without at least some plain C API.
How did Free Pascal/Jonas accomplish this in the LLVM backend?
Re
I figured that if you read from memory, and then write to memory, it's
not safe to read from the same memory block again because the write
address could be equal to (or overlap) the read memory and it's
impossible to rule that out if different registers are used. It might be
okay if the referen
> Am 13.11.2021 um 00:55 schrieb J. Gareth Moreton via fpc-devel
> :
>
> Hi everyone,
>
> I have a question when it comes to optimising memory reads and writes. What
> are the rules for FPC when it comes to writing to memory and then reading
> from it later within a single subroutine? For e
On Fri, 12 Nov 2021, J. Gareth Moreton via fpc-devel wrote:
Hi everyone,
I have a question when it comes to optimising memory reads and writes.
What are the rules for FPC when it comes to writing to memory and then
reading from it later within a single subroutine? For example, say I had
t
Jonas Maebe via fpc-devel
writes:
> On 2021-11-12 10:20, Pierre Muller via fpc-devel wrote:
>> Le 10/11/2021 à 21:19, Sergey Organov via fpc-devel a écrit :
>>> Hello,
>>> Using cross-compiler from x86-linux to arm-linux, I keep getting a lot
>>> of warnings at the linking stage of my programs, i