This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r242106 - in /branches/ARM/sve-branch/gcc: ada/...


Author: rsandifo
Date: Fri Nov 11 17:01:14 2016
New Revision: 242106

URL: https://gcc.gnu.org/viewcvs?rev=242106&root=gcc&view=rev
Log:
Add FOR_EACH iterators for modes

The new iterators are:

- FOR_EACH_MODE_IN_CLASS: iterate over all the modes in a mode class.

- FOR_EACH_MODE_FROM: iterate over all the modes in a class,
  starting at a given mode.

- FOR_EACH_WIDER_MODE: iterate over all the modes in a class,
  starting at the next widest mode after a given mode.

- FOR_EACH_2XWIDER_MODE: same, but considering only modes that
  are two times wider than the previous mode.

- FOR_EACH_MODE_UNTIL: iterate over all the modes in a class until
  a given mode is reached.

- FOR_EACH_MODE: iterate over all the modes in a class between
  two given modes, inclusive of the first but not the second.

These help with the stronger type checking added by later patches,
since every new mode will be in the same class as the previous one.

Modified:
    branches/ARM/sve-branch/gcc/ada/gcc-interface/misc.c
    branches/ARM/sve-branch/gcc/builtins.c
    branches/ARM/sve-branch/gcc/c-family/c-common.c
    branches/ARM/sve-branch/gcc/c-family/c-cppbuiltin.c
    branches/ARM/sve-branch/gcc/combine.c
    branches/ARM/sve-branch/gcc/config/i386/i386.c
    branches/ARM/sve-branch/gcc/cse.c
    branches/ARM/sve-branch/gcc/dse.c
    branches/ARM/sve-branch/gcc/emit-rtl.c
    branches/ARM/sve-branch/gcc/explow.c
    branches/ARM/sve-branch/gcc/expmed.c
    branches/ARM/sve-branch/gcc/expr.c
    branches/ARM/sve-branch/gcc/machmode.h
    branches/ARM/sve-branch/gcc/omp-low.c
    branches/ARM/sve-branch/gcc/optabs-query.c
    branches/ARM/sve-branch/gcc/optabs.c
    branches/ARM/sve-branch/gcc/postreload.c
    branches/ARM/sve-branch/gcc/reg-stack.c
    branches/ARM/sve-branch/gcc/reginfo.c
    branches/ARM/sve-branch/gcc/rtlanal.c
    branches/ARM/sve-branch/gcc/stmt.c
    branches/ARM/sve-branch/gcc/stor-layout.c
    branches/ARM/sve-branch/gcc/tree-vect-generic.c
    branches/ARM/sve-branch/gcc/tree-vect-stmts.c
    branches/ARM/sve-branch/gcc/var-tracking.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]