Background info for my particular case (though it would be good if answers were more general):
I have an 11 inch MacBook Pro. I'm trying to run MuJoCo but it says
Illegal instruction: 4. Searching Google for similar errors lead me to something saying that I need a CPU that has AVX instruction support.
When I looked up how to tell if my CPU has AVX support, I came across this page which gives a list of CPUs with AVX support.
When I looked up how to tell what CPU my Mac had, Google said to use "About This Mac" which just told me I have a
2.53 GHz Intel Core i5, but that doesn't seem to be anywhere on the list, but the site says that these types of CPUs tend to support AVX instructions.
How can I tell whether or not my computer actually does support AVX instructions?