From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7874F387088B; Sat, 4 Jul 2020 21:01:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7874F387088B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593896463; bh=CM8W37XLmFLgj4son4DbFq0bzc0Cws09rjOlKD1uXE4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Gpvi3A/xzEJNJGqRQ3HMeN+kgd0Eo6FmvYkNubkcHfJusQuj2RBYPx84vbBtdOQLM /CGzWoooMEUC7DJeNRqrV8NVJJyo2R2y57Ss6NzLV1cowgV1i7JX6GK5IILqBmq6Zw 7DZQWSnRhDQbmnV3rmwLk2xk7yg+Bi+x15YhnOX4= From: "alex.popov at linux dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96061] Please support 'no_caller_saved_registers' attribute on aarch64 (or maybe on all targets) Date: Sat, 04 Jul 2020 21:01:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alex.popov at linux dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2020 21:01:03 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96061 --- 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_call_used_regs}. ``` Could you explain the connection between your attribute for zeroing registe= rs and 'no_caller_saved_registers' attribute?=