setjmp: optimize longjmp prologues
commit4554f155dd23a65fcdfd39f1d5af8af55ba37694
authorAlexander Monakov <amonakov@ispras.ru>
Wed, 12 Aug 2020 11:34:30 +0000 (12 14:34 +0300)
committerRich Felker <dalias@aerifal.cx>
Thu, 13 Aug 2020 01:52:56 +0000 (12 21:52 -0400)
tree6d30aec1be17901269cb0ef58d6cd379634f1e8f
parent59b64ff686cef2a87e9552658b2c8d2531f87176
setjmp: optimize longjmp prologues

Use a branchless sequence that is one byte shorter on 64-bit, same size
on 32-bit. Thanks to Pete Cawley for suggesting this variant.
src/setjmp/i386/longjmp.s
src/setjmp/x32/longjmp.s
src/setjmp/x86_64/longjmp.s