Please review the attached patch which adds support for Intel's enhanced FP comparison predicates that were added with AVX.<br><a href="http://llvm.org/bugs/show_bug.cgi?id=12115">http://llvm.org/bugs/show_bug.cgi?id=12115</a><br>
<br>The patch includes:<br>1. Addition of 5-bit immediate field (SSE comparison remains 3-bit) and AVXCC operand type<br>2. Fix broken assert statement in "printSSECC()"<br>3. Fix tablegen definitions for (V)CMP* comparison insts, so AVX variants have a 5-bit compare immediate<br>
4. A big pile of assembly and disassembly tests<br><br>This patch also includes the changes and test to fix disassembly of the non-AVX CMPPD/CMPPS insts. I submitted a patch for that on Feb 29, but I don't think anybody has committed it yet. This patch does not distinguish this feature as Intel-only -- if anyone has advice on how to do that, please let me know and/or modify the patch. AMD does not support the enhanced predicates (yet).<br>
<br>Thanks!<br>