Created by: semihalf-kardach-stanislaw
Compile-time defines listing RISC-V extensions are not very useful for DynamoRIO because we may run on a system with a different set of extensions. So it should probably be a responsibility of the client code to figure out whether instructions it would like to use are compatible with the host it is running on.
In the future RISC-V arch code for DynamoRIO should perhaps provide a helper to iterate over all available extensions in runtime. This is not a simple function as the extension set is in fact a string list parsed from the device tree. Therefore it would need some sort of mapping to some enum values for fast evaluation.
Issue #3544
Signed-off-by: Stanislaw Kardach kda@semihalf.com