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]

r242114 - in /branches/ARM/sve-branch/gcc: cfge...


Author: rsandifo
Date: Fri Nov 11 17:02:40 2016
New Revision: 242114

URL: https://gcc.gnu.org/viewcvs?rev=242114&root=gcc&view=rev
Log:
Add a smallest_int_mode_for_size helper function

This patch adds a wrapper around smallest_mode_for_size
for cases in which the mode class is MODE_INT.  Unlike
(int_)mode_for_size, smallest_mode_for_size always returns
a mode of the specified class, asserting if no such mode exists.
smallest_int_mode_for_size therefore returns a scalar_int_mode
rather than an opt_scalar_int_mode.

Modified:
    branches/ARM/sve-branch/gcc/cfgexpand.c
    branches/ARM/sve-branch/gcc/combine.c
    branches/ARM/sve-branch/gcc/config/arc/arc.c
    branches/ARM/sve-branch/gcc/config/i386/i386.c
    branches/ARM/sve-branch/gcc/config/i386/i386.md
    branches/ARM/sve-branch/gcc/config/s390/s390.c
    branches/ARM/sve-branch/gcc/config/sparc/sparc.c
    branches/ARM/sve-branch/gcc/config/spu/spu.c
    branches/ARM/sve-branch/gcc/coverage.c
    branches/ARM/sve-branch/gcc/dse.c
    branches/ARM/sve-branch/gcc/expr.c
    branches/ARM/sve-branch/gcc/internal-fn.c
    branches/ARM/sve-branch/gcc/machmode.h
    branches/ARM/sve-branch/gcc/optabs-query.c
    branches/ARM/sve-branch/gcc/optabs.c
    branches/ARM/sve-branch/gcc/stor-layout.c
    branches/ARM/sve-branch/gcc/targhooks.c
    branches/ARM/sve-branch/gcc/tree-ssa-loop-manip.c


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