After Swift Comes Cyclone Oscar

I was fortunate enough to receive a tip last time that pointed me at some LLVM documentation calling out Apple’s Swift core by name. Scrubbing through those same docs, it seems like my leak has been plugged. Fortunately I came across a unique string looking at the iPhone 5s while it booted:

I can’t find any other references to Oscar online, in LLVM documentation or anywhere else of value. I also didn’t see Oscar references on prior iPhones, only on the 5s. I’d heard that this new core wasn’t called Swift, referencing just how different it was. Obviously Apple isn’t going to tell me what it’s called, so I’m going with Oscar unless someone tells me otherwise.

Oscar is a CPU core inside M7, Cyclone is the name of the Swift replacement.

Cyclone likely resembles a beefier Swift core (or at least Swift inspired) than a new design from the ground up. That means we’re likely talking about a 3-wide front end, and somewhere in the 5 - 7 range of execution ports. The design is likely also capable of out-of-order execution, given the performance levels we’ve been seeing.

Cyclone is a 64-bit ARMv8 core and not some Apple designed ISA. Cyclone manages to not only beat all other smartphone makers to ARMv8 but also key ARM server partners. I’ll talk about the whole 64-bit aspect of this next, but needless to say, this is a big deal.

The move to ARMv8 comes with some of its own performance enhancements. More registers, a cleaner ISA, improved SIMD extensions/performance as well as cryptographic acceleration are all on the menu for the new core.

Pipeline depth likely remains similar (maybe slightly longer) as frequencies haven’t gone up at all (1.3GHz). The A7 doesn’t feature support for any thermal driven CPU (or GPU) frequency boost.

The most visible change to Apple’s first ARMv8 core is a doubling of the L1 cache size: from 32KB/32KB (instruction/data) to 64KB/64KB. Along with this larger L1 cache comes an increase in access latency (from 2 clocks to 3 clocks from what I can tell), but the increase in hit rate likely makes up for the added latency. Such large L1 caches are quite common with AMD architectures, but unheard of in ultra mobile cores. A larger L1 cache will do a good job keeping the machine fed, implying a larger/more capable core.

The L2 cache remains unchanged in size at 1MB shared between both CPU cores. L2 access latency is improved tremendously with the new architecture. In some cases I measured L2 latency 1/2 that of what I saw with Swift.

The A7’s memory controller sees big improvements as well. I measured 20% lower main memory latency on the A7 compared to the A6. Branch prediction and memory prefetchers are both significantly better on the A7.

I noticed large increases in peak memory bandwidth on top of all of this. I used a combination of custom tools as well as publicly available benchmarks to confirm all of this. A quick look at Geekbench 3 (prior to the ARMv8 patch) gives a conservative estimate of memory bandwidth improvements:

Geekbench 3.0.0 Memory Bandwidth Comparison (1 thread)
  Stream Copy Stream Scale Stream Add Stream Triad
Apple A7 1.3GHz 5.24 GB/s 5.21 GB/s 5.74 GB/s 5.71 GB/s
Apple A6 1.3GHz 4.93 GB/s 3.77 GB/s 3.63 GB/s 3.62 GB/s
A7 Advantage 6% 38% 58% 57%

We see anywhere from a 6% improvement in memory bandwidth to nearly 60% running the same Stream code. I’m not entirely sure how Geekbench implemented Stream and whether or not we’re actually testing other execution paths in addition to (or instead of) memory bandwidth. One custom piece of code I used to measure memory bandwidth showed nearly a 2x increase in peak bandwidth. That may be overstating things a bit, but needless to say this new architecture has a vastly improved cache and memory interface.

Looking at low level Geekbench 3 results (again, prior to the ARMv8 patch), we get a good feel for just how much the CPU cores have improved.

Geekbench 3.0.0 Compute Performance
  Integer (ST) Integer (MT) FP (ST) FP (MT)
Apple A7 1.3GHz 1065 2095 983 1955
Apple A6 1.3GHz 750 1472 588 1165
A7 Advantage 42% 42% 67% 67%

