search for: imm17

Displaying 1 result from an estimated 1 matches for "imm17".

Did you mean: imm16
2007 Mar 13
0
[LLVMdev] Writing a backend basic information
...ot sure where/how best to cope with the immediate value printing and immediate value limiting to 17bits in instruction selection/code generation. I had thought of using a multiclass definition for each instruction that has an immediate present/omitted. Would I need to define a new 17bit type Imm17 in CodeGen/ValueTypes.td/h, or can I cope with the 17 bit immediate elsewhere by perhaps using an i32? OR, can I handle this elsewhere in codegen/instruction selection more elegantly? Apologies for the naivety of my question. multiclass sabre_inst<string opcodestr, bits<5> opcode>...