This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch,avr] Add built-in function to emit NOPs
- From: Denis Chertykov <chertykov at gmail dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 1 Aug 2016 14:50:47 +0300
- Subject: Re: [patch,avr] Add built-in function to emit NOPs
- Authentication-results: sourceware.org; auth=none
- References: <6c25cbfc-1c81-cdb9-e9d9-326b1c6e4226@gjlay.de>
2016-08-01 11:23 GMT+03:00 Georg-Johann Lay <avr@gjlay.de>:
> This adds a new built-in function that inserts a requested number of NOPs
> into the instruction stream. I found it useful when testing avr-gcc.
>
> Ok to apply?
>
>
> Johann
>
>
> * doc/extend.texi (AVR Built-in Functions): Document
> __builtin_avr_nops.
> * config/avr/builtins.def (NOPS): New.
> * config/avr/avr.c (avr_expand_nops): New static function.
> (avr_expand_builtin): Use it to handle AVR_BUILTIN_NOPS.
Please apply.