genmodes.c (emit_mode_unit_size_inline): New function.
authorDavid Sherwood <david.sherwood@arm.com>
Wed, 19 Aug 2015 15:23:11 +0000 (15:23 +0000)
committerDavid Sherwood <davids@gcc.gnu.org>
Wed, 19 Aug 2015 15:23:11 +0000 (15:23 +0000)
commit8dc89e4d7ed340095fa0d27de5de584156b38c0b
tree2b377ed532e090b8c3c26e8bb610668f7077e860
parent8d55c61ba84df5753cad7e04cabaed0f11af76b5
genmodes.c (emit_mode_unit_size_inline): New function.

2015-08-19  David Sherwood  <david.sherwood@arm.com>

    gcc/
* genmodes.c (emit_mode_unit_size_inline): New function.
(emit_mode_unit_precision_inline): New function.
(emit_insn_modes_h): Emit new #define.  Emit new functions.
(emit_mode_unit_size): New function.
(emit_mode_unit_precision): New function.
(emit_mode_adjustments): Add mode_unit_size adjustments.
(emit_insn_modes_c): Emit new arrays.
* machmode.h (GET_MODE_UNIT_SIZE, GET_MODE_UNIT_PRECISION): Update to
use new inline methods.

From-SVN: r227013
gcc/ChangeLog
gcc/genmodes.c
gcc/machmode.h