Cortex-M instruction set test?

Does there exist an instruction set test for the Cortex-M series?  This might also be known as a CPU instruction test, or by other terms...  Such test would be used to diagnose potentially faulty CPU or possibly the memory subsystems, etc.

Thanks for any consideration.

More questions in this forum