This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [PATCH] Lexra binutils


Maciej W. Rozycki writes:
> Then if better alternatives are available as some sort of an extension,
> then it is up to GCC to emit them as appropriate and possibly GAS to use
> in the expansion of the unaligned transfer macros as instructed by the
> -march= flag.  No need to tweak base ISA flags.

I am not 100% sure that I understand but I think what you're saying is that
you want GCC to emit let's say uld and then gas would expand to ldr/ldl or the
Octeon-specific instruction.

First, this is not good because you want GCC to schedule ldr and ldl.  Second,
just like Lexar, I'd like to signal an error if someone uses ldl when
Octeon-specific unaligned instructions are on because these instructions
replace the standard MIPS unaligned instructions.

Having something like NO_ISA_COP for unaligned instructions would work for
both Lexar and Octeon regardless of ISA they are derived from.

Adam


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