r251515 - in /trunk/gcc: ChangeLog cfgexpand.c ...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Wed Aug 30 11:19:00 GMT 2017
Author: rsandifo
Date: Wed Aug 30 11:19:17 2017
New Revision: 251515
URL: https://gcc.gnu.org/viewcvs?rev=251515&root=gcc&view=rev
Log:
[64/77] Add a scalar_mode class
This patch adds a scalar_mode class that can hold any scalar mode,
specifically:
- scalar integers
- scalar floating-point values
- scalar fractional modes
- scalar accumulator modes
- pointer bounds modes
To start with this patch uses this type for GET_MODE_INNER.
Later patches add more uses.
2017-08-30 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/
* coretypes.h (scalar_mode): New class.
* machmode.h (scalar_mode): Likewise.
(scalar_mode::includes_p): New function.
(mode_to_inner): Return a scalar_mode rather than a machine_mode.
* gdbhooks.py (build_pretty_printers): Handle scalar_mode.
* genmodes.c (get_mode_class): Handle remaining scalar modes.
* cfgexpand.c (expand_debug_expr): Use scalar_mode.
* expmed.c (store_bit_field_1): Likewise.
(extract_bit_field_1): Likewise.
* expr.c (write_complex_part): Likewise.
(read_complex_part): Likewise.
(emit_move_complex_push): Likewise.
(expand_expr_real_2): Likewise.
* function.c (assign_parm_setup_reg): Likewise.
(assign_parms_unsplit_complex): Likewise.
* optabs.c (expand_binop): Likewise.
* rtlanal.c (subreg_get_info): Likewise.
* simplify-rtx.c (simplify_immed_subreg): Likewise.
* varasm.c (output_constant_pool_2): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgexpand.c
trunk/gcc/coretypes.h
trunk/gcc/expmed.c
trunk/gcc/expr.c
trunk/gcc/function.c
trunk/gcc/gdbhooks.py
trunk/gcc/genmodes.c
trunk/gcc/machmode.h
trunk/gcc/optabs.c
trunk/gcc/rtlanal.c
trunk/gcc/simplify-rtx.c
trunk/gcc/varasm.c
More information about the Gcc-cvs
mailing list