Shares of the Smithfield rose more than 8 percent as the company said it expected the transaction to boost earnings immediately .