search for: mov_ri

Displaying 5 results from an estimated 5 matches for "mov_ri".

Did you mean: mov8ri
2016 Jun 28
2
Instruction selection problem with type i64 - mistaken as v8i64?
...possibly useful lines from the output of llc, related to the instr. selection and register allocation of the above piece of code: ===== Instruction selection ends: Selected selection DAG: BB#3 'foo:vector.body.preheader' SelectionDAG has 11 nodes: t0: ch = EntryToken t1: i64 = MOV_ri TargetConstant:i64<0> t3: ch = CopyToReg t0, Register:i64 %vreg23, t1 t11: v8i64 = VLOAD_D TargetConstant:i64<0> t6: ch = CopyToReg t0, Register:v8i64 %vreg24, t11 t8: ch = TokenFactor t3, t6 t9: ch = JMP BasicBlock:ch<vector.body 0xa61440>, t8 [......
2016 Jun 29
0
Instruction selection problem with type i64 - mistaken as v8i64?
...tput of llc, related to the > instr. > selection and register allocation of the above piece of code: > ===== Instruction selection ends: > Selected selection DAG: BB#3 'foo:vector.body.preheader' > SelectionDAG has 11 nodes: > t0: ch = EntryToken > t1: i64 = MOV_ri TargetConstant:i64<0> > t3: ch = CopyToReg t0, Register:i64 %vreg23, t1 > t11: v8i64 = VLOAD_D TargetConstant:i64<0> > t6: ch = CopyToReg t0, Register:v8i64 %vreg24, t11 > t8: ch = TokenFactor t3, t6 > t9: ch = JMP BasicBlock:ch<vector.bo...
2016 Dec 03
2
Immediate operand for vector instructions
...LLVM pass) an LLVM IR repeat_x_times intrinsic. To my big surprise (because of the property OperandType = "OPERAND_IMMEDIATE"), the resulting ASM codegen'ed by the instruction selector contains a mov and use a register: mov r1, 32767 // <MCInst #75 MOV_ri // <MCOperand Reg:2> // <MCOperand Imm:32767>> REPEAT_X_TIMES(r1); ... Note that in the end I managed to fix this problem by using an address operand as immediate operand (in...
2017 Dec 14
0
Help adding entries to .symtab
Hi Liad, I'm not an expert in MC, but what you describe doesn't sound any different from how you would handle a branch instruction. Create an MCSymbol that represents the address of the target instruction; use that symbol as an operand in the referencing instruction; emit the symbol as a label just prior to emitting the target instruction. The second and third steps can occur in either
2017 Dec 14
2
Help adding entries to .symtab
Hey Paul, first of all thank you for taking the time to answer me, if I understand you correctly, I need to modify the instruction it self so one of it's operands is a symbol, and then at MC layer handle that symbol and add an entry to the symtab for that label? What kind of symbol should I use doing such thing? external symbol or MCSymbol? I was trying to find where in the code during the MC