The world number one continued his comeback by reaching the last eight at the Dubai Tennis Championships.