The first thing to clear up is that Intel and AMD are different manufacturers; they have different priorities and different manufacturing processes. As a result, certain tasks (and benchmark figures) will favour one over the other. Making a direct comparison is also difficult and somewhat inaccurate right from the off.
Processor performance doesn't just come down to the clock speed and cores, you also need to consider how the chip is designed and manufacturered. Simply put, Intel focus their attention on per-core performance whilst AMD focus on multi-threaded performance. In gaming terms, multi-threaded performance hasn't really taken off yet (with a few exceptions), so per-core performance comes into play. This is why an i5 will...