Displaying 1 result from an estimated 1 matches for "add_kcpsm6".
Did you mean:
add_kcpsm3
2012 Oct 15
2
[LLVMdev] Alternate instruction encoding for subtargets
...the same instruction is encoded:
Inst{17-12} = 0b010000;
Inst{11-8} = sx;
Inst{7-4} = sy;
Inst{3-0} = 0;
They even mostly kept the instruction formats!
Can I tell tablegen to have two encodings and switch between them
using a predicate?
I do not want to create new instructions (e.g. ADD_KCPSM3 and ADD_KCPSM6).
If that is not possible I will just dump the tablegen's
*GenCodeEmitter.inc file with the getBinaryCodeForInstr() and write it
by hand. I guess this is the only place where opcodes are used? (I do
not use LLVM's MC disassembler.)
Cheers,
Jara
--
Space--the final frontier!
http://linked...