[Top] [All Lists]

Re: load_unaligned() and "uld" instruction

To: Jun Sun <>
Subject: Re: load_unaligned() and "uld" instruction
From: Ralf Baechle <>
Date: Fri, 6 Oct 2000 18:32:08 +0200
Cc: "Kevin D. Kissell" <>,,
In-reply-to: <>; from on Thu, Oct 05, 2000 at 10:53:34PM -0700
References: <> <> <000d01c02782$32d31560$0deca8c0@Ulysses> <> <> <> <00d101c02f04$3a6d7340$0deca8c0@Ulysses> <> <011801c02f19$1283f6a0$0deca8c0@Ulysses> <>
On Thu, Oct 05, 2000 at 10:53:34PM -0700, Jun Sun wrote:

> Although the usb does use get_unaligned(u64) (ldl/ldr), it actually does
> not run into it - at least in my test so far.  That probably explains
> why my fix runs on the R5432 CPU so far.

No, you just never hit the window where the your 64-bit reg got corrupted by
an exception.  The old broken macros also had a cast to long in them
which was truncating the loaded 64-bit word so in 100% of cases the upper
32-bit was modified in creative ways.  So I guess you were just lucky and
never hit the case were this actually bits.


<Prev in Thread] Current Thread [Next in Thread>