This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: m68k DBcc relaxation clarification
- To: msokolov at ivan dot Harhan dot ORG
- Subject: Re: m68k DBcc relaxation clarification
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 20 Apr 2000 14:11:27 -0700
- CC: binutils at sourceware dot cygnus dot com
- References: <0004202000.AA10887@ivan.Harhan.ORG>
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