power7-optimized classification functions