Add test_reg_u32 and cmp_reg_offset_ptr_reg
Experiment with a fast-path for ret instructions