summaryrefslogtreecommitdiffstats
path: root/vec_sse_float4.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-07-07 15:55:07 -0400
committerErik Schnetter <schnetter@gmail.com>2013-07-07 15:55:07 -0400
commita505a64345a0d43e212bba31694f48790a5eac2f (patch)
treec1d7cb295b65a3383969aa243f1dc0be5b3f4966 /vec_sse_float4.h
parent37594f7b2ac9fb3c17d6a46cc193b19f477cb422 (diff)
downloadvecmathlib-a505a64345a0d43e212bba31694f48790a5eac2f.zip
vecmathlib-a505a64345a0d43e212bba31694f48790a5eac2f.tar.gz
Simplify return type specifications
Diffstat (limited to 'vec_sse_float4.h')
-rw-r--r--vec_sse_float4.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vec_sse_float4.h b/vec_sse_float4.h
index b50b812..3dd861a 100644
--- a/vec_sse_float4.h
+++ b/vec_sse_float4.h
@@ -651,12 +651,12 @@ namespace vecmathlib {
// boolvec definitions
- inline boolvec<float,4>::intvec_t boolvec<float,4>::as_int() const
+ inline intvec<float,4> boolvec<float,4>::as_int() const
{
return _mm_castps_si128(v);
}
- inline boolvec<float,4>::intvec_t boolvec<float,4>::convert_int() const
+ inline intvec<float,4> boolvec<float,4>::convert_int() const
{
return lsr(as_int(), bits-1);
}
@@ -684,12 +684,12 @@ namespace vecmathlib {
// intvec definitions
- inline intvec<float,4>::realvec_t intvec<float,4>::as_float() const
+ inline realvec<float,4> intvec<float,4>::as_float() const
{
return _mm_castsi128_ps(v);
}
- inline intvec<float,4>::realvec_t intvec<float,4>::convert_float() const
+ inline realvec<float,4> intvec<float,4>::convert_float() const
{
return _mm_cvtepi32_ps(v);
}
OpenPOWER on IntegriCloud