AbbVie said it would take a $3.5 billion dollar impairment charge related to the failure of a drug it acquired in its purchase of Cerevel Therapeutics.