comparison gcc/config/avr/avr-protos.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* Prototypes for exported functions defined in avr.c 1 /* Prototypes for exported functions defined in avr.c
2 2
3 Copyright (C) 2000-2017 Free Software Foundation, Inc. 3 Copyright (C) 2000-2018 Free Software Foundation, Inc.
4 Contributed by Denis Chertykov (chertykov@gmail.com) 4 Contributed by Denis Chertykov (chertykov@gmail.com)
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
8 GCC is free software; you can redistribute it and/or modify 8 GCC is free software; you can redistribute it and/or modify
129 extern bool avr_casei_sequence_check_operands (rtx *xop); 129 extern bool avr_casei_sequence_check_operands (rtx *xop);
130 130
131 static inline unsigned 131 static inline unsigned
132 regmask (machine_mode mode, unsigned regno) 132 regmask (machine_mode mode, unsigned regno)
133 { 133 {
134 return ((1u << GET_MODE_SIZE (mode)) - 1) << regno; 134 return ((1u << GET_MODE_SIZE (as_a <fixed_size_mode> (mode))) - 1) << regno;
135 } 135 }
136 136
137 extern void avr_fix_inputs (rtx*, unsigned, unsigned); 137 extern void avr_fix_inputs (rtx*, unsigned, unsigned);
138 extern bool avr_emit3_fix_outputs (rtx (*)(rtx,rtx,rtx), rtx*, unsigned, unsigned); 138 extern bool avr_emit3_fix_outputs (rtx (*)(rtx,rtx,rtx), rtx*, unsigned, unsigned);
139 139