Re: [PATCH]IA64 trap code 16 bytes atomic copy on montecito, take 2

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

 



"bibo,mao" (on Thu, 02 Nov 2006 15:27:34 +0800) wrote:
>Keith Owens wrote:
>> Keith Owens (on Thu, 02 Nov 2006 18:22:58 +1100) wrote:
>>> /me kicks himself for mixing up src and dest.
>>>
>>> extern ld16_st16(dest, src);
>>>
>>> ENTRY(ld16_st16)
>>> 	ld16 r15=[r32]		// src
>>> 	;;
>>> 	st16 [r33]=r15		// dest
>>> 	br.ret.sptk.many rp
>>> EXIT(ld16_st16)
>> 
>> Third time lucky, then it's time for some sleep.
>Thanks:), I do not whether ar.csd should be saved/restore across
>this function.

ar.csd is defined to be a scratch register.  So its contents do not
need to be saved.

>> extern ld16_st16(dest, src);
>> 
>> ENTRY(ld16_st16)
>> 	ld16 r15=[r33]		// src
>> 	;;
>> 	st16 [r32]=r15		// dest
>> 	br.ret.sptk.many rp
>> EXIT(ld16_st16)
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux