Compiled save_pmh