This adds and entry for MOVcc_ru6 (e.g. mov.eq %r0, 32) in ARCInstrInfo.td, its associated dependencies, and the ability to decode this instruction from an object file.
For example, when disassembling the object file derived from compiling:
int f(int x) {
return __builtin_clz(x);
}we used to have:
00000000 <f>:
0: 2f 28 13 80 <unknown>
4: ca 20 21 08 <unknown>
8: e0 7f j_s.d [%blink]
a: ce 20 e2 07 <unknown>but now we have:
00000000 <f>:
0: 2f 28 13 80 <unknown>
4: ca 20 21 08 mov.eq %r0, 32
8: e0 7f j_s.d [%blink]
a: ce 20 e2 07 <unknown>
clang-tidy: error: 'ARC.h' file not found [clang-diagnostic-error]
not useful