IDA 9.5 TriCore: floating-point instructions remain inline assembly

Dear Hex-Rays Support,

I’m using IDA Pro 9.5 with Hex-Rays 9.5 on Windows to analyze TC1766 and TC29x firmware.

In selected examples, the following floating-point instructions remain inline assembly in the pseudocode:

ITOF, UTOF, ADD.F, SUB.F, MUL.F, DIV.F, MSUB.F, CMP.F and FTOUZ.

This makes the floating-point calculations and their dataflow harder to follow.

We also observed integer division (DIV/DIV.U) and selected saturating arithmetic instructions remaining inline assembly. Clear C expressions or suitable intrinsics would make the division and clamping behavior easier to follow.

We reproduced these observations through native IDAPython, including isolated instruction tests, without MCP or custom instruction lifters. In the UTOF/MUL.F example specifically, explicit source and destination types were accepted, but both instructions still remained inline assembly.

We are reporting a limitation in the generated C representation, rather than a demonstrated numerical error.

Could you clarify whether this is an expected limitation of the current TriCore decompiler, whether any settings or supported workarounds can improve the output, and whether expanded floating-point support is planned for the next release?

Best regards,
Dmitri

Hi @Dmitri

This is an expected limitation of the current TriCore decompiler, and floating point support is planned for the next 1 or 2 releases, depending on how far away in time these will be. It surely is on the roadmap.

Best,

Alex