PATCH: Not use branch likely on mips

Andreas Jaeger aj@suse.de
Thu Feb 7 02:58:00 GMT 2002


"H . J . Lu" <hjl@lucon.org> writes:

> This patch removes branch likely.

Please update the copyright years next time.

I've committed the patch,

Andreas

>
> H.J.
> ----
> 2002-02-05  H.J. Lu  <hjl@gnu.org>
>
> 	* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Not use
> 	branch likely.
> 	* sysdeps/mips/pt-machine.h (testandset): Liekwise.
> 	(__compare_and_swap): Liekwise.
>
> 2002-02-05  H.J. Lu  <hjl@gnu.org>
>
> 	* sysdeps/mips/atomicity.h (exchange_and_add): Not use branch
> 	likely.
> 	(atomic_add): Likewise.
> 	(compare_and_swap): Likewise.
> 	* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
> 	Likewise.
> [...]
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-alpha mailing list