Integer performance is up 44% on average, while floating point performance is up by 67%. Again this is without 64-bit or any other enhancements that go along with ARMv8. Memory bandwidth improves by 35% across all Geekbench tests. I confirmed with Apple that the A7 has a 64-bit wide memory interface, and we're likely talking about LPDDR3 memory this time around so there's probably some frequency uplift there as well.

The result is something Apple refers to as desktop-class CPU performance. I’ll get to evaluating those claims in a moment, but first, let’s talk about the other big part of the A7 story: the move to a 64-bit ISA.

A7 SoC Explained The Move to 64-bit
Comments Locked

464 Comments

View All Comments

  • darkich - Wednesday, September 18, 2013 - link

    Anand really should be ashamed of himself.. doing the same old Java Script(software dependant to a major extent) trick over and over again, and clearly as a day, refusing to include a hardware benchmark such as GB.
    That way, he can keep on kissing Intel's and Apple's behind.
    (Btw I actually love what Apple is doing with its custom ARM chips, and I am really looking forward to the A7X and iPad 5)

    Despicable dishonesty
  • Dug - Wednesday, September 18, 2013 - link

    Funny, you want different information than what's provided and some how you come to the conclusion that it's biased. Yet throughout your post you have nothing to back it up, and all you have added is your own personal comments against Apple. Pot calling the kettle black? And from what I can tell from you blabbering on about 64bit code, you have no educated information on iOS 7 64bit or the 64bit proc. Correct me if I am wrong and show me an app that you have developed for it. In the end it comes down to how well the product will perform, and Anand's review has shown that. And what's this comment 'Native benchmarks don't compare the new apple chip to "old 32 bit v7 chips" - it only compares the new apple chip to the old ones. What 32bit v7 chip are you talking about? And why wouldn't he compare the new chip to the old ones. And what difference does it make?
  • Patranus - Wednesday, September 18, 2013 - link

    What difference does it make if the iOS and Android use different JS engines?
  • StevenRN - Saturday, September 21, 2013 - link

    By "unbiased" you mean a review from a site like AndroidCentral or similar site?
  • barefeats - Wednesday, September 18, 2013 - link

    Excellent review. I'm sharing it with every iPhone freak I know.
  • jimbob07734 - Thursday, September 19, 2013 - link

    I'm sure not gonna be that guy that buys the first Samsung 64 bit chip they slap together to match the A7. I doubt they have even started working on it until last week.
  • NerdT - Monday, September 23, 2013 - link

    All of these graphics performance comparisions (except the off-screen ones) are incorrect and absolutly miss-leading. The reason is that most of the other phones have a 1080p display which has 2.8x higher resolution that iPhone 5s! That being said, all on-screen scores will get bumped up by about the same scale for iPhone because they are calculated based on FPS only, and the frames are render the the device resolution. This is a wrong benchmarking because you are not having an apple to apple comparision. I would have expected a much higher quality report from Anandtech! Please go ahead and correct your report and prevent miss-leading information.
  • akdj - Friday, September 27, 2013 - link

    You're simply wrong. We'll leave it at that. This is objective data. You can't argue that. If you're unhappy with the results, build your own benchmarking app. Question---why would it NOT be relevant (on screen tests) when you're using said product? Is there a chance down the road you're going to upgrade your current 4" display to 4.3"? 5"? 6"---720p? 1080p? Easy answer=No. You can't upgrade your display. The onscreen tests are neither 'wrong', 'incorrect' or 'absolutely misleading'. They are numbers derived from current testing suites and software. You can't compare bananas and beans. They're different. So Android has increased the resolution of their displays in some cases??? Who cares! The numbers are STILL accurate. Again, each unique device is of it's own making. If Anand went forward with his site and your reasoning we wouldn't have any type of way to benchmark or gauge performance.
  • jljaynes - Tuesday, September 17, 2013 - link

    Beast of a chip
  • tredstone - Wednesday, September 18, 2013 - link

    i agree. and to think android fans have been criticizing the a7 and the 5s in general. this chip is amazing . wow, what a phone it is

Log in

Don't have an account? Sign up now