[Bug target/96061] Please support 'no_caller_saved_registers' attribute on aarch64 (or maybe on all targets)

2020-07-04 Thread alex.popov at linux dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96061 --- Comment #6 from Alexander Popov --- >> Could you explain the connection between your attribute for zeroing >> registers and 'no_caller_saved_registers' attribute? > > We are porting > > https://gitlab.com/x86-gcc/gcc/-/tree/users/hjl/caller

[Bug target/96061] Please support 'no_caller_saved_registers' attribute on aarch64 (or maybe on all targets)

2020-07-04 Thread alex.popov at linux dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96061 --- Comment #4 from Alexander Popov --- > Incorrect. There is also a zero_call_used_regs attribute. Thanks, now I've found it in your tree: ``` You can control this behavior for a specific function by using the function attribute @code{zero_ca

[Bug target/96061] Please support 'no_caller_saved_registers' attribute on aarch64 (or maybe on all targets)

2020-07-04 Thread alex.popov at linux dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96061 --- Comment #2 from Alexander Popov --- > We are working on -fzero-call-used-regs: H.J. Lu, thanks for the information! However, this flag can't be used per-function, like the attribute. So supporting 'no_caller_saved_registers' attribute for a

[Bug target/96061] New: Please support 'no_caller_saved_registers' attribute on aarch64 (or maybe on all targets)

2020-07-04 Thread alex.popov at linux dot com
NCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: alex.popov at linux dot com Target Milestone: --- This is an enhancement request. GCC currently supports 'no_caller_saved_registers' at