RE: newbie question regarding alloc instruction

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2004-04-13 08:59:50
>>>> Raj Patil wrote on Monday, April 12, 2004 1:03 PM
>
> I have a basic question about alloc instruction. I apologise if it  is too
> basic. BUt, I could not find the info in the docs I looked at...


Did you look at ia64 software developer's manual, volume 3, section 2.2?


> Are there any restrictions in using alloc instruction more than once in a
> function? (I see that some of the kernel functions do use more than once)
> If not, do I need to worry about setting/unsetting the CFM etc or will it
> be taken care by setting/resetting ar.pfs in the block.  (According to one
> of the manuals CFM can not bet set manually.)

There is no restriction on how many time alloc can be called, br.ret restores
cfm from ar.pfs.  So make sure the original pfs value is in ar.pfs register
when br.ret executes.



-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Apr 12 19:02:06 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST