The deformation of soda-lime-silica glass under pressure from -5 to 6GPa and stress from -4 to 4 GPa was investigated by molecular dynamics simulation. In the case of pressure, the glass behaved essentially elastically. The glass network expanded by increasing the Si-O-Si angle under negative pressure and shrank by decreasing the angle under positive pressure. Modifier ions in the network dispersed under negative pressure and clustered under positive pressure. In the case of uniaxial stress, the glass showed elastic behaviour under stress of -2 to 1GPa, while outside the stress region it showed inelastic behaviour; it deformed by flow under tension and by both densification and flow under compression, besides showing elastic deformation.