Any felony in which the defendant personally inflicts great bodily injury on any person, other than an accomplice, or any felony in which the defendant personally uses a firearm. Attempted murder. Assault with intent to commit rape or robbery. Assault with a deadly weapon or instrument on a peace officer.