summaryrefslogtreecommitdiff
path: root/arch/sh/atomic.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-09-09 07:18:28 +0000
committerRich Felker <dalias@aerifal.cx>2015-09-09 07:18:28 +0000
commit878887c50cccd45b5cabe6ed2ac743941f3417ea (patch)
tree29adc470d9da67b9a6ab051a2be656a54d3c524e /arch/sh/atomic.h
parentdeb85ab44dbe784ba6174b8cf376d35aeacbe309 (diff)
downloadmusl-878887c50cccd45b5cabe6ed2ac743941f3417ea.tar.gz
fix missing earlyclobber flag in i386 a_ctz_64 asm
this error was only found by reading the code, but it seems to have been causing gcc to produce wrong code in malloc: the same register was used for the output and the high word of the input. in principle this could have caused an infinite loop searching for an available bin, but in practice most x86 models seem to implement the "undefined" result of the bsf instruction as "unchanged".
Diffstat (limited to 'arch/sh/atomic.h')
0 files changed, 0 insertions, 0 deletions