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] Add built-in function to emit NOPs


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.


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