Roger Federer celebrates his quarterfinal win over Milos Raonic. Getty

There have been plenty of upsets at this year's Wimbledon, with men's tennis' top stars all taking an early exit at the All England Club.

Well, all except one.

Roger Federer continued to defy his age, as the 35-year-old advanced to the semifinals of Wimbledon for the 11th time Wednesday. The Swiss legend withstood a tough test from Canadian Milos Raonic in the quarterfinals but still prevailed in straight sets, 6–4 6–2 7–6 (4).

Federer's victory is particularly notable considering whom he outlasted in London. In the quarterfinals, No. 1-seeded Andy Murray fell to Sam Querrey, while No. 2-seeded Novak Djokovic retired from his match against Tomas Berdych. Rafael Nadal, fresh off his French Open win, lost in the fourth round to Gilles Muller.

Entering Wimbledon, Federer had the best odds of winning at +200, according to online betting site Bovada. He was followed by Murray (+350), Nadal (+400) and Djokovic (+600).

Ahead of the semifinals, Federer, who has yet to drop a set, is now the odds-on favorite at -300, according to bet365. The rest of the field is mostly longshots, though Croatian Marin Cilic has +400 odds. Berdych (+1,200) and Querrey (+2,000) are major underdogs.

Federer faces Berdych on Friday at 8:00 a.m. ET. The match will mark the 25th meeting between the two, with Federer leading 18-6. Federer is favored to defeat Berdych, according to Bovada.

Whether or not he wins his eighth Wimbledon title, it's already been a fantastic year for Federer. He boasts a 29-2 record in 2017 and if he wins Wimbledon, he will be perfect in two Grand Slams this year. In January, he captured his sixth Australian Open after a seven-year drought. He also won the Indian Wells Masters and the Miami Open. In June, Federer secured his ninth title in Halle, Germany.

There seems to be added focus from Federer this year after previously dealing with nagging injuries. Meanwhile, skipping the French Open appears to have already paid dividends.

“I am much better prepared for Wimbledon this year,” Federer said after his win over Raonic. “In 2016, I had a hard time practicing (with) back and knee injuries. In matches, I couldn’t play freely. But I am normal again so I can focus on tactics.”

Should Federer prevail over Berdych, he will play the winner of Cilic-Querrey on Sunday in the men's final.