m68k DBcc relaxation clarification

Ian Lance Taylor ian@zembu.com
Thu Apr 20 14:11:00 GMT 2000


   Date: Thu, 20 Apr 00 15:00:32 CDT
   From: msokolov@ivan.Harhan.ORG (Michael Sokolov)

   2. In my last patch, where I add --pcrel, I changed DBcc relaxation to respect
   this option and to support generating a long branch instead of the absolute
   jump when available. Specifically, a long branch is possible when the CPU is
   68020 or higher and an absolute jump is possible when --pcrel is not given.
   When both conditions are true (68020 or higher CPU and no --pcrel) either is
   possible. My patch makes it generate a long branch in this case. Ian, do you
   agree with this, or should it be an absolute jump instead?

I don't see that it matters.  If one instruction is more efficient, or
shorter, we should pick that one.

Ian


More information about the Binutils mailing list