Cannon Lake does not support CLWB, therefore it
does not include all features listed under SKX anymore.
Instead, enumerate all SKX features with the exception of CLWB.
Differential D43380
[X86] Disable CLWB in Cannon Lake GBuella on Feb 16 2018, 3:29 AM. Authored by
Details Cannon Lake does not support CLWB, therefore it Instead, enumerate all SKX features with the exception of CLWB.
Diff Detail
Event TimelineComment Actions How do we test this? You'd have to verify that the clwb intrinsic throws a cannot select error on cannonlake, but do we do that in llc lit tests today? Comment Actions We have some testcases like this, but not a lot. We could add one - also we should probably not assemble if we're using cannonlake as well. The aarch64 backend has some examples of llvm-mc tests in this case. Comment Actions I thought our assemble stance was that everything was available all the time. For example, the bug a few weeks back that said we should always parse xmm16-xmm31 registers regardless of avx512 enabling. Or are we saying we should support everything unlesss you pick a specific CPU? Comment Actions I have not seen any such tests for CPU being selected in LLVM. Comment Actions Adding tests for checking that the |