public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: [patch] allow target config to state r18 is fixed on aarch64
@ 2018-10-18 17:35 Wilco Dijkstra
  2018-10-23 19:41 ` Olivier Hainque
  0 siblings, 1 reply; 7+ messages in thread
From: Wilco Dijkstra @ 2018-10-18 17:35 UTC (permalink / raw)
  To: GCC Patches, hainque
  Cc: nd, Kyrylo Tkachov, Richard Earnshaw, James Greenhalgh

Hi Olivier,

> STATIC_CHAIN_REGNUM still needs to be adjusted directly I think.
>
> I wondered if we could set it to R11 unconditionally and picked
> the way ensuring no change for !vxworks ports, especially since I
> don't have means to test more than what I described above.

Yes it should always be the same register, there is no gain in switching
it dynamically. I'd suggest to use X9 since X8 is the last register used for
arguments (STATIC_CHAIN_REGNUM is passed when calling a nested
function) and some of the higher registers may be used as temporaries in
prolog/epilog.

Wilco

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-12-12 16:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18 17:35 [patch] allow target config to state r18 is fixed on aarch64 Wilco Dijkstra
2018-10-23 19:41 ` Olivier Hainque
2018-11-09 18:09   ` Olivier Hainque
2018-11-10  0:11     ` Andrew Pinski
2018-12-12 15:36     ` [ping] use REGNUM macros instead of hardcoded values in aarch64 PROBE_STACK reg definitions Olivier Hainque
2018-12-12 15:43       ` Kyrill Tkachov
2018-12-12 16:03         ` Olivier Hainque

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).