Qualcomm's New Snapdragon S4: MSM8960 & Krait Architecture Explored

本文深入解析Qualcomm Krait架构,作为Snapdragon S4系列SoC的心脏,Krait通过其更宽的前端和出错执行引擎显著提升性能。文章详细比较了Krait与其他ARM架构在指令集、缓存、配置等方面的特点,并预测其在2012年的性能优势。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Let's recap the current smartphone/tablet SoC landscape. Everything shipping today is built on a 4x-nm process, built either at Global Foundries, Samsung, TSMC or UMC. Next year we'll see a move to 28nm (bringing better performance and power characteristics) but between now and the end of 2012 there will be a myriad of designs available on the market.

The table below encapsulates much of what you can expect over the next 12+ months:

2011/2012 SoC Comparison
SoCProcess NodeCPUGPUMemory BusRelease
Apple A545nm2 x ARM Cortex A9 w/ MPE @ 1GHzPowerVR SGX 543MP22 x 32-bit LPDDR2Now
NVIDIA Tegra 240nm2 x ARM Cortex A9 @ 1GHzGeForce1 x 32-bit LPDDR2Now
NVIDIA Tegra 3/Kal-El40nm4 x ARM Cortex A9 w/ MPE @ ~1.3GHzGeForce++1 x 32-bit LPDDR2Q4 2011
Samsung Exynos 421045nm2 x ARM Cortex A9 w/ MPE @ 1.2GHzARM Mali-400 MP42 x 32-bit LPDDR2Now
Samsung Exynos 421232nm2 x ARM Cortex A9 w/ MPE @ 1.5GHzARM Mali-400 MP42 x 32-bit LPDDR22012
ST-Ericsson NovaThor LP9600 (Nova A9600)28nm2 x ARM Cortex-A15 @ 2.5GHzIMG PowerVR Series 6 (Rogue)Dual Memory2013
ST-Ericsson Novathor L9540 (Nova A9540)32nm2 x ARM Cortex A9 @ 1.85GHzIMG PowerVR Series 52 x 32-bit LPDDR22H 2012
ST-Ericsson NovaThor U9500 (Nova A9500)45nm2 x ARM Cortex A9 @ 1.2GHzARM Mali-400 MP11 x 32-bit LPDDR2Now
ST-Ericsson NovaThor U850045nm2 x ARM Cortex A9 @ 1.0GHzARM Mali-400 MP11 x 32-bit LPDDR2Now
TI OMAP 443045nm2 x ARM Cortex A9 w/ MPE @ 1.2GHzPowerVR SGX 5402 x 32-bit LPDDR2Now
TI OMAP 446045nm2 x ARM Cortex A9 w/ MPE @ 1.5GHzPowerVR SGX 5402 x 32-bit LPDDR2Q4 11 - 1H 12
TI OMAP 447045nm2 x ARM Cortex A9 w/ MPE @ 1.8GHzPowerVR SGX 5442 x 32-bit LPDDR21H 2012
TI OMAP 528nm2 x ARM Cortex A15 @ 2GHzPowerVR SGX 544MPx2 x 32-bit LPDDR22H 2012
Qualcomm MSM8x6045nm2 x Scorpion @ 1.5GHzAdreno 2201 x 32-bit LPDDR2*Now
Qualcomm MSM896028nm2 x Krait @ 1.5GHzAdreno 2252 x 32-bit LPDDR21H 2012

The key is this: other than TI's OMAP 5 in the second half of 2012 and Qualcomm's Krait, no one else has announced plans to release a new microarchitecture in the near term. Furthermore, if we only look at the first half of next year, Qualcomm is the only company that's focused on significantly improving per-core performance through a new architecture. Everyone else is either scaling up in core count (NVIDIA) or clock speeds. As we've seen in the PC industry however, generational performance gaps are hard to overcome - even with more cores or frequency.

Qualcomm has an ARM architecture license enabling it to build its own custom micro architectures that implement the ARM instruction set. This is similar to how AMD has an x86 license but designs its own chips rather than just producing clones of Intel processors. Qualcomm remains the only active player in the smartphone/tablet space that uses its architecture license to put out custom designs. The benefit to a custom design is typically better power and performance characteristics compared to the more easily synthesizable designs you get directly from ARM. The downside is development time and costs go up tremendously.

Scorpion was Qualcomm's first Snapdragon CPU architecture. At a high level, it looked very much like an optimized ARM Cortex A8 design although the two had nothing in common outside of instruction set. Scorpion was a dual-issue, in-order architecture that eventually scaled to dual-core and 1.5GHz variants.

Scorpion was pretty much the CPU architecture of choice in the 2009 - 2010 timeframe. Throughout 2011 however, Qualcomm has been very quiet as dual Cortex A9 designs from NVIDIA, Samsung and TI have surpassed it in terms of performance.

