Defending champion Novak Djokovic came through a stiff test of his fitness as he moved into the Australian Open quarter-finals, but third seed Dominic Thiem was stunned by Grigor Dimitrov.
World number one Djokovic, struggling with an abdominal injury picked up on Friday, beat Milos Raonic in four sets.
The Serbian eight-time Australian Open champion won 7-6 (7-4) 4-6 6-1 6-4.
"In any other tournament than a Grand Slam I would have retired from the event, but because it's a Grand Slam I wanted to give my best," Djokovic, 33, said.
"I didn't know if I was going to play or not.