These medals made him tie the record for medals at a single Olympics . Alexander Dityatin had held this record since 1980 . In doing so he has twice equaled the record eight medals of any type at a single Olympics achieved by Soviet gymnast Alexander Dityatin at the 1980 Moscow Summer Games .