[cfe-dev] Suggestion to enable CPU instruction extension automatically with clang-cl
Zhaoyu Gong via cfe-dev
cfe-dev at lists.llvm.org
Tue Sep 15 15:49:43 PDT 2020
Hi,
In order to use a function from some CPU instruction extension in a source
code file, a clang-cl command line option has to be used to enable the CPU
instruction extension. For example, the command line option "-maes" is used
to enable AES extension.
For Microsoft C/C++ compiler, the call to a CPU instruction extension
function signals to the compiler that the instruction extension should be
enabled.
By borrowing the idea that "using is enabling" from Microsoft C/C++
compiler, it will be easier to use clang-cl as the replacement of Microsoft
C/C++ compiler
Best,
Joe Gong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200915/e840f5ad/attachment.html>
More information about the cfe-dev
mailing list