From 408894062e4ff6b7271d7eaaf877d59be1712c74 Mon Sep 17 00:00:00 2001 From: Galen Williamson Date: Wed, 30 Jul 2025 19:01:32 -0400 Subject: [thumb2] Updated thumb2 disassembler generator to use Tatsu-generated parser instead of deprecated Grako --- arch/armv7/thumb2_disasm/spec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/armv7/thumb2_disasm/spec.cpp') diff --git a/arch/armv7/thumb2_disasm/spec.cpp b/arch/armv7/thumb2_disasm/spec.cpp index f618eff7..38e14d02 100644 --- a/arch/armv7/thumb2_disasm/spec.cpp +++ b/arch/armv7/thumb2_disasm/spec.cpp @@ -34286,7 +34286,7 @@ int vcvt_float_fixed(struct decomp_request *req, struct decomp_result *res) return undefined(req, res); } -// gen_crc: 3CB799A8 +// gen_crc: EBC7DA24 int vcvt_float_int(struct decomp_request *req, struct decomp_result *res) { int rc = -1; @@ -34486,7 +34486,7 @@ int vcvt_float_int(struct decomp_request *req, struct decomp_result *res) res->fields[FIELD_fmt_idx] = (((((((res->fields[FIELD_op]) == (0x0))) * (4))) + (((res->fields[FIELD_opc3]) * (2)))) + (res->fields[FIELD_sz])) + (2); res->fields_mask[FIELD_fmt_idx >> 6] |= 1LL << (FIELD_fmt_idx & 63); /* pcode: if (opc1 == '0') then fmt_idx = sz */ - if((res->fields[FIELD_opc1]) == 0x0) { + if(((res->fields[FIELD_opc1]) == (0x0))) { res->fields[FIELD_fmt_idx] = res->fields[FIELD_sz]; res->fields_mask[FIELD_fmt_idx >> 6] |= 1LL << (FIELD_fmt_idx & 63); } -- cgit v1.3.1