Displaying 1 result from an estimated 1 matches for "rii64".
Did you mean:
prii64
2018 Mar 28
1
Taking over an x86 opcode for my own instruction
...e basic process I used was:
1. Find an unused opcode, e.g. 0xF1 in this table:
http://ref.x86asm.net/coder32.html
2. Insert an instruction into lib/Target/X86/X86InstrInfo.td using this
opcode.
In this case, I used 0xF1, and created the following instruction:
def CACHE_OPERAND_B64i : RIi64<0xF1, AddRegFrm, (outs GR64:$unused),
(ins i64imm:$b), "cache_operand_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 deco...