NEW YORK — Stocks that moved substantially or traded heavily on Thursday:

Hewlett Packard Enterprise Co., down 71 cents to $21.38

The company will spin off part of its business software unit and combine it with Micro Focus in an $8.8 billion deal.

Intel Corp., down 2 cents to $36.44

The company said it will spin its cybersecurity unit into a new company called McAfee and will get $3.1 billion in cash.

Tractor Supply Co., down $14.15 to $69.38

The retailer for farmers and ranchers said it’s being hurt by cuts in energy production and spending by farming communities.

Pier 1 Imports Inc., down 72 cents to $4.08

The home decor company announced weak results for the second quarter and said its CEO will leave at the end of the year.

Noble Energy Inc., up $1.72 to $37.25

Energy companies rose as oil prices jumped following a report that said U.S. crude stockpile shrank last week.

Apple Inc., down $2.84 to $105.52

Apple led tech companies lower a day after it made modest gains while introducing its newest iPhone and other products.

Tailored Brands Inc., up $2.34 to $16.57

The menswear retailer climbed after it reported solid quarterly results and maintained its forecasts for the year.

Rite Aid Corp., up 46 cents to $8.21

Walgreens, which agreed to buy Rite Aid earlier this year, said it’s making progress toward getting antitrust approval for the deal.