Sign in Join

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

Mailing lists / fpc-devel / 2017-06

non volatile registers.

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Marco van de Voort

I can remember somebody (Sven?) explaining how to save non volatile (xmm) registers callee side on win64. (equivalent to Delphi .savenv)

I searched for that post (some mantis comment?) but can't find it. A quick test seems to indicate that simply adding it to the registers list doesn't work. (or it is caller that saves, which is not useful in my (DLL) case)

Does sb (Sven?) remember that discussion?

I guess I can all save them manually in local variables.

Reply by email

Marco van de Voort
to Marco van de Voort

In our previous episode, Marco van de Voort said:

Show quoted text 10 lines
I can remember somebody (Sven?) explaining how to save non volatile (xmm) registers callee side on win64. (equivalent to Delphi .savenv) I searched for that post (some mantis comment?) but can't find it. A quick test seems to indicate that simply adding it to the registers list doesn't work. (or it is caller that saves, which is not useful in my (DLL) case) Does sb (Sven?) remember that discussion? I guess I can all save them manually in local variables.

Got it, no assembler procedure, just an "asm" block within a proper procedure.

Reply by email