Fix comments
From-SVN: r188269
This commit is contained in:
parent
c9846ff91e
commit
560c33e0ba
@ -23,15 +23,16 @@
|
||||
DEF_BUILTIN(NAME, N_ARGS, ID, TYPE, ICODE)
|
||||
|
||||
NAME: The name as visible by the user as a C string.
|
||||
ID: An integer to identify the built-in.
|
||||
N_ARGS: Number of input arguments. If special treatment is needed,
|
||||
set to -1 and handle it by hand, see avr.c:avr_expand_builtin().
|
||||
ID: An integer to identify the built-in.
|
||||
TYPE: A tree node describing the prototype of the built-in.
|
||||
ICODE: Insn code number for the insn attached to the built-in.
|
||||
If special treatment is needed to expand the built-in, set to -1.
|
||||
*/
|
||||
|
||||
/* Mapped to respective instruction. */
|
||||
|
||||
DEF_BUILTIN ("__builtin_avr_nop", -1, AVR_BUILTIN_NOP, void_ftype_void, -1)
|
||||
DEF_BUILTIN ("__builtin_avr_sei", 0, AVR_BUILTIN_SEI, void_ftype_void, CODE_FOR_enable_interrupt)
|
||||
DEF_BUILTIN ("__builtin_avr_cli", 0, AVR_BUILTIN_CLI, void_ftype_void, CODE_FOR_disable_interrupt)
|
||||
@ -40,12 +41,14 @@ DEF_BUILTIN ("__builtin_avr_sleep", 0, AVR_BUILTIN_SLEEP, void_ftype_void, CODE_
|
||||
|
||||
/* Mapped to respective instruction but might also be folded away
|
||||
or emit as libgcc call if ISA does not provide the instruction. */
|
||||
|
||||
DEF_BUILTIN ("__builtin_avr_swap", 1, AVR_BUILTIN_SWAP, uchar_ftype_uchar, CODE_FOR_rotlqi3_4)
|
||||
DEF_BUILTIN ("__builtin_avr_fmul", 2, AVR_BUILTIN_FMUL, uint_ftype_uchar_uchar, CODE_FOR_fmul)
|
||||
DEF_BUILTIN ("__builtin_avr_fmuls", 2, AVR_BUILTIN_FMULS, int_ftype_char_char, CODE_FOR_fmuls)
|
||||
DEF_BUILTIN ("__builtin_avr_fmulsu", 2, AVR_BUILTIN_FMULSU, int_ftype_char_uchar, CODE_FOR_fmulsu)
|
||||
|
||||
/* More complex stuff that cannot be mapped 1:1 to an instruction. */
|
||||
|
||||
DEF_BUILTIN ("__builtin_avr_delay_cycles", -1, AVR_BUILTIN_DELAY_CYCLES, void_ftype_ulong, -1)
|
||||
DEF_BUILTIN ("__builtin_avr_insert_bits", 3, AVR_BUILTIN_INSERT_BITS, uchar_ftype_ulong_uchar_uchar, CODE_FOR_insert_bits)
|
||||
DEF_BUILTIN ("__builtin_avr_flash_segment", 1, AVR_BUILTIN_FLASH_SEGMENT, char_ftype_const_memx_ptr, CODE_FOR_flash_segment)
|
||||
|
Loading…
Reference in New Issue
Block a user