This is the mail archive of the gcc-patches@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: [m68k] Fix m68k-netbsdelf bootstrap


On Wed, Jan 14, 2004 at 12:49:37AM +0100, Bernardo Innocenti wrote:
> Richard Henderson wrote:
> >Well, there's still the matter of a6 vs fp.  Do all assemblers
> >support a6?  (I'd hope so, but...).
> 
> The opposite is most likely true: several m68k assemblers I used on
> the Amiga didn't have any "fp" register, because using link/unlink
> wasn't common practice.  Even most C compilers didn't use it by
> default.

  I can understand that an m68k assembler doesn't know a %FP register
  but not knowing %A6 would be a bug.

> Anyway, I like seeing "fp" in GCC's output as it helps reading
> the code.  Could we add yet another hook in m68k.h such as
> 
>   #undef M68K_FP_REG_NAME
>   #define M68K_FP_REG_NAME "fp"
> 
> ?

  The problem I have with this is the fact %FP might be bound to a different
  register, eg. with m68k-amigaos %FP == %A5.

  Gunther


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