Roger Federer has split with tennis coach Paul Annacone after more than three years working together.