Victor Wembanyama had 40 points, six rebounds, and two blocks and Dylan Harper had 31 points as the San Antonio Spurs beat the Dallas Mavericks 129-122 in an NBA Cup quarterfinals game Friday night.

The Spurs advance to play Saturday night's Portland-Memphis winner in the semifinals on Tuesday on the road.

San Antonio has won five of its past six games.