17 #ifndef TF2SIMD_QUADWORD_H
18 #define TF2SIMD_QUADWORD_H
24 #if defined (__CELLOS_LV2) && defined (__SPU__)
41 #if defined (__SPU__) && defined (__CELLOS_LV2__)
47 vec_float4 get128()
const
52 #else //__CELLOS_LV2__ __SPU__
54 #endif //__CELLOS_LV2__ __SPU__
90 return ((m_floats[3]==other.m_floats[3]) && (m_floats[2]==other.m_floats[2]) && (m_floats[1]==other.m_floats[1]) && (m_floats[0]==other.m_floats[0]));
95 return !(*
this == other);
144 m_floats[0] = x, m_floats[1] = y, m_floats[2] = z, m_floats[3] = 0.0f;
155 m_floats[0] = x, m_floats[1] = y, m_floats[2] = z, m_floats[3] = w;
163 tf2SetMax(m_floats[0], other.m_floats[0]);
164 tf2SetMax(m_floats[1], other.m_floats[1]);
165 tf2SetMax(m_floats[2], other.m_floats[2]);
166 tf2SetMax(m_floats[3], other.m_floats[3]);
173 tf2SetMin(m_floats[0], other.m_floats[0]);
174 tf2SetMin(m_floats[1], other.m_floats[1]);
175 tf2SetMin(m_floats[2], other.m_floats[2]);
176 tf2SetMin(m_floats[3], other.m_floats[3]);
184 #endif //TF2SIMD_QUADWORD_H