aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2011-11-28 09:58:37 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2011-11-28 09:58:37 +0000
commit49b2772e24f019808f0110b4cf22b3eda4706aab (patch)
tree60c91b070672ca210ed04345bdd844b80e1b7da3 /gcc/function.c
parent737087cbc8393b1a95a871b15a917872f1328c6b (diff)
downloadgcc-49b2772e24f019808f0110b4cf22b3eda4706aab.zip
gcc-49b2772e24f019808f0110b4cf22b3eda4706aab.tar.gz
gcc-49b2772e24f019808f0110b4cf22b3eda4706aab.tar.bz2
extend.texi (AVR Built-in Functions): Add documentation for __builtin_avr_map8 and __builtin_avr_map16.
* doc/extend.texi (AVR Built-in Functions): Add documentation for __builtin_avr_map8 and __builtin_avr_map16. * config/avr/avr.md: Document new %t and %T asm output codes. (define_c_enum "unspec"): Add UNSPEC_MAP_BITS. (adjust_len): Add map_bits. (map_bitsqi, map_bitshi): New insns. * config/avr/avr-protos.h (avr_out_map_bits): New. * config/avr/avr-protos.c (print_operand): Implement %t and %T. (adjust_insn_length): Handle ADJUST_LEN_MAP_BITS. (avr_double_int_push_digit): New function. (avr_map, avr_revert_map, avr_swap_map, avr_id_map): New functions. (avr_sig_map, avr_map_hamming_byte): New functions. (avr_out_swap_bits, avr_out_revert_bits, avr_move_bits, avr_out_map_bits): New functions. (enum avr_builtin_id): Add AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16. (avr_init_builtins): Populate __builtin_avr_map8, __builtin_avr_map16. (bdesc_2arg): Add __builtin_avr_map8, __builtin_avr_map16 ... (avr_expand_builtin): ...and expand them. * config/avr/avr-c.c (avr_cpu_cpp_builtins): New built-in defines: __BUILTIN_AVR_MAP8, __BUILTIN_AVR_MAP16. From-SVN: r181773
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions