The i5 easily. Not really a fair comparison comparing a $80 CPU to a $180 CPU.
the athlon x4 860k is the best gaming cpu amd offers at the moment, because it uses steamroller and it has 20-25% better integer IPC/performance per clock, but the same FPU compared to piledriver/vishera. Also it has 50% more L1 cache and twice as fast L1 and L2 cache compared to piledriver/vishera.