This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to add target specific dependency?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]