[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Patch avrtest: add support for avr6

From: Weddington, Eric
Subject: RE: [avr-gcc-list] Patch avrtest: add support for avr6
Date: Mon, 26 May 2008 08:00:41 -0600


> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Tristan Gingold
> Sent: Monday, May 26, 2008 7:57 AM
> To: address@hidden
> Subject: [avr-gcc-list] Patch avrtest: add support for avr6
> Hi,
> this little avrtest patch add support for EICALL/EIJMP.
> Does it make sense to add a '-m arch' flag to select between AVR  
> architectures ?

If a flag is added, I would prefer that we keep the flag naming
consistent between all the tools when possible. AVR GCC uses the flag
-mmcu=<device>, where <device> can be a named AVR device in lowercase or
"architecture" like "avr6".

Upon review, I'd be ok with '-m arch' too.

I think that it would be good to add this switch as it would help with
testing different devices/architectures in the future. These differenct
architectures typically select different instruction sets. It would be
good to know if a specific architecture is broken wrt the gcc regression

reply via email to

[Prev in Thread] Current Thread [Next in Thread]