[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Re: [PATCH 08/60] microblaze_v4: exception handling
- To: Ray Lee <ray-lk@xxxxxxxxxxxxx>
- Subject: [microblaze-uclinux] Re: [PATCH 08/60] microblaze_v4: exception handling
- From: Michal Simek <monstr@xxxxxxxxx>
- Date: Thu, 26 Jun 2008 23:06:11 +0200
- Cc: monstr@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, arnd@xxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, stephen.neuendorffer@xxxxxxxxxx, John.Linn@xxxxxxxxxx, john.williams@xxxxxxxxxxxxx, matthew@xxxxxx, will.newton@xxxxxxxxx, drepper@xxxxxxxxxx, microblaze-uclinux@xxxxxxxxxxxxxx, grant.likely@xxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxx, vapier.adi@xxxxxxxxx, alan@xxxxxxxxxxxxxxxxxxx, hpa@xxxxxxxxx
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=seznam.cz; h=Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Smtpd:X-Seznam-User:X-QM-Mark; b=UUgXDSj8DSNDfDen7q/ISKWmfu+PYmbr36joz7Ec0QVUtjnABh4mgz6G7pB2ms6Ol LhSGbAgTYnexXvPad40lA2P7UP5LOg8/iSZT4vx/fHXnjH3TtZu65wsurlkjC9JGoHL IqGj0CeMmH3zBDNWMrGn7TvUQ6EnBwOEvPcZf4I=
- In-reply-to: <2c0942db0806261243g52edd45eo11ded19bb1f24004@xxxxxxxxxxxxxx>
- References: <1214483429-32360-1-git-send-email-monstr@xxxxxxxxx> <1214483429-32360-3-git-send-email-monstr@xxxxxxxxx> <1214483429-32360-4-git-send-email-monstr@xxxxxxxxx> <1214483429-32360-5-git-send-email-monstr@xxxxxxxxx> <1214483429-32360-6-git-send-email-monstr@xxxxxxxxx> <1214483429-32360-7-git-send-email-monstr@xxxxxxxxx> <1214483429-32360-8-git-send-email-monstr@xxxxxxxxx> <1214483429-32360-9-git-send-email-monstr@xxxxxxxxx> <2c0942db0806260935p51564a7et6517b39e9a6706dc@xxxxxxxxxxxxxx> <4863EBD9.1010601@xxxxxxxxx> <2c0942db0806261243g52edd45eo11ded19bb1f24004@xxxxxxxxxxxxxx>
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
- User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
Ray Lee napsal(a):
> On Thu, Jun 26, 2008 at 12:19 PM, Michal Simek <monstr@xxxxxxxxx> wrote:
>>> 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?
>> I don't think that addk is important. I have some tests for exception, I want to
>> cover full exception handling.
>
> Okay. It doesn't match your other exception handlers, though, which is
> why I noticed it in the first place (they use addk).
thanks for notice. I'll keep in my mind when I test it.
M
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/