]> sourceware.org Git - newlib-cygwin.git/commit
Stash reent marker in upper bits of s1 on AMD GCN
authorKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 7 Nov 2019 22:46:41 +0000 (14:46 -0800)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 8 Nov 2019 09:34:28 +0000 (10:34 +0100)
commitd14714c690c0b11b0aa7e6d09c930a321eeac7f9
treefcfbeffbf5a2cd5c78cffb34fa41be05e5e26700
parent04d85dea5746572ef4b45df9add7d7aaec9a0821
Stash reent marker in upper bits of s1 on AMD GCN

s[0:3] contain a descriptor used to set up the initial value of the
stack, but only the lower 48 bits of s[0:1] are currently used.
The reent marker is currently set in s3, but by stashing it in the
upper 16 bits of s[0:1] instead, s3 can be freed up for other purposes.
newlib/libc/machine/amdgcn/getreent.c
This page took 0.032469 seconds and 5 git commands to generate.