Improve sparc setcc generation and add testcases.