diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-09-09 07:18:28 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-09-09 07:18:28 +0000 |
commit | 878887c50cccd45b5cabe6ed2ac743941f3417ea (patch) | |
tree | 29adc470d9da67b9a6ab051a2be656a54d3c524e /arch/sh/atomic.h | |
parent | deb85ab44dbe784ba6174b8cf376d35aeacbe309 (diff) | |
download | musl-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