Hi tablegen and x86 experts -<br><br>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" target="_blank">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 nobody has committed it yet. <br><br>This patch does not distinguish the enhanced comparisons
 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!