Another movdf_hardfloat32 patch

Jeffrey A Law law@cygnus.com
Wed Jun 30 23:15:00 GMT 1999


  In message < 19990623153114.B15074@cygnus.com >you write:
  > On Wed, Jun 23, 1999 at 03:27:44PM -0700, Richard Henderson wrote:
  > > One of the values for `const' that the linker can choose is 32764. 
  > > If you've emitted `@l(sym)+4' the instruction field will overflow
  > > and you'll get -32768 instead of what you expected.
  > 
  > Hmm.  Actually, there is one mitigating factor to this -- DFmode must
  > be 8-byte aligned.  So that means that 32764 is _not_ a value that the
  > linker can chose.
  > 
  > So while lo_sum is not generally offsettable, it is in this case
  > becuase of the known alignment of the data.
Hmmm.  I hadn't thought of that.  Good point.  Let me find a copy of David's
patch :-)  Worth remembering since this may effect other ports too.

jeff



More information about the Gcc-patches mailing list