Apple's Swift: Visualized

Section by Anand Shimpi

Based on my findings on the previous pages, as well as some additional off-the-record data, this is what I believe Swift looks like at a high level:


Note that most of those blocks are just place holders as I don't know how they've changed from Cortex A9 to Swift, but the general design of the machine is likely what you see above. Swift moves from a 2-wide to a 3-wide machine at the front end. It remains a relatively small out-of-order core, but increases the number of execution ports from 3 in Cortex A9 to 5. Note the dedicated load/store port, which would help explain the tremendous gains in high bandwidth FP performance.

I asked Qualcomm for some additional details on Krait unfortunately they are being quite tight lipped about their architecture. Krait is somewhat similar to Swift in that it has a 3-wide front end, however it only has 4 ports to its 7 execution units. Qualcomm wouldn't give me specifics on what those 7 units were or how they were shared by those 4 ports. It's a shame that Intel will tell me just how big Haswell's integer and FP register files are 9 months before launch, but its competitors in the mobile SoC space are worried about sharing high level details of architectures that have been shipping for half a year.

Apple's Swift core is a wider machine than the Cortex A9, and seemingly on-par with Qualcomm's Krait. How does ARM's Cortex A15 compare? While the front end remans 3-wide, ARM claims a doubling of fetch bandwidth compared to Cortex A9. The A15 is also able to execute more types of instructions out of order, although admittedly we don't know Swift's capabilities in this regard. There's also a loop cache at the front end, something that both AMD and Intel have in their modern architectures (again, it's unclear whether or not Swift features something similar). ARM moves to three dedicated issue pools feeding 8 independent pipelines on the execution side. There are dedicated load and store pipelines, two integer ALU pipes, two FP/NEON pipes, one pipe for branches and one for all multiplies/divides. The Cortex A15 is simply a beast, and it should be more power hungry as a result. It remains to be seen how the first Cortex A15 based smartphone SoCs will compare to Swift/Krait in terms of power. ARM's big.LITTLE configuration was clearly designed to help mitigate the issues that the Cortex A15 architecture could pose from a power consumption standpoint. I suspect we haven't seen the end of NVIDIA's companion core either.

At a high level, it would appear that ARM's Cortex A15 is still a bigger machine than Swift. Swift instead feels like Apple's answer to Krait. The release cadence Apple is on right now almost guarantees that it will be a CPU generation behind in the first half of next year if everyone moves to Cortex A15 based designs.

Custom Code to Understand a Custom Core Apple's Swift: Pipeline Depth & Memory Latency
Comments Locked

276 Comments

View All Comments

  • dagamer34 - Tuesday, October 16, 2012 - link

    Yeah, when are we going to see PowerVR 6?
  • ltcommanderdata - Tuesday, October 16, 2012 - link

    I think it's expected mid-2013, so it would have been a big stretch to have made it for the iPhone 5. Apple didn't really have that much choice with sticking to the SGX543MP since happened to be off cadence. Even making it for the iPad 4 might be iffy.
  • peat - Tuesday, October 16, 2012 - link

    I was pushed to see the 'considerable' difference between the thickness of the iP4 and iP5 in the pic. Looking at the dimensions in the table it's thinner by a truly staggering 11%.

    Q. Since when has an 11% change in anything equated to "considerable". But yup, I still want one.
  • darwinosx - Tuesday, October 16, 2012 - link

    To anyone who knows anything about smartphone design and what goes into the device.
  • Alucard291 - Tuesday, October 16, 2012 - link

    No offence but to a consumer that's still 11%. I.e. not even 1/5 reduction.

    What I'm trying to get at here is that its negligible to most users and touting it as an improvement is only marketing blurb.
  • Sufo - Tuesday, October 16, 2012 - link

    IRL i've noticed the reduction, you'd be surprised how good your hands are at picking up (forgive the pun) on these things. Still, it's not a huge change, admittedly, and it was almost mandatory with the increase in height. Nevertheless once again a nice device to hold.
  • doobydoo - Friday, October 19, 2012 - link

    Exactly.

    If you actually try holding an iPhone 5 you'll immediately notice how obvious it is that it's significantly thinner and lighter.

    And as someone else said - it's 18% thinner, not 11.
  • Kidster3001 - Monday, October 22, 2012 - link

    really dooby?

    From someone who has always said 4" was way to big and 3.5" was perfect? Now you like 4" displays?
  • Aenean144 - Tuesday, October 16, 2012 - link

    Since when does (1 - 7.6/9.3) = 11%?

    My calculator says the iPhone 5 is 18% thinner than the iPhone 4.
  • edsib1 - Tuesday, October 16, 2012 - link

    Your android benchmarks are meaningless if you dont use a) best browser and b) latest drivers. Phones with later version drivers will have higher scores.

    HTC One X (Tegra3) - official RUU 4.04 & Chrome

    Kraken - 21095
    Google V8 - 1578
    Octane V1 - 1684
    Sunspider - 1172
    Browsermark - 130288

    HTC One X (Tegra3) - Eternity Kernel (3.4) & Chrome

    Kraken - 18750
    Google V8 - 1791
    Octane V1 - 1922
    Sunspider - 1084
    Browsermark - 162580

Log in

Don't have an account? Sign up now