This patch fixes a potential verification error (64-bit register operands for cmpw) with -verify-machineinstrs while expanding CFENCE8 into cmp + bc + isync.
As far as I read the references, we can use cmpd (or any compare instruction) for this purpose.
http://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
cmpd should work as well. Both cmpw and cmpd are mnemonics of the instruction cmp, so I don't expect a performance difference.