[RFC] split of i386.c
Martin Liška
mliska@suse.cz
Tue Mar 12 15:08:00 GMT 2019
Hi.
I've thinking about the file split about quite some time, mainly
in context of PR84402. I would like to discuss if it's fine for
maintainers of the target to make such split and into which logical
components can the file be split?
I'm suggesting something like:
- option-related and attribute-related stuff (i386-options.c - as seen in patch)
- built-in related functions
- expansion/gen functions - still quite of lot of functions, would make
sense to split into:
- scalar
- vector
- prologue/epilogue, GOT, PLT, symbol emission
- misc extensions like STV, TLS, CET, retpolines, multiversioning, ..
- helpers - commonly used functions, print_reg, ix86_print_operand, ..
I am volunteering to make the split, hopefully early in the next stage1.
Thoughts?
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i386-options.patch
Type: text/x-patch
Size: 264499 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20190312/370ec2bf/attachment.bin>
More information about the Gcc
mailing list