Hi, i would like to to add support for cortex-m4 on qemu. Most features of the Cortex-M3 and M4 are the same with the significant difference that Cortex-M4 has DSP extensions and optional FPU. Even so, i really need some pointers for this (im a newbie on qemu devel). I found out that qemu can manage dsp instructions such as ADD16, ASX, SAX, etc. and all their combinations with suffixes (u, s, sh, etc.), so half (if not all) of the work is done.
How should I go about this? What's the standard procedure for adding a new CPU, even if it's so similar to the existing ones? That is, which are the relevant functions/files that I should modify, and so on. Thanks a lot!