Re: [alpha] cleanup opDEC workaround

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Thu Nov 22 2001 - 05:55:50 EST


On Wed, Nov 21, 2001 at 02:27:53PM -0800, Richard Henderson wrote:
> Actually, the custom entIF isn't that much work. What about this?

Hmm, I like it.
However, if I didn't missed something again, some corrections are required.
First, in opDEC_check_entIF r16 should be stored on the stack frame
(PAL_rti will restore it). Also, if SRM is broken and doesn't update pc,
we'll jump back to cvttq/svm. So I think we need something like this:

opDEC_check_entIF: \n\
        ldq $16,8($sp) \n\
+ stq $16,24($sp) \n\
+ addq $16,4,$16 \n\
+ stq $16,8($sp) \n\
        call_pal 63 /* PAL_rti */ \n\

and

                "cvttq/svm $f31, $f31\n\t"
+ "nop\n\t"
                "subq $16, %0, %0"

No?

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:29 EST