Displaying 2 results from an estimated 2 matches for "mnemonicrang".
Did you mean:
mnemonicrange
2012 May 22
2
[LLVMdev] Match operands
..., 93 /* ceil */, Convert__Reg1_2__Reg1_3, { MCK__DOT_w, MCK__DOT_s, MCK_FGR32, MCK_FGR32 }, 0, 0},
.
.
.
}
So, when the MatchInstructionImpl is called it seems to look for a pair of instructions that match the mnemonic:
// Search the table.
std::pair<const MatchEntry*, const MatchEntry*> MnemonicRange =
std::equal_range(MatchTable, MatchTable+277, Mnemonic, LessOpcode());
The search will always end in first two entries ( Mips::CEIL_L_D64 and Mips::CEIL_L_S) thus reporting the 'invalid operand' error when ceil.w.x instruction is parsed.
Is there a way to direct this search somehow,...
2012 May 22
0
[LLVMdev] Match operands
...e other horrible hackery in that function, though. ;)
-Jim
> .
> .
> }
>
> So, when the MatchInstructionImpl is called it seems to look for a pair of instructions that match the mnemonic:
>
> // Search the table.
> std::pair<const MatchEntry*, const MatchEntry*> MnemonicRange =
> std::equal_range(MatchTable, MatchTable+277, Mnemonic, LessOpcode());
>
> The search will always end in first two entries ( Mips::CEIL_L_D64 and Mips::CEIL_L_S) thus reporting the 'invalid operand' error when ceil.w.x instruction is parsed.
> Is there a way to direct t...