diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-11-20 16:02:55 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@linaro.org> | 2017-11-20 16:02:55 +0000 |
commit | d58952aefb03632bbb5b441d5c0bd330711f0af1 (patch) | |
tree | d046e56bfbd6a40106ae6ab96fafc954f1dfc955 /gcc/machmode.h | |
parent | 648f8fc59b2cc39abd24f4c22388b346cdebcc31 (diff) | |
parent | 50221fae802a10fafe95e61d40504a58da33e98f (diff) | |
download | gcc-linaro-dev/sve.tar.gz |
Merge trunk into svelinaro-dev/sve
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index 04c1e877e1c..419f08ad869 100644 --- a/gcc/machmode.h +++ b/gcc/machmode.h @@ -608,14 +608,14 @@ GET_MODE_SIZE (machine_mode mode) } template<typename T> -ALWAYS_INLINE typename if_poly<typename T::measurement_type>::t +ALWAYS_INLINE typename if_poly<typename T::measurement_type>::type GET_MODE_SIZE (const T &mode) { return mode_to_bytes (mode); } template<typename T> -ALWAYS_INLINE typename if_nonpoly<typename T::measurement_type>::t +ALWAYS_INLINE typename if_nonpoly<typename T::measurement_type>::type GET_MODE_SIZE (const T &mode) { return mode_to_bytes (mode).coeffs[0]; @@ -634,14 +634,14 @@ GET_MODE_BITSIZE (machine_mode mode) } template<typename T> -ALWAYS_INLINE typename if_poly<typename T::measurement_type>::t +ALWAYS_INLINE typename if_poly<typename T::measurement_type>::type GET_MODE_BITSIZE (const T &mode) { return mode_to_bits (mode); } template<typename T> -ALWAYS_INLINE typename if_nonpoly<typename T::measurement_type>::t +ALWAYS_INLINE typename if_nonpoly<typename T::measurement_type>::type GET_MODE_BITSIZE (const T &mode) { return mode_to_bits (mode).coeffs[0]; @@ -661,14 +661,14 @@ GET_MODE_PRECISION (machine_mode mode) } template<typename T> -ALWAYS_INLINE typename if_poly<typename T::measurement_type>::t +ALWAYS_INLINE typename if_poly<typename T::measurement_type>::type GET_MODE_PRECISION (const T &mode) { return mode_to_precision (mode); } template<typename T> -ALWAYS_INLINE typename if_nonpoly<typename T::measurement_type>::t +ALWAYS_INLINE typename if_nonpoly<typename T::measurement_type>::type GET_MODE_PRECISION (const T &mode) { return mode_to_precision (mode).coeffs[0]; @@ -719,14 +719,14 @@ GET_MODE_NUNITS (machine_mode mode) } template<typename T> -ALWAYS_INLINE typename if_poly<typename T::measurement_type>::t +ALWAYS_INLINE typename if_poly<typename T::measurement_type>::type GET_MODE_NUNITS (const T &mode) { return mode_to_nunits (mode); } template<typename T> -ALWAYS_INLINE typename if_nonpoly<typename T::measurement_type>::t +ALWAYS_INLINE typename if_nonpoly<typename T::measurement_type>::type GET_MODE_NUNITS (const T &mode) { return mode_to_nunits (mode).coeffs[0]; |