INDIAN WELLS, Calif. -- It's Federer vs. Nadal again, only this time it'll be in the semifinals of the BNP Paribas Open.
Neither Federer nor Nadal has dropped a set in four matches in the desert. Federer has been broken just once, and Nadal has dropped serve three times, twice against Khachanov.
Nadal stands in the way of Federer's pursuit of a record sixth title at Indian Wells.
Still, the 37-year-old Swiss superstar was rooting for Nadal to advance against his 22-year-old opponent.
"Playing against young guys to eventually get to Rafa, that's exciting," said Federer, who also faced an opponent the same age as Khachanov.
Nadal's right knee flared up for the first time during the tournament in the second set. He called for a trainer, who applied tape just below the knee. The trainer returned again with Nadal leading 3-2 in the second set.
"My goal and my idea is be ready for tomorrow," said Nadal, who holds a 23-15 edge in his rivalry with Federer. "I cannot guarantee how I'm going to wake up tomorrow morning."
Knee problems have dogged the 32-year-old Spaniard in recent years, and they cut short his 2018 season after the US Open in September.
"I love to play on hard [courts], but probably my body doesn't love it that much," Nadal said. "As I say before, is not only about today, is about tomorrow. Maybe we're going to pay the price at the age of 45 or something. That will be not nice. When I see some old legends walking around the tour, is tough to see."
Andreescu became the first wild card to reach the Indian Wells final.
"Another goal of mine was to make history, and I just did," she said, smiling.
The 18-year-old Canadian's run is reminiscent of Naomi Osaka's path to last year's title. Little known at the time, Osaka used her Indian Wells victory as a launching pad to beating Serena Williams for the US Open title and winning the Australian Open while becoming the world's top-ranked player.
"I'm actually shaking right now," Andreescu told reporters. "It's just so incredible."
Andreescu had break points against her in each of her final three service games.
"It was so many emotions going through my head," she said. "It was a crazy match. It was a roller coaster."
Svitolina had three break chances in the final game, but couldn't convert. The Ukrainian also was bothered by her inflamed right knee.
"I couldn't allow myself to play 100 percent because my movement was not there," she said.
Federer is on a five-matching winning streak against Nadal, who lost to him all four times they played in 2017, including the last time at the Shanghai Masters in October of that year.
"You look back at what I did well there, but you can't just copy-paste and play exactly the same thing again," Federer said.
Nadal improved to 6-0 against Khachanov, although it was tougher and longer than Federer's victory.
Nadal trailed 6-5 before Khachanov's forehand error forced the second tiebreaker, which Nadal dominated to close out the match that lasted just over two hours.
"He's unbelievable in defense," Khachanov said. "When you want to try maybe just to play more safe then he suddenly steps in and he counterattacks. He steps in and then he starts moving you, and then you are again in trouble."
Federer believes Nadal is playing better than he did in losing the Australian Open final to Novak Djokovic, who was upset earlier in the week.
"When Rafa is healthy, especially in a place like here in Indian Wells where he feels comfortable, he's clearly very tough to play," Federer said.
Against Hurkacz, Federer fought off two break points in the second set, including the final game, when he closed the match with a forehand winner off a short ball.
"Not that I didn't expect it," Federer said, "but it definitely went better than I thought it would."
Hurkacz, a 22-year-old Pole, earned three-set upsets of No. 28 Lucas Pouille, No. 6 Kei Nishikori and No. 24 Denis Shapovalov to make his first ATP Masters 1000 quarterfinal, against his childhood idol. Federer was playing in his 83rd at this level.
"Playing against him for the first time on the big stadium of a great crowd here was for sure different feeling," Hurkacz said.