Milos Raonic says he's looking forward to getting another crack at Roger Federer, the Swiss tennis legend who sent him packing with a straight-sets win in the 2014 Wimbledon semifinals.

Raonic believes he has grown as a player since his first Grand Slam semifinal, improving his all-round game and learning how to make adjustments when things aren't going his way.

How much the Canadian has improved will be made clear Friday, when Raonic takes on Federer, the seemingly ageless seven-time champion, in the Wimbledon semifinals for the second time in three years.

"I look forward to it a lot," Raonic said. "Two years have passed since I played him here in the semifinals so I'm happy that I have another shot at him.

"I think from every aspect I've improved. I think I know what I need to do on court better, I know how to turn things around to get them on my terms. I know what I'm looking for, I know how to go about it to try to get to that position as much as I can and when things aren't going well I know what things to change."

Raonic, 25, advanced to his third career Grand Slam semifinal, and second of the season, with a clinical 6-4, 7-5, 5-7, 6-4 win over American Sam Querrey on Wednesday on Court 1. The sixth seed from Thornhill, Ont., lost serve only once and registered 13 aces and 58 winners

"Definitely a right step forward," Raonic said. "It's the best match I've played all the way through. Other than a span of three games everything was quite good. I had quite a few looks and I made the most of it."

Querrey, seeded 28th, knocked out No. 1 Novak Djokovic in the third round on Saturday, but came up short in his bid to become the first American to make it to the semifinals of a Grand Slam since Andy Roddick reached the final four at Wimbledon in 2009.

"I don't think I played poorly at all," Querrey said. "I knew he had a big serve, obviously, but I was really impressed with his net game. He really didn't miss a volley today. He kept coming forward, kept the pressure on me, and I felt it."

Raonic, who has added John McEnroe to his coaching team this year, had just 16 unforced errors against Querrey, compared to the 44 he had in his fourth-round win over David Goffin.

Federer was already a veteran at 32 when he last faced Raonic in the Wimbledon semifinals, and while he may have lost a step from his days of holding the No. 1 spot on the ATP Tour with an iron fist, he is still a formidable foe.

Federer also holds a 9-2 edge in head-to-head meetings with Raonic. But the Canadian has shown he can compete with Federer, beating him in straight sets in the Brisbane International final to kick off the 2016 season.

"That's who you want to face," Raonic said of Federer. "I have very clear objectives for myself, goals that are beyond this tournament. To achieve those things you have to face off against the best players at the best tournaments. I hope I can relish in that opportunity."

Raonic said his aim entering Wimbledon was to win, and he's aware that even if he beats Federer there will be another tough test in the final before he reaches his goal.

"Two wins is quite far away. I felt that two years ago, so I'm not even not even in that stratosphere right now."

Federer rallies past Cilic

Federer's bid for a record eighth Wimbledon title remains alive after he came from two sets down and saved three match points before overcoming Cilic in five sets, advancing to the semifinals for the 11th time.

Playing his best when he absolutely needed it most, the seven-time champion finished with his 27th ace to complete a 6-7 (4), 4-6, 6-3, 7-6 (9), 6-3 victory on Centre Court against the player who knocked him out in semifinals of the U.S. Open two years ago.

Federer defeated Marin Cilic for his 10th career comeback from 2 sets down. 0:54

"Well, a lot happened out there," Federer said, summing up the 3-hour, 17-minute battle filled with tension, momentum swings and crucial points.

"I knew I was in so much trouble in the third, and then again in the fourth," he said. "I'm really, really pleased and just ecstatic I was able to come through somehow."

It was the 10th time in Federer's career that he has erased a two-set deficit to win in five sets. This was also his 80th match win at Wimbledon, which equals Jimmy Connors' record. Federer also matched Connors's record of reaching the Wimbledon semifinals 11 times.

What's more, Federer is now two wins away from the all-time record for Wimbledon men's titles. He's currently tied with Pete Sampras and 1880s player William Renshaw with seven.​​

Murray outlasts Tsonga

Andy Murray has made it to the Wimbledon semifinals for the seventh time.

The 2013 champion held on to beat Jo-Wilfried Tsonga 7-6 (10), 6-1, 3-6, 4-6, 6-1 on Centre Court, reaching his 20th semifinal at any major tournament.

Murray will face 2010 Wimbledon runner-up Tomas Berdych on Friday.

In 2013, Murray became the first British man to win the title at Wimbledon in 77 years. He also won the U.S. Open in 2012.

Berdych returns to semis

Tomas Berdych advanced to the Wimbledon semifinals for the second time, beating Lucas Pouille 7-6 (4), 6-3, 6-2 on Court No. 1.

Berdych, the 2010 runner-up, was playing for the third straight day. The 10th-seeded Czech's fourth-round match against Jiri Vesely was stopped after four sets on Monday, and he completed the victory on Tuesday.

Pouille, a 32nd-seeded Frenchman, was playing in the quarter-finals of a major tournament for the first time. Prior to his win in the first round, Pouille had never won a match on grass.

Full Canadian results

In men's doubles, Toronto's Adil Shamaddin had his unexpected run come to an end, as he and British partner Jonathan Marray fell to Treat Hury of the Philippines and Max Mirnyi of Belarus 6-4, 7-6 (5), 6-3 in the quarter-finals.

In junior men's action, third-seed Felix Auger-Aliassime of Montreal and fifth-seed Denis Shapovalov from Richmond Hill, Ont., both advanced to the quarter-finals.

Auger-Aliassime downed Poland's Piotr Matuszewski 6-0, 7-5 to set up a quarter-final against seventh-seeded Australian Alex De Minaur. Shapovalov defeated 10th-seed Yunseong Chung of South Korea 7-6 (2), 6-3 and will next face fourth-seeded Hungarian Mate Valkusz.

In junior women's third-round action, ninth-seeded American Usue Arconada beat sixth-seed Bianca Andreescu of Mississauga, Ont., 6-2, 6-2.