[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unidentified subject!



Hi,

On Fri, 11 Jan 2002, Richard Zidlicky wrote:

> 	asm volatile ( ".chip 68040\n"
> 		       "tst.l %2\n"
> 		       "jbne 1f\n"
>                        "ptestr (%1)\n"
>                        "jbra 2f\n"
>                        "1: ptestw (%1)\n"
>                        "2: movec %%mmusr,%0\n"
>                        ".chip 68k\n"
> 			: "=r" (mmusr) : "a" (addr), "r" (iswrite));

I think, it would be more readable if we made a ptestr/ptestw a
macro/inline function. I'll look into it in the evening.

bye, Roman



Reply to: