Add IPP support in compare function