search for: checkneonconstraint

Displaying 2 results from an estimated 2 matches for "checkneonconstraint".

2013 Apr 30
3
[LLVMdev] A simpler method to reject undefined encodings
...raint is currently unimplemented and triggers incorrect behaviour in the MC disassembler. In order to correct this I would have to create custom decoder methods for a dozen-some instructions which is wasteful. I would much prefer to be able to define a constraint function like: static DecodeStatus CheckNEONConstraint(const MCInst &Inst, unsigned Insn) { Vd = fieldFromInstruction(Insn, 12, 4); Vm = fieldFromInstruction(Insn, 0, 4); Vn = fieldFromInstruction(Insn, 16, 4); Q = fieldFromInstruction(Insn, 6, 1); if (Q == 1 && ((Vd & 1) || (Vm & 1) || (Vn & 1))) return MCDisasse...
2013 May 01
0
[LLVMdev] A simpler method to reject undefined encodings
Hi Mihail, > static DecodeStatus CheckNEONConstraint(const MCInst &Inst, unsigned Insn) [...] > ConstraintCheckMethod = "CheckNEONConstraint" In general I like the idea of an instruction-validation method. I think it could also potentially solve the SoftFail/UNPREDICTABLE issues that are looming (and partially resolved for decoding...