Going into 2012, Qualcomm is set for a return to glory as it will be the first to deliver a brand new microprocessor architecture and the first to ship 28nm SoCs in volume. Qualcomm's next-generation SoCs will also be the first to integrate an LTE modem on-die, which should enable LTE on nearly all high-end devices at much better power levels than current multi-chip 4x-nm solutions. Today we're able to talk a bit about the architecture details and performance expectations of Qualcomm's next-generation SoC due out in the first half of 2012.

Krait Architecture

s4.jpg

The Krait processor is the heart of Qualcomm's second generation Snapdragon and it's the core of all Snapdragon S4 SoCs. Krait takes the aging base of Scorpion and gives it a much needed dose of adrenaline.

Krait's front end is significantly wider. The architecture can fetch and decode three instructions per clock. The decoders are equally capable of decoding any ARMv7-A instructions. The wider front end is a significant improvement over the 2-wide Scorpion core. It alone will be responsible for a tangible increase in IPC.

Architecture Comparison
 ARM11ARM Cortex A8ARM Cortex A9Qualcomm ScorpionQualcomm Krait
Decodesingle-issue2-wide2-wide2-wide3-wide
Pipeline Depth8 stages13 stages8 stages10 stages11 stages
Out of Order ExecutionNNYPartialY
FPUVFP11 (pipelined)VFPv3 (not-pipelined)Optional VFPv3-D16 (pipelined)VFPv3 (pipelined)VFPv3 (pipelined)
NEONN/AY (64-bit wide)Optional MPE (64-bit wide)Y (128-bit wide)Y (128-bit wide)
Process Technology90nm65nm/45nm40nm40nm28nm
Typical Clock Speeds412MHz600MHz/1GHz1.2GHz1GHz1.5GHz

The execution back-end receives a similar expansion. Whereas the original Scorpion core only had three ports to its execution units, Krait increases that to seven. Krait can issue up to four instructions in parallel. The additional execution ports simply help prevent any artificial constraints on ILP. This is another area where Krait will be able to see significant IPC gains.

Krait's fetch and decode stages are obviously in-order, but the back-end is entirely out-of-order. Qualcomm claims that any instruction can be executed out of order, assuming that doing so doesn't create any new hazards. Instructions are retired in order.

krait.jpg

Qualcomm lengthened Krait's integer pipeline slightly from 10 stages in Scorpion to 11 stages in Krait. Load/store operations tack on another two cycles and instructions that go through the Neon/VFP path further lengthen the pipe. ARM's Cortex A15 design by comparison features a 15-stage integer pipeline. Qualcomm's design does contain more custom logic than ARM's stock A15, which has typically given it a clock speed advantage. The A15's deeper pipeline should give it a clock speed advantage as well. Whether the two effectively cancel each other out remains to be seen.

Qualcomm Architecture Comparison
 ScorpionKrait
Pipeline Depth10 stages11 stages
Decode2-wide3-wide
Issue Width3-wide?4-wide
Execution Ports37
L2 Cache (dual-core)512KB1MB
Core Configurations1, 21, 2, 4

Krait has been upgraded to support the new virtualization instructions added in Cortex A15. Also like the A15, Krait enables LPAE for 40-bit memory addressing.

At a high-level Qualcomm has built a 3-wide, out-of-order engine that feels very much like a modern version of Intel's old P6. Whereas designs from the A8 generation looked like modern Pentiums, Krait takes us into the era of the Pentium II.

Note that courtesy of the wider front-end and OoO execution engine, Krait should be a higher performance architecture than Intel's Atom. That's right, you'll be able to get better performance than some of the very first Centrino notebooks in your smartphones come 2012.

Performance Expectations

Performance of ARM cores has always been characterized by DMIPS (Dhrystone Millions of Instructions per Second). An extremely old integer benchmark, Dhrystone was popular in the PC market when I was growing up but was abandoned long ago in favor of more representative benchmarks. You can get a general idea of performance improvements across similar architectures assuming there are no funny compiler tricks at play. The comparison of single-core DMIPS/MHz is below:

ARM DMIPS/MHz
 ARM11ARM Cortex A8ARM Cortex A9Qualcomm ScorpionQualcomm Krait
DMIPS/MHz1.252.02.52.13.3

At 3.3, Krait should be around 30% faster than a Cortex A9 running at the same frequency. At launch Krait will run 25% faster than most A9s on the market today, a gap that will only grow as Qualcomm introduces subsequent versions of the core. It's not unreasonable to expect a 30 - 50% gain in performance over existing smartphone designs. ARM hasn't published DMIPS/MHz numbers for the Cortex A15, although rumors place its performance around 3.5 DMIPS/MHz.

dmips.jpg

Updated VeNum Unit

ARM's NEON instruction set is handled by a dedicated unit in all of its designs. Krait is no different. Qualcomm calls its NEON engine VeNum and has increased its issue capabilities by 50%. Whereas Scorpion could only issue two NEON instructions in parallel, Krait can do three.

Qualcomm's NEON data paths are still 128-bits wide.

 

转自: http://www.anandtech.com/Show/Index/4940?cPage=3&all=False&sort=0&page=1&slug=qualcomm-new-snapdragon-s4-msm8960-krait-architecture

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值