summaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2017-11-20 16:02:55 +0000
committerRichard Sandiford <richard.sandiford@linaro.org>2017-11-20 16:02:55 +0000
commitd58952aefb03632bbb5b441d5c0bd330711f0af1 (patch)
treed046e56bfbd6a40106ae6ab96fafc954f1dfc955 /gcc/machmode.h
parent648f8fc59b2cc39abd24f4c22388b346cdebcc31 (diff)
parent50221fae802a10fafe95e61d40504a58da33e98f (diff)
downloadgcc-linaro-dev/sve.tar.gz
Merge trunk into svelinaro-dev/sve
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r--gcc/machmode.h16
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];