PEORIA, Ariz. -- Matt Kemp had three hits, including his first home run of Cactus League play, and Justin Upton and Will Middlebrooks each added home runs as the Padres topped the Giants, 10-5, at the Peoria Sports Complex on Tuesday.
Kemp hit a three-run home run as part of a four-run third inning. After a pitching change, Upton added his second home run of spring.
Middlebrooks hit his second home run in as many days, a solo shot in the second inning, as part of his three-hit day. Upton added a double and knocked in two runs.
The Giants got a home run in the first inning from Joe Panik, his first hit of the spring. That came off Padres starting pitcher Ian Kennedy, who allowed three runs on five hits in 1 2/3 innings with no walks and two strikeouts.
San Francisco starting pitcher Yusmeiro Petit allowed four runs on four hits with three walks in his two-plus innings.
Petit was more annoyed by his unusually subpar control than the long balls he allowed to Middlebrooks and Kemp. Petit showed none of the form that helped him retire a Major League-record 46 consecutive batters and face 70 batters in a row without going to a three-ball count at different junctures last season.
"I was just off," Petit said. "I tried to throw the ball on the corner. I hated that game today. Too many walks."
Justin Maxwell, who is attempting to make the team as a reserve outfielder, had a two-run single in the second inning, his first hit of spring. Casey McGehee added two hits.
Robbie Erlin, in competition for the No. 5 starter job, tossed two scoreless innings in relief for the Padres (4-3). Carlos Quentin slugged his first homer of the spring, a two-run shot in the sixth off Jean Machi.
Giants Up Next: Right-hander Tim Hudson, recovered from right ankle surgery in January, will make his first Cactus League start Wednesday vs. the Brewers after being forced to train slowly due to his injury. Also, Brandon Crawford, who has served as designated hitter in three games but hasn't yet played defensively, has overcome a sore shoulder and will get his initial start at shortstop.
Corey Brock is a reporter for MLB.com. Keep track of @FollowThePadres on Twitter. This story was not subject to the approval of Major League Baseball or its clubs.