This is the mail archive of the gcc-help@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]

Re: Immediate Problems at the Reload Phase of GCC


  In message <200002291823.SAA12545@rocoto>you write:
  > 
  > This question is regarding gcc version 2.95.2.
  > 
  > I am working with an instruction set that contains an immediate and registe
  > r
  > based compare for equality instruction. The immediate version can take a 16
  > -bit
  > signed value and a register. The register version takes two registers.
  > 
  > Currently, I have a define_insn for the register comparison. I also have a
  > define_insn for the immediate variation, constrained to only accept 16-bit 
  > signed values.
Use a single define_insn with multiple alternative constraints.  

  > I guess the solution is to block this propogation in the reload phase?
No.  That would just paper over the problem.

jeff




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