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