[PATCH] D44387: [x86] Introduce the pconfig/encl[u|s|v] intrinsics
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 29 15:39:48 PDT 2019
craig.topper added a comment.
The main reason that we used inline assembly is due to the fixed register allocation for these instructions. We would have had to write out the register rules in the backend as a special case as seen in the getInstrWFourImplicitOps in https://reviews.llvm.org/D44386 Since the register allocator had no freedom there was no performance advantage to an intrinsic. So we just did inline assembly to avoid needing to special case these instructions.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D44387/new/
https://reviews.llvm.org/D44387
More information about the cfe-commits
mailing list