Re: [PATCH 08/60] microblaze_v4: exception handling

From: Ray Lee
Date: Thu Jun 26 2008 - 14:20:04 EST


On Thu, Jun 26, 2008 at 5:29 AM, <monstr@xxxxxxxxx> 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/