(CNN) -- Roger Federer reached the semifinals of the Rogers Cup in Toronto, joining Rafael Nadal, Andy Murray and Novak Djokovic in quarterfinal wins.
Federer beat Czech Tomas Berdych -- who knocked Federer out of the Wimbledon quarterfinals earlier this year -- with a 6-3 5-7 7-6 (5) win.
"Sometimes you don't have much say playing against a player with the power of Berdych and he's on a streak," Federer told the official ATP website. "This is why this is a great victory for me, great to stop him, good for me, for my confidence this week and next week and the following week. I could definitely take a lot out of this victory."
Federer will face world number two Djokovic in the semifinals. The winner will face either Nadal or Murray in Sunday's final.
Murray played some superb tennis in crushing the in-form David Nalbandian but Nadal had to recover from dropping the opening set to get past Germany's Philipp Kohlschreiber.
Nalbandian won the ATP title in Washington last weekend and came into Friday's encounter on an 11-match unbeaten streak.
But the fourth-seeded Briton, who has struggled to find his top form this season, brushed aside the Argentine in impressive fashion, securing a 6-2 6-2 victory in just 69 minutes.
"It was probably one of the best matches I've played this year," Murray told the official ATP Tour website.
"I served well and got the first good hits in a lot of the rallies, so I was able to dictate a lot of the points," added Murray -- who is the defending champion after winning the tournament in Montreal last year.
Meanwhile, top seed Nadal also secured his place in the last four, but he was not as impressive as Murray in a 3-6 6-3 6-4 victory over Kohlschreiber