Gold producers and other mining stocks were mixed Tuesday, while the shares of energy and agricultural companies were falling along with the broad market.

Among individual issues, Gold Fields ( GFI) was up 4.2% at $10.94, and IAMGold ( IAG) was rising 3.7% to $7.60.

On the downside, Rio Tinto ( RTP) fell again, this time by 4.4% to $126.90, and BHP Billiton ( BHP) was off 3.5% at $45.89.

Mining-equipment companies Joy Global ( JOYG) and Bucyrus International ( BUCY) gave up ground. Joy dropped 6.7% to $22.40, and Bucyrus was weaker by 3.7% at $16.88.

As for energy stocks, Apache ( APA) was one of the worst decliners, falling 4.9% to $62.70. Halliburton ( HAL) declined 4.7% to $16.20. National Oilwell Varco ( NOV) and Anadarko Petroleum ( APC) also lost more than 4% each.

Most integrated majors such as Exxon Mobil ( XOM) and Chevron ( CVX) were down, but the losses tended to be in the 2% to 3% range.

Agricultural stocks were also sluggish, led by an 11% selloff in oilseeds and corn processor Archer Daniels Midland ( ADM) to $25.54. The move came after Citigroup downgraded the shares to sell. Fertilizer firm Intrepid Potash ( IPI) was falling 6.3% to $19.06, and agribusiness concern Syngenta ( SYT) was losing 5.5% to $36.65.

Exchange-traded funds were generally dropping, as well. The Market Vectors Agribusiness ( MOO) was losing 3.2% to $28.93, and the U.S. Oil ( USO) was surrendering 3.9% to $29.05. The Gold Shares ( GLD) fund, however, was up 1.9% to $86.87.

As for the commodities themselves, gold prices rallied to get back above $880 an ounce in New York, while crude oil was taken down below $50 a barrel. Ag contracts were mixed. Sugar, cotton, cocoa and frozen concentrated orange juice advanced, but corn, wheat and soybeans retreated.

Lean hogs were stronger, and cattle edged lower. The Reuters/Jefferies CRB Index gave back 1.45 points to 223.08.

TheStreet.com Ratings, recently cited for Best Stock Selection from October 2007 through February 2009 , is an independent research provider that combines fundamental and technical analysis to offer investors tremendous value in volatile times. To see how your portfolio can use this research, click here now!