Setup maxrregcount (32) and shared-mem-size (8204)