[PATCH 08/60] microblaze_v4: exception handling
Ray Lee
ray-lk at madrabbit.org
Fri Jun 27 02:35:22 EST 2008
On Thu, Jun 26, 2008 at 5:29 AM, <monstr at seznam.cz> wrote:
> +ex_sw:
> + /* Get the destination register number into r5 */
> + lbui r5, r0, ex_reg_op;
> + /* Form store_word jump table offset (sw_table + (8 * regnum)) */
> + la r6, r0, sw_table;
> + add r5, r5, r5;
> + add r5, r5, r5;
> + add r5, r5, r5;
> + add r5, r5, r6;
> + bra r5;
Possibly stupid question: This is part of the unaligned store word
exception handler, yes? Shouldn't the above add's be addk's to
preserve the state of the carry register pre/post store?
More information about the Linuxppc-dev
mailing list