]> git.neil.brown.name Git - history.git/commit
[PATCH] ia64: fix ld.a emulation
authorKenneth W. Chen <kenneth.w.chen@intel.com>
Tue, 10 Feb 2004 04:55:53 +0000 (20:55 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Tue, 10 Feb 2004 04:55:53 +0000 (20:55 -0800)
commit0f2271373ee6a230d83cf7163fa190cdc7f8bd94
treeafea971a2f0dbd249dfcd3d22f57e41d7ef4490d
parent33d55a8ad0fb53f8222c4f895cf48652b562f40a
[PATCH] ia64: fix ld.a emulation

This patch fixes a corner-case of ld.a emulation.  ld.a should be
emulated such that it always loads a misaligned value and clears the
corresponding ALAT entry.  The old emulation was correct for the case
where ld.a was followed by ld.c/chk.a (since ALAT entry was cleared),
but wrong for the case where it _wasn't_ followed by ld.c/chk.a.  In
that case, the misaligned value wasn't read from memory, as it should
have been.
arch/ia64/kernel/unaligned.c