Displaying 2 results from an estimated 2 matches for "binopri_f".
2014 Apr 22
2
[LLVMdev] where is F7 opcode for TEST instruction on X86?
...uot;test", Xi8 , X86testpat>;
def TEST16rm : BinOpRM_F<0x84, "test", Xi16, X86testpat>;
def TEST32rm : BinOpRM_F<0x84, "test", Xi32, X86testpat>;
def TEST64rm : BinOpRM_F<0x84, "test", Xi64, X86testpat>;
def TEST8ri : BinOpRI_F<0xF6, "test", Xi8 , X86testpat, MRM0r>;
def TEST16ri : BinOpRI_F<0xF6, "test", Xi16, X86testpat, MRM0r>;
def TEST32ri : BinOpRI_F<0xF6, "test", Xi32, X86testpat, MRM0r>;
def TEST64ri32 : BinOpRI_F<0xF6, "test", Xi64, X86te...
2018 Mar 28
1
Taking over an x86 opcode for my own instruction
...e]>;
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 recognize is not a good idea), I
still get a similar error:
Error: Primary decode conflict: NOT64r would overwrite...