r242163 - in /branches/ARM/sve-branch/gcc: conf...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Fri Nov 11 17:11:00 GMT 2016


Author: rsandifo
Date: Fri Nov 11 17:11:09 2016
New Revision: 242163

URL: https://gcc.gnu.org/viewcvs?rev=242163&root=gcc&view=rev
Log:
Add a fixed_size_mode class

This patch adds a fixed_size_mode machine_mode_enum wrapper
for modes that are known to have a fixed size.  That applies
to all current modes, but future patches will add support for
variable-sized modes.

The use of this class should be pretty restricted.  One important
use case is to hold the mode of static data, which can never be
variable-sized with current file formats.  Another is to hold
the modes of registers involved in __builtin_apply and
__builtin_result, since those interfaces don't cope well with
variable-sized data.

The class can also be useful when reinterpreting the contents of
a fixed-length bit string as a different kind of value.

Modified:
    branches/ARM/sve-branch/gcc/config/ia64/ia64.c
    branches/ARM/sve-branch/gcc/config/mips/mips.c
    branches/ARM/sve-branch/gcc/config/msp430/msp430.c
    branches/ARM/sve-branch/gcc/dbxout.c
    branches/ARM/sve-branch/gcc/doc/tm.texi
    branches/ARM/sve-branch/gcc/expr.c
    branches/ARM/sve-branch/gcc/gengtype.c
    branches/ARM/sve-branch/gcc/machmode.h
    branches/ARM/sve-branch/gcc/rtl.h
    branches/ARM/sve-branch/gcc/simplify-rtx.c
    branches/ARM/sve-branch/gcc/target.def
    branches/ARM/sve-branch/gcc/targhooks.c
    branches/ARM/sve-branch/gcc/targhooks.h
    branches/ARM/sve-branch/gcc/varasm.c



More information about the Gcc-cvs mailing list