Sign in Join

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

Mailing lists / fpc-devel / 2020-04

Extension to XML node dumping

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

Hi everyone,

I'm planning on extending my XML node dump feature slightly by storing declared record types (and eventually others) into the XML file.  The intention behind this is to show information like field sizes and offsets to help with the development of more advanced compiler features such as vectorisation and pure functions, especially the former as they can be very sensitive to data types.

Gareth aka. Kit

P.S. Yes, pure functions are still in the works - it's a bit of a research project for me more than anything else.

This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email

J. Gareth Moreton
to J. Gareth Moreton

https://bugs.freepascal.org/view.php?id=36882 - currently it shows type definitions as well as constants and fields in records and classes.  For fields, it lists sizes and byte offsets.  As explained in the bug report, the intention is to help aid vectorisation development... at least it's helping me to see where a record type could be uploaded into an XMM register.

Gareth aka. Kit

J. Gareth Moreton wrote 15 lines
Hi everyone, I'm planning on extending my XML node dump feature slightly by storing declared record types (and eventually others) into the XML file.  The intention behind this is to show information like field sizes and offsets to help with the development of more advanced compiler features such as vectorisation and pure functions, especially the former as they can be very sensitive to data types. Gareth aka. Kit P.S. Yes, pure functions are still in the works - it's a bit of a research project for me more than anything else.
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email