]> git.sesse.net Git - movit/blobdiff - fp16_test.cpp
Inline the fp16 conversion routines. Helps 18% on ResampleEffect::calculate_texture.
[movit] / fp16_test.cpp
index d95e5c6b6d01813dfa367169c9ee15f35d6bc41a..058c91281603fd0b2c0fa2ed8ed4200bc22dab28 100644 (file)
@@ -45,10 +45,6 @@ union fp64 {
        double f;
        unsigned long long ll;
 };
-union fp32 {
-       float f;
-       unsigned int u;
-};
 
 TEST(FP16Test, NaN) {
        // Ignore the sign bit.