Displaying 1 result from an estimated 1 matches for "ic_64bit_rexw".
2018 Mar 28
1
Taking over an x86 opcode for my own instruction
...and_b_i64\t$b",
[(int_cache_operand_b_i64 i64imm:$b)]>,
Requires<[In64BitMode]>;
However, when I compile, I'm getting errors of the form:
Error: Primary decode conflict: TEST64ri32 would overwrite
CACHE_OPERAND_B64i
ModRM 199
Opcode 247
Context IC_64BIT_REXW
When I look at the definition of TEST64ri32, I see:
let Predicates = [In64BitMode] in
def TEST64ri32 : BinOpRI_F<0xF6, "test", Xi64, X86testpat, MRM0r>;
It looks like TEST64ri32 is using opcode 0xF6 -- why is there a conflict
with 0xF1?
Even if I comment out TEST64ri32 (which I...