summary refs log tree commit diff
path: root/hurd/ctty-input.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-03-19 18:10:14 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-03 01:25:57 +0200
commit7b3d8558d92a123743699c577704aab4a2f3d949 (patch)
treefe0bb4533bf48e85d1da16240e72bac373ecd030 /hurd/ctty-input.c
parent17841fa7d45c7ce8836a2935255f90f0bfac46b1 (diff)
downloadglibc-7b3d8558d92a123743699c577704aab4a2f3d949.tar.gz
glibc-7b3d8558d92a123743699c577704aab4a2f3d949.tar.xz
glibc-7b3d8558d92a123743699c577704aab4a2f3d949.zip
hurd: Microoptimize _hurd_self_sigstate ()
When THREAD_GETMEM is defined with inline assembly, the compiler may not
optimize away the two reads of _hurd_sigstate. Help it out a little bit
by only reading it once. This also makes for a slightly cleaner code.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230319151017.531737-32-bugaevc@gmail.com>
Diffstat (limited to 'hurd/ctty-input.c')
0 files changed, 0 insertions, 0 deletions