Displaying 2 results from an estimated 2 matches for "dmtc2".
Did you mean:
dmtc1
2013 Feb 08
1
[LLVMdev] Asm syntax of Mips m[tf]cX coprocessor instructions
...which is normally built
> with a gcc cross toolchain with clang instead. This code targets the
> Cavium Octeon, and uses some of that CPU's crypto engine features which
> are implemented in coprocessor 2.
>
> The inline asm for the crypto code uses instructions of the form "dmtc2
> %0, 0xNNNN" - that is the coprocessor register is represented as a
> constant, which is the only syntax that gas seems to accept
> (specifically, an expression which evaluates to a constant). Clang's
> integrated-as, however, only accepts "dmtc2 %0, $0xNNNN", that...
2013 Feb 08
0
[LLVMdev] Asm syntax of Mips m[tf]cX coprocessor instructions
...ompiling some Mips code which is normally built
with a gcc cross toolchain with clang instead. This code targets the
Cavium Octeon, and uses some of that CPU's crypto engine features which
are implemented in coprocessor 2.
The inline asm for the crypto code uses instructions of the form "dmtc2
%0, 0xNNNN" - that is the coprocessor register is represented as a
constant, which is the only syntax that gas seems to accept
(specifically, an expression which evaluates to a constant). Clang's
integrated-as, however, only accepts "dmtc2 %0, $0xNNNN", that is, a
coprocessor re...