Added bitwise inverse SIMD optimization. Factorized bitwise optimization code

This commit is contained in:
Christophe Riccio
2016-05-27 23:03:38 +02:00
parent 4797ea9540
commit f577611328
3 changed files with 54 additions and 43 deletions

View File

@@ -1237,6 +1237,12 @@ int main()
{
int Error = 0;
glm::ivec4 const a(1);
glm::ivec4 const b = ~a;
glm::int32 const c(1);
glm::int32 const d = ~c;
Error += sign::test();
Error += floor_::test();
Error += mod_::test();