you can check this page
http://maws.mameworld.info/maws/hilist135u3.txtgames which have supported save states should work perfectly with autosave (if not, it is a bug and it should be reported to MameTesters)
OTOH there is currently no way to tell which games had built-in NVRAM to save hi-scores...