This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,AVR]: ASM_SPEC: Add -mno-skip-bug
- From: Denis Chertykov <chertykov at gmail dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Eric Weddington <eric dot weddington at atmel dot com>
- Date: Tue, 28 Feb 2012 18:12:52 +0400
- Subject: Re: [Patch,AVR]: ASM_SPEC: Add -mno-skip-bug
- Authentication-results: mr.google.com; spf=pass (google.com: domain of chertykov@gmail.com designates 10.112.47.232 as permitted sender) smtp.mail=chertykov@gmail.com; dkim=pass header.i=chertykov@gmail.com
- References: <4F4CAFD1.4090305@gjlay.de>
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.