[cfe-users] Clang and CDO, CDQ x64 instructions

Victor via cfe-users cfe-users at lists.llvm.org
Sun Dec 8 08:35:50 PST 2019


Hello Clang users and developers!

I have problem compiling some generated assembly code with clang:
mc.s:35739:2: error: invalid instruction mnemonic 'cdo'

Does Clang support x64 CDO and CDQ instructions?
The code is generated by MLRISC library. A bit older versions used CQTO/CLTD
and that worked.

Invocation options:
clang -g -O2 -D_GNU_SOURCE -pedantic -m64
 -Wno-unused-command-line-argument  mc.s

clang --version:
clang version 9.0.1-+20191205081203+432bf48c08d-1~exp1~20191205191740.102
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Best wishes
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20191208/3cec8017/attachment.html>


More information about the cfe-users mailing list