 At the Olympic Games , Federer and Stan Wawrinka won the gold medal in doubles , after beating the Bryan brothers American team in the semifinals and the Swedish duo of Simon <unk> and Thomas <unk> in the final However , Federer could only reach the quarterfinals in the singles draw , knocked out by then world No. 8 James Blake . He ended the year as world No. 2 . 
