search for: getopinfo

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

2013 Sep 13
3
[LLVMdev] LLVM disassembler bugs
Hi, I am looking at the "LLVMOpInfoCallback GetOpInfo" callback. Example 1 GOOD: 41 c6 84 24 16 04 00 00 0c : movb $12, 1046(%r12) Makes calls to the callback with: Offset = 0x4, Size = 0x4 <- Octets: 16 04 00 00 Offset = 0x8, Size = 0x1 <- Octets: 0c That was correct. Example 2 BAD: c7 45 98 a1 ff ff ff : movl $4294967201,...
2013 Sep 15
2
[LLVMdev] LLVM disassembler bugs
...s bug. Applies to llvm 3.4svn > > Please commit it please. > > Kind Regards > > James > > > > > On 13 September 2013 17:46, James Courtier-Dutton <james.dutton at gmail.com>wrote: > >> Hi, >> >> I am looking at the "LLVMOpInfoCallback GetOpInfo" callback. >> >> Example 1 GOOD: >> 41 c6 84 24 16 04 00 00 0c : movb $12, 1046(%r12) >> >> Makes calls to the callback with: >> Offset = 0x4, Size = 0x4 <- Octets: 16 04 00 00 >> Offset = 0x8, Size = 0x1 <- Octets: 0c >> That was c...
2013 Sep 15
0
[LLVMdev] LLVM disassembler bugs
I attach a patch that fixes this bug. Applies to llvm 3.4svn Please commit it please. Kind Regards James On 13 September 2013 17:46, James Courtier-Dutton <james.dutton at gmail.com>wrote: > Hi, > > I am looking at the "LLVMOpInfoCallback GetOpInfo" callback. > > Example 1 GOOD: > 41 c6 84 24 16 04 00 00 0c : movb $12, 1046(%r12) > > Makes calls to the callback with: > Offset = 0x4, Size = 0x4 <- Octets: 16 04 00 00 > Offset = 0x8, Size = 0x1 <- Octets: 0c > That was correct. > > Example 2 BAD:...
2013 Sep 15
0
[LLVMdev] LLVM disassembler bugs
.... >> >> Kind Regards >> >> James >> >> >> >> >> On 13 September 2013 17:46, James Courtier-Dutton <james.dutton at gmail.com >> > wrote: >> >>> Hi, >>> >>> I am looking at the "LLVMOpInfoCallback GetOpInfo" callback. >>> >>> Example 1 GOOD: >>> 41 c6 84 24 16 04 00 00 0c : movb $12, 1046(%r12) >>> >>> Makes calls to the callback with: >>> Offset = 0x4, Size = 0x4 <- Octets: 16 04 00 00 >>> Offset = 0x8, Size = 0x1 <- Oc...
2015 Feb 23
2
[PATCH 1/2] nv50/ir: add fp64 support on G200 (NVA0)
...(insn->dType == TYPE_F64) + emitDMAD(insn); + else if (isFloatType(insn->dType)) emitFMAD(insn); else emitIMAD(insn); @@ -1912,7 +1986,7 @@ CodeEmitterNV50::getMinEncodingSize(const Instruction *i) const { const Target::OpInfo &info = targ->getOpInfo(i); - if (info.minEncSize > 4) + if (info.minEncSize > 4 || i->dType == TYPE_F64) return 8; // check constraints on dst and src operands diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50...