| Index: source/planar_functions.cc
 | 
| diff --git a/source/planar_functions.cc b/source/planar_functions.cc
 | 
| index 3838759be1ebdb507b84c4719c9be617eb5f3138..0bd76bc7cf9a8490dbeb9c579857f7a565b8c1fb 100644
 | 
| --- a/source/planar_functions.cc
 | 
| +++ b/source/planar_functions.cc
 | 
| @@ -2570,7 +2570,7 @@ int HalfFloatPlane(const uint16* src_y, int src_stride_y,
 | 
|    }
 | 
|  #endif
 | 
|  #if defined(HAS_HALFFLOATROW_AVX2)
 | 
| -  if (TestCpuFlag(kCpuHasAVX2)) {
 | 
| +  if (TestCpuFlag(kCpuHasAVX2) && TestCpuFlag(kCpuHasF16C)) {
 | 
|      HalfFloatRow = HalfFloatRow_Any_AVX2;
 | 
|      if (IS_ALIGNED(width, 16)) {
 | 
|        HalfFloatRow = HalfFloatRow_AVX2;
 | 
| 
 |