Balaji V. Iyer wrote:

> This is what I am trying to achieve. I want to indicate to my processor
> at certain points of execution to do certain control behavior. I am
> trying to do this by inserting a specialized instruction that will do
> so. 
> 
> I am not using the unspec model. I created a new RTL in rtl.def, then I
> am inserting that RTL at fixed points of my code, and have a constraint
> in my .md file to catch that RTL and convert it into an instruction.

That isn't going to work unless you tell gcc what your magic instruction
does.  I suggest you use an UNSPEC_VOLATILE.

Andrew.

Reply via email to