[PATCH] D49912: [X86] MCA tests for XCHG* and CMPXCHG* instructions
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 27 06:15:45 PDT 2018
lebedev.ri added a comment.
https://godbolt.org/g/xHjSKt
================
Comment at: test/tools/llvm-mca/X86/Atom/resources-x86_64.s:676-677
+xchgb %bl, %cl
+xchgb %al, (%rbx)
+xchgb %bl, (%rbx)
+
----------------
http://felixcloutier.com/x86/XCHG.html suggests that memory operand can be on either side,
so this needs to be repeated with swapped order.
https://reviews.llvm.org/D49912
More information about the llvm-commits
mailing list