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: [Patch,AVR]: ASM_SPEC: Add -mno-skip-bug


2012/2/28 Georg-Johann Lay <avr@gjlay.de>:
> This patch is addendum to support skip of 2-word instructions as of PR49939 and
> the extension made in
>
> http://gcc.gnu.org/viewcvs?view=revision&revision=177049
>
> gas emits a warning if it sees a skip of 2-word instruction for cores that
> might have the skip bug. However, only specific devices are affected by this
> silicon bug, namely ATmega103 and AT90S8515.
>
> The patch adds -mno-skip-bug option to gas's command line except for the cases
> where the core might have the bug, i.e.
>
> o Âno -mmcu specified at all
> o Â-mmcu=atmega103
> o Â-mmcu=at90s8515
> o Â-mmcu=avr31
> o Â-mmcu=avr2
>
> Ok for the trunk?
>
> Johann
>
> Â Â Â Â* config/avr/avr.h (ASM_SPEC): Add -mno-skip-bug if we know that
> Â Â Â Âthe device does not have the skip-bug.

Ok.

Denis.


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