I need to determine the set of instruction encodings that the TCG can support for a given platform. I am not bothered whether the target runs at all, and in fact it is better if it doesn't, so runtime or translate time doesn't bother me.
Imagine I were adding support for more instructions for a given platform. I would like to check that I'm using the API right. It's amazing that it's been so far and there's no way to check that the correct behavior occurs when a given encoding is encountered regarding the TCG. A boolean result from a can_translate called just when the target encounters the instruction would be good. Additionally, the ability to force the translation of arbitrary encodings would be good. I would like to not have to engineer some binary file format.