Murray looked bound for the last eight when he won the first four games of the deciding set, but the three-time grand slam champion was left stunned by a defiant Ramos-Vinolas.

The top seed grew increasingly disgruntled in the final set as Spaniard Ramos-Vinolas turned the tide to seal the biggest victory of his career and book a last-eight meeting with Marin Cilic.

Wimbledon champion Murray said: "A few times, I made some bad decisions. That's something that, with my team, I'll look at, watch some parts of the match over, see the shots that I chose and what I would do differently."