Team USA to face Spain in men's basketball quarterfinals at Tokyo Olympics

Windhorst: KD really came to play for first time in Olympics (0:50)

Brian Windhorst breaks down Kevin Durant's commanding performance vs. the Czech Republic and looks ahead to Team USA's next game. (0:50)

SAITAMA, Japan -- The U.S. and Spain played for Olympic gold in 2008 and 2012, then faced each other in the semifinals in 2016.

And at the Tokyo Games, the top teams in the FIBA world rankings will meet again -- just earlier than has been the norm.

The three-time reigning Olympic champion Americans will play reigning World Cup champion Spain in the quarterfinals of the men's tournament at the Tokyo Games on Tuesday, a matchup of teams that finished second in their respective groups at the Olympics.

Spain fell outside of the seeded pool and knew it was subject to a potential matchup with the U.S. by losing the group-play finale to Slovenia on Sunday. And about an hour later, when FIBA held the Olympic draw, the matchup was set.

"If you're going to get that gold medal, you're going to beat everybody," Spain center Marc Gasol said. "At that point, it doesn't matter, the order."

The U.S. is 16-2 against Spain in Olympic or World Cup competition -- yet recent matchups haven't exactly been runaways. The Americans won 82-76 in the 2016 Olympic semifinals, 107-100 in the 2012 gold-medal game at London, and 118-107 in the gold-medal matchup at Beijing in 2008.

"This Olympics is just going to get better as far as basketball is concerned, because the teams are all pretty passionate and very talented and have a lot of individual players that people will enjoy on TV," Team USA coach Gregg Popovich said.

The other quarterfinals: Group A winner France (3-0) will face Italy (2-1, second place in Group B), Group B winner Australia (3-0) plays Argentina (1-2, third place in Group C), and Group C winner Slovenia (3-0) drew a matchup with Germany (1-2, second place in Group B).

FIBA later announced that Slovenia-Germany is the first game Tuesday (10 a.m. Tokyo, 9 p.m. Monday in Eastern time), followed by the U.S.-Spain game (1:40 p.m. Tokyo, 12:40 a.m. ET), Italy-France (5:20 p.m. Tokyo, 4:20 a.m. ET) and Australia-Argentina (9 p.m. Tokyo, 8 a.m. ET).

The Italy-France winner will play the Slovenia-Germany winner in one semifinal, and the U.S.-Spain winner plays the Australia-Argentina winner in the other. The quarterfinals are win-or-go-home; a victory means teams are assured of two more games -- the semifinals followed by a gold- or bronze-medal contest -- before leaving Tokyo.

"Everybody knows that there are no easy opponents, especially USA, Australia, France, those kind of teams," Slovenia guard Zoran Dragic said. "That's why everybody wanted to be first in their group."

The U.S., which lost to France in the Olympic opener, got into the seeded pot of the draw by finishing as the top second-place team. That meant it couldn't face any of the group winners in the quarterfinals, but also had to play another second-place finisher -- in this case, either Italy or Spain.

Once Italy was drawn to play France, the matchup was clear: The U.S. and Spain would meet again.

And in terms of the world rankings, the brackets for the Olympic quarterfinals are unusual: No. 1 plays No. 2 in the USA-Spain contest, and No. 3 Australia plays No. 4 Argentina. The other matchups, by world ranking, are No. 7 France against No. 10 Italy and No. 16 Slovenia against No. 17 Germany.

France and Italy have gone 14-14 against one another in FIBA and Olympic play. Slovenia is 4-3 against Germany and Australia and Argentina have split six previous meetings.

In Sunday's game, Luka Doncic just missed the first triple-double in the Olympics in nine years as the Slovenians edged Spain 95-87 to give them the top seed from their group.

"I think we're ready for everything,'' said Doncic, who has a 16-0 record in international competiton for Slovenia. "It's the quarterfinals. If you lose you home and we're going to come out 100 percent.''

Doncic had foul trouble early and shooting struggles all night but finished with 12 points, 14 rebounds and nine assists, one shy of the first triple-double since LeBron James had one for the U.S. in 2012.

Ricky Rubio scored 18 points for Spain, but missed a 3-pointer that would have tied it at 90 before Slovenia finished it out.