Shares of both companies extended gains in afternoon trading following the report.