Hi Gerald, This patch documents about AMD instructions "mwaitx" and "monitorx" in GCC- 5 changes.html. Please let me know if this ok to commit?
Index: htdocs/gcc-5/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v retrieving revision 1.121 diff -r1.121 changes.html 810a811,819 > <li>Support for new AMD instructions <code>monitorx</code> and > <code>mwaitx</code> has been added. This includes new intrinsic > and built-in support. It is enabled through option > <code>-mmwaitx</code>. > The instructions <code>monitorx</code> and <code>mwaitx</code> > implement the same functionality as the old <code>monitor</code> > and <code>mwait</code> instructions. In addition <code>mwaitx</code> > adds a configurable timer. The timer value is received as third > argument and stored in register <code>%ebx</code>. GCC 5.2 is the > first release to support these instructions.</li> I will send another patch for trunk as well. Regards, Venkat.