aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2018-01-03 21:44:14 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-01-03 21:44:14 +0000
commit98ac791361227ed388237207baf629981cef03f7 (patch)
tree521bcd60f3e27acee052bf20b4b04fd68e39abf2 /gcc/tree-vect-patterns.c
parentb187677b4f275f33f181b9ca188bf0b009981cb1 (diff)
downloadgcc-98ac791361227ed388237207baf629981cef03f7.zip
gcc-98ac791361227ed388237207baf629981cef03f7.tar.gz
gcc-98ac791361227ed388237207baf629981cef03f7.tar.bz2
Allow the target to set MAX_BITSIZE_MODE_ANY_MODE
The default value of MAX_BITSIZE_MODE_ANY_MODE is calculated from the initial mode sizes specified in the modes.def file. The target needs to be able to override it if ADJUST_BYTESIZE & co. can choose a bigger size. 2018-01-03 Richard Sandiford <richard.sandiford@linaro.org> gcc/ * doc/rtl.texi (MAX_BITSIZE_MODE_ANY_MODE): Describe how the default is calculated and how it can be overridden. * genmodes.c (max_bitsize_mode_any_mode): New variable. (create_modes): Initialize it from MAX_BITSIZE_MODE_ANY_MODE, if defined. (emit_max_int): Use it to set the output MAX_BITSIZE_MODE_ANY_MODE, if nonzero. From-SVN: r256206
Diffstat (limited to 'gcc/tree-vect-patterns.c')
0 files changed, 0 insertions, 0 deletions