Roger Federer moved into the Miami Open semi-finals with a straightforward victory over Kevin Anderson.
Three-time champion Federer beat 20th seed Anderson 6-0 6-4 in a match lasting just under an hour and a half.
The 37-year-old struck with the first break in the opening game and twice more en route to taking the first set in 26 minutes.
Anderson's nervy start continued into the second set where he went 2-0 down, but the South African recovered to apply the pressure and level the set at 4-4.
A marathon 14-minute game followed but Federer used all his experience to grab the break - his fifth of the match - and serve out to love for the victory.
The fourth seed will now face 19-year-old Denis Shapovalov.
The 20th seed booked his place in the last four with a 6-7 (5) 6-4 6-2 win over Frances Tiafoe.
After dropping the first set in a tiebreaker, Shapovalov almost let a double-break lead slide in the second but held on before breaking his American opponent twice in the third to earn the win after more than two hours on court.
Roger Federer moved into the Miami Open quarter-finals with a straight-sets victory over Daniil Medvedev.
Three-time champion Federer beat 13th seed Medvedev 6-4 6-2 in a rain-delayed clash carried over from the previous day.
The 37-year-old struck with the first break of the opening set at 4-4 before recovering from 40-0 down to win the next game.
Federer then broke his Russian opponent again in the opening game of the second set, and for a third time at 4-2 up, en route to completing victory in just over an hour.
The fourth seed will face South African Kevin Anderson in the last eight.
Roberto Bautista Agut claimed a shock victory over world number one Novak Djokovic 1-6 7-5 6-3 at the Miami Open.
The Spaniard took time to find his rhythm, losing his first two service games and finding himself 5-0 down in the first set.
Djokovic, a six-time winner at the tournament, took 33 minutes to take a one-set lead, and broke the first game in the second set.
But Bautista Agut, ranked 25th in the world, bounced back after a rain delay and drew the game level at 1-1.
Two further breaks of serve were all that was needed for Bautista Agut to take the match and set up a quarter-final tie with reigning champion John Isner.
Isner saw off Britain's Kyle Edmund 7-6 (5) 7-6 (3), the match finishing in controversial fashion when a shout of "out" from the crowd put Edmund on the back foot.
Felix Auger-Aliassime knocked out 17th seed Nikoloz Basilashvili 7-6 (4) 6-4, while Borna Coric spent nearly two hours on court as he prevailed against Nick Kyrgios 4-6 6-3 6-2.
Elsewhere Kevin Anderson saw off Jordan Thompson 7-5 7-5, Frances Tiafoe got the better of David Goffin 7-5 7-6 (6) and Denis Shapovalov was taken to a third-set tiebreak but prevailed against Stefanos Tsitsipas 4-6 6-3 7-6 (3).