Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2021-12

Fixed up !104

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

J. Gareth Moreton
to J. Gareth Moreton

If needs be, I can easily build on this merge request later to fill the saved register arrays if a particular architecture has a tailor-made solution.

Note that the volatile registers are not saved in this array and are checked separately. (e.g. in aoptx86.pas, the method GetIntRegisterBetween, which could theoretically be made platform-independent (it contains some conditional code for i386 because 8-bit registers can only be AL, CL, DL and BL), calls "RegSet :=paramanager.get_volatile_registers_int(current_procinfo.procdef.proccalloption) +current_procinfo.saved_regs_int;" to get the list of registers available to the current procedure.  While this is slightly slower, I figure it's a bit more flexible and backward-compatible.

Gareth aka. Kit

J. Gareth Moreton wrote 9 lines
Hi Florian et al, I fixed up the CPU subtype in https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/104 - hopefully the merge request is good now. Gareth aka. Kit
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email