How to add target specific dependency?

Ian Lance Taylor iant@google.com
Fri Aug 24 06:55:00 GMT 2007


petruk_gile <petsbags@gmail.com> writes:

> The case is like this:
> In the machine description (*.md) file, sometimes I emit a single RTL
> instruction into multiple ASM instruction. The problem is, in some case I
> need to emit an operand that actually doesn't exist in its RTL
> representation. For example :
> 
> "movpqi_insn x,y" instruction will be translated as ==> "sar x, *ar15"  and 
> "lar y, *ar15"   

It's probably better to split the insn.  But if you can't do that, you
need to modify the RTL to add (use (reg ar15)).

Ian



More information about the Gcc mailing list