198 {
return ty != INVALID; }
203 {
return ty == INVALID; }
210 {
return ty == MEM_LOAD; }
215 {
return ty == MEM_STORE; }
220 {
return ty == MEM_OTHER; }
225 {
return isMemLoad() || isMemStore() || isMemOther(); }
232 {
return isBrRel() || isBrInd(); }
237 {
return isBrCondRel() || isBrUnCondRel(); }
242 {
return isBrCondInd() || isBrUnCondInd(); }
247 {
return ty == INT_BR_COND_REL || ty == FP_BR_COND_REL; }
252 {
return ty == INT_BR_COND_IND || ty == FP_BR_COND_IND; }
257 {
return ty == BR_UN_COND_REL; }
262 {
return ty == BR_UN_COND_IND; }
267 {
return ty == FP_BR_COND_REL || ty == FP_BR_COND_IND; }
274 {
return isSubrRel() || isSubrInd(); }
279 {
return ty == SUBR_REL; }
284 {
return ty == SUBR_IND; }
289 {
return ty == SUBR_RET; }
296 {
return isFPBr() || isFPArith() || isFPOther(); }
303 return (ty == FP_ADD || ty == FP_ADD || ty == FP_SUB || ty == FP_MUL
304 || ty == FP_DIV || ty == FP_CMP || ty == FP_CVT
311 {
return ty == FP_MOV || ty == FP_OTHER; }
319 return (ty == INT_ADD || ty == INT_SUB || ty == INT_MUL
320 || ty == INT_CMP || ty == INT_LOGIC || ty == INT_SHIFT);
326 {
return ty == INT_MOV || ty == INT_OTHER; }
331 {
return isIntArith() || isIntOther(); }
338 {
return ty == SYS_CALL; }
343 {
return ty == OTHER; }
355 dump(std::ostream& o = std::cerr);
390 if (--refcount == 0) {
476 { opIndex = 0;
return opvma; }
491 if (cmi == _cache->tag) {
502 { _cache->tag = cmi; _cache->insnSize = size; }
534 struct disassemble_info* di);
543 #endif // isa_ISA_hpp
virtual VMA convertVMAToOpVMA(VMA vma, ushort GCC_ATTR_UNUSED opIndex) const
InsnDesc(const InsnDesc &x)
void GNUbu_print_addr_stub(bfd_vma di_vma, struct disassemble_info *di)
DecodingCache * cacheLookup(MachInsn *cmi)
InsnDesc(IType t=INVALID)
int GNUbu_read_memory(bfd_vma vma, bfd_byte *myaddr, unsigned int len, struct disassemble_info *di)
unsigned short int ushort
bool isBrUnCondRel() const
void cacheSet(MachInsn *cmi, ushort size)
bool isBrUnCondInd() const
int GNUbu_fprintf_stub(void *stream, const char *format,...)
virtual VMA convertOpVMAToVMA(VMA opvma, ushort &opIndex) const
ISA & operator=(const ISA &GCC_ATTR_UNUSED i)
int GNUbu_fprintf(void *stream, const char *format,...)
InsnDesc & operator=(const InsnDesc &x)
ISA(const ISA &GCC_ATTR_UNUSED i)