Re: [Linux-ia64] 2.4.14 Missing asm clobbers

From: David Mosberger <davidm_at_hpl.hp.com>
Date: 2001-11-21 12:37:16
Thanks for reporting on this.  I'm certain some of asm need to be
fixed given not-so-recent compiler developments, though I'm not aware
of there being any real problems in this area at the moment.  I'll
look into it next week.

	--david

>>>>> On Wed, 21 Nov 2001 11:40:56 +1100, Keith Owens <kaos@ocs.com.au> said:

  Keith> A comment of Linus's on l-k promoted me to check ia64 inline
  Keith> asm for predicates.  I was surprised to find what look like
  Keith> missing asm clobbers.  I am not 100% sure that these are
  Keith> errors (gcc clobbers are a black art ;) so there is no patch.

  Keith> include/asm-ia64/spinlock.h.

  Keith>   spin_lock() changes ar.ccv, p7 without a clobber (!NEW_LOCK
  Keith> version).  read_lock() changes p6 without a clobber.
  Keith> write_lock() changes ar.ccv, p7 without a clobber.

  Keith> arch/ia64/kernel/traps.c

  Keith>   fp_emulate() does ldf f10, f11 without a clobber.

  Keith> arch/ia64/kernel/unaligned.c

  Keith>   invala_gr() and invala_fr() do invala without a "memory"
  Keith> clobber.  Not sure if it is necessary or not.
Received on Tue Nov 20 17:37:27 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:06 EST