Functions in src/cpu