Qualcomm's Oryon 3 Reaches the Top

Hacker News by 23 min read 10x views
Qualcomm's Oryon 3 Reaches the Top

Share Post

Qualcomm’s laptop attempt had humble beginnings. Their first Arm-based laptops used division phone SoCs, and suffered from noticeably mediocre performance equal against lesser end Intel chips. But breaking into the PC market was going to be a marathon fairly than a sprint, and Qualcomm has been persistent. Qualcomm created higher achievement Snapdragon variants targeted at laptops, which became increasingly capable alongside all generation. Now, Qualcomm’s Snapdragon X2 Elite Extreme can provision CPU achievement that challenges the finest of its x86-64 competition. To provision that performance, Qualcomm relies on the third generation of their in-house Oryon architecture, which I’ll call Oryon 3 for short.

The Snapdragon X2 Elite deploys Oryon 3 in the two E-Core and P-Core variants, which Qualcomm confusingly calls “performance” and “prime” cores, respectively. P-Cores are the celebrity of the display in the Snapdragon X2 Elite, anywhere they provision the two maximum sole threaded achievement during additionally providing the bulk of multithreaded throughput. That’s since Qualcomm has P-Cores outnumber their E-Cores by a aspect of two, creating an inverted hybrid scheme compared to Intel’s. Thanks to this strategy, Qualcomm’s Oryon 3 P-Core type shoulders most of the burden whenever it comes to Qualcomm’s PC market ambitions.

Oryon 3 takes on this burden by deploying an architecture alongside a powerful similarity to the archetypal Oryon generation. Qualcomm technically has a second generation Oryon core, but lone used it in phones. Their website additionally suggests it’s a extremely insignificant alter complete the archetypal generation, so I’ll be treating archetypal generation Oryon as Oryon 3’s straightforward predecessor.

Similarity to Oryon 1 is a fine thing, since that gives Oryon 3 fair concerning everything you could ask for from a 2026-era elevated achievement design. From Oryon 1, Oryon 3 inherits an out-of-order opening in excess of 600 micro-ops. Qualcomm has additionally carried onward a two-level cache setup that emphasizes speed complete capacity. Compared to its predecessor, Oryon 3 takes things up a notch by pushing clock speeds to 5 GHz. It’s a huge 16% addition complete the 4.3 GHz speed that Oryon 1 could reach, and is adequate to recommendation a generational achievement acquire on its own. But Qualcomm doesn’t halt there. Oryon 3 increases center width to 9 micro-ops, up from 8 in its predecessor, and makes a figure of improvements throughout the pipeline. Qualcomm brings SVE2 and SME assistance to the new center as well, keeping it up-to-date alongside the evolving aarch64 architecture and beginning up new application optimization opportunities. In its function as a maximum achievement architecture, Oryon 3 faces off against the likes of AMD’s Zen 5 and Intel’s Lion Cove. Arm’s Cortex X925 is another competitor, gratitude to Nvidia’s laptop shove alongside N1X.

Setting apart clock speed, Oryon 3’s header architectural betterment is a center width addition from 8 to 9 ups. At the frontend, Qualcomm supports this by adding another decode slot. The fetch and decode pipeline alternatively looks mostly unchanged. Oryon 1 already had over-provisioned education cache bandwidth at 64 bytes per cycle, which is additional than adequate to nourish a 8-wide or 9-wide aarch64 decoder. Qualcomm has additionally kept a 192 KB, 6-way education cache alongside hardware coherency, as fine as a 256 admission 8-way education TLB. These ample structures should assistance the center use its fastest education shipment way additional frequently than its peers, which have smaller education caches and education TLBs. Impressively, Qualcomm managed to keep these ample structures and add an additional decode slot during keeping a 13 sequence branch mispredict penalty. Clock speed increases frequently arrive alongside compromises akin longer pipelines or smaller structures, but current Qualcomm is capable to have their pie and eat it too.

Testing education bandwidth alongside a stream of NOPs validates the risen decoder width whenever the test iteration fits inside the education cache. Improvements continue at larger education footprints. Oryon 3 is capable to prolong concerning 4 NOPs/cycle from L2, compared to 2 per sequence on Oryon 1. Qualcomm power have changed item alongside education prefetching from L2, or they power have widened datapaths between the education cache and L2. Whatever the case, Oryon 3 now matches the likes of AMD’s Zen 5 and Intel’s Lion Coves in conditions of streaming code from L2, during boasting a much larger L2. AMD and Intel’s cores do have a L3 that provides additional capability than Qualcomm’s L2, but fetching code from that L3 volition logic another autumn in education throughput.

Zen 5 curiously can't hit 8 IPC from one thread alongside 4B NOPs, although it can effortlessly do so alongside larger 8B NOPs. M1 Max outcome is from Dougall

High center throughput places force on the branch predictor, which must prosecute the education stream accelerated adequate to keep the center fed. Oryon 3 improves by expanding its predecessor’s capability to grip taken branches back-to-back. Oryon 1 could lone do “zero-bubble” taken branches inside a 8 KB education footprint. Oryon 3 can do so inside a 2048 branch footprint, despite of branch spacing and code footprint. Perhaps Qualcomm switched to using a completely decoupled 2048 admission BTB. Realistically, that method Oryon 3 have to be capable to do zero-bubble taken branches complete a branch footprint 2x to 4x larger than its predecessor, considering representative branch spacing.

Compared to AMD and Intel’s latest cores, Qualcomm lacks any capability to grip additional than one taken branch per cycle. Arm’s newer cores are additionally capable of doing two taken branches per cycle. I doubtful AMD, Arm, and Intel decided that handling multiple taken branches per sequence became additional profitable formerly their cores got broad enough, so seeing Qualcomm build a extremely broad center without that capability is surprising. Perhaps clock speed factors into that decision, since going from 4.3 to 5 GHz is a huge jump. If so, Qualcomm’s choice would be justified since a clock speed addition of that dimension likely offers a larger achievement addition than going for two taken branches per cycle. Of course, it’s unattainable to cognize if branch predictor paths presented a timing difficulty for Oryon.

For branches alongside energetic taken/not-taken behavior, Oryon 3 has a 2-cycle conditional predictor. Testing alongside branches whose outcomes correlate alongside increasingly lengthy former lengths shows an average 0.5 sequence addition in period per branch complete an always- taken citation run, as lengthy as the test stays inside the conditional predictor’s capabilities. Because I randomly create patterns so that all branch is taken approximately 50% of the time, a 0.5 sequence average penalty suggests Qualcomm lone incurs the 2-cycle timing if the direction predictor disagrees alongside a basis prediction. Direction prediction starts falling distinct alongside additional than 32K patterns in play, which is an betterment complete the about 24K patterns that archetypal generation Oryon could grip in this test.

For comparison, Zen 5’s conditional predictor can grip approximately 48K patterns before falling apart. Unlike Oryon 3, and dissimilar several older Zen generations, Zen 5 does not display an addition in branch latency compared to an always-taken pattern.

Indirect branches can go to multiple targets, and current another flat of difficulty since the branch predictor has to choose between earlier seen targets, and must shop additional than one mark per branch. Oryon 3 has a 2-cycle indirect predictor that can track 2048 indirect targets, matching its predecessor.

A sole branch can jump to 256 targets without incurring a important penalty. This could average at smallest eight of the bits that Oryon 3 uses to indicator into its indirect mark gathering are influenced by branch history.

A 50 admission come back stack handles come back predictions, fair as on Oryon 1. However, evaluation shows that Oryon 3 can use all 50 entries before hitting a achievement degradation. When call degree exceeds come back stack capacity, Oryon 3 degrades gracefully fairly than immediately taking a drastic penalty as Oryon 1 does. Oryon 1’s achievement autumn is dense adequate to propose it’s mispredicting all come back following the come back stack overflows.

Perhaps Qualcomm implemented a new scheme to keep a sole overflow from messing up the complete come back stack, and lets Oryon 3 lone mispredict returns whose addresses get forced out on an overflow. Whatever this optimization is, it gives Oryon 3 come back prediction behavior in-line alongside many another cores, including AMD’s Zen 5 and Intel’s Skymont. In capability terms, AMD’s Zen 5 has a slightly larger 52 admission come back stack.

Qualcomm’s glide for archetypal generation Oryon, mentioning a 50 admission come back stack.

Optimizations at the rename and allocate phase on Qualcomm’s big center are remarkably akin to those on its little center counterpart. Both cores can eliminate up to two register-to-register MOVs per cycle. They can additionally eliminate up to two add-immediate instructions, as lengthy as their immediates sum to 255 or less. It’s slightly different that Qualcomm has kept the identical optimization capability equal although the big center is additional than twice as broad as its small center companion. That results in degraded microbenchmark figures whenever I sequence reliant MOVs or add-immediate instructions without a break, since the wider center can get additional of those instructions into the identical rename group, which method the two-per-cycle limitation causes additional missed optimization opportunities.

One of the finest strategies in CPU architecture is to evade changing item that isn’t broken. Oryon 3’s backend at a elevated flat is basically identical to the one in its predecessor. That makes awareness since if Oryon 1 encountered achievement issues, they apt had small to do alongside its backend strategy. Qualcomm specifies a reorder buffer capability of complete 650 micro-ops for the two Oryon 1 and Oryon 3. Microbenchmarking puts capability at 675 micro-ops for Oryon 3, and 680 on Oryon 1. Register records and recollection ordering queues see small to no movement in size as well.

Qualcomm’s choice to evade important backend changes is justified, since Oryon 3’s backend structures remain competitively sized equal against emerging competition akin AMD’s Zen 6. Execution throughput additionally remains competitive. Oryon 3 does have slightly smaller recollection ordering queues, and weaker vector implementation throughput compared to its x86-64 counterparts. The second comes downward to having a smaller 128-bit vector width, which is particularly a disadvantage against Zen 5. However, that should lone power a small smaller group of applications.

Even although Oryon 3’s backend is akin to its predecessor, there’s motionless plentifulness of alter under the hood. Predication is a chief characteristic in SVE2 and SME, so Oryon 3 gets a new 120 admission predicate enroll file. The predicate registers themselves lone have to be 16 bits broad since of Oryon 3’s 128-bit vector length. But during the predicate enroll document doesn’t need a lot of storage, it does need to be hooked up to all important implementation component block. Predicate generation can happen from the two the scalar and vector side. All four vector pipes and four load/store pipes assistance predication, definition a lot of says from the predicate enroll file.

Visualizing several of the material the predicate enroll document have to be hooked up to

New SVE2 and SME instructions additionally necessitate changes to backend logic. SVE’s vector dimension agnostic scheme rides heavily on predicate generation instructions akin those of the WHILE* assortment (like WHILELO). Oryon 3 breaks WHILE* instructions into two micro-ops, which execute through the entire figure pipes to provision a throughput of one WHILE* education per cycle. Predicate generation instructions that don’t necessitate a GPR input, akin PTRUE and CMPEQ, execute through two FP/vector pipes. Besides predication focused changes, SVE2 adds new math instructions akin CDOT, definition additional implementation component functionality rearward the vector/FP ports.

Like Oryon 1, Oryon 3 has a four-pipe load/store unit. Memory requirements are handled by a sturdy shop forwarding mechanism, which can do accelerated forwarding for all cases anywhere a burden overlaps a previous store. Oryon 3 is capable to do thai equal whenever the burden isn’t contained inside the older store, definition the load/store component is capable to merge data from the two an in-flight shop and data fetched from the L1 data cache. A reliant store+load brace has a latency of 6 cycles on the entire figure side, or 8 cycles on the vector/FP side. While Oryon 3 can’t do zero-latency shop forwarding the way AMD’s Zen 5 and Intel’s Lion Cove can, the capability to evade the 14 or 19 sequence penalty those cores obtain in partial overlap cases is fairly nice. Arm’s Cortex X925 has the weakest shop forwarding capabilities of the bunch, alongside no zero-cycle capability and a 12-13 sequence partial overlap penalty.

32-bit loads reliant on 64-bit stores on the scalar entire figure side. I’m applying Henry Wong’s methodology, although of way alongside aarch64 gathering and not x86-64

For autonomous accesses, Oryon 3 prefers 16B alignment for stores. Stores that cross a 16B border obtain a minor penalty, although curiously there’s no penalty for crossing a 64B cacheline boundary. Perhaps Oryon 3 has a particular optimization for speeding up line-crossing stores. The identical characteristics use on the vector side.

And for 128-bit stores on the vector/FP flank providing data to reliant 64-bit loads

SVE introduces dispersed and collect functionality to the load/store unit, forcing it to grip perchance non-contiguous accesses from a sole instruction. Testing alongside LD1W gathers (32-bit elements) achieves a core-wide throughput of 1-2 elements per cycle. Gathers hence have lesser throughput not fair compared to adjacent loads, but additionally equal scalar loads. However, Oryon 3 has an optimization that allows repeated collect loads to the identical location to execute at 4/cycle. Gathers hence appear capable of using all four LSU pipes, and don’t go downward a smaller subset of specialized pipes. However, the broad case seems to depend on a complex stream that involves multiple micro-ops, resulting in lesser throughput.

Dependent gathers have 14 sequence latency, which is satisfactory for a non-contiguous burden operation. Zen 5 handles vaguely equal AVX2 gathers alongside 19 sequence latency.

The load/store component additionally has to translate program-visible virtual addresses to bodily addresses that equivalent to DRAM locations (or perchance MMIO). Qualcomm sized up the L1 DTLB from a 224 admission 7-way construction on Oryon 1, to a 256 admission 8-way one on Oryon 3. Perhaps Qualcomm continually intended for the L1 DTLB to be 256 entries and 8-way set associative akin the instruction-side L1 TLB, but couldn’t fit the final way into Oryon 1. A 256 admission L1 DTLB covers 1 MB of location area using 4 KB pages, which is a lot compared to the smaller L1 DTLBs on another designs. An 8K admission L2 TLB handles larger recollection footprints, and serves the two education and data accesses. The L2 TLB’s capability is additionally notable compared to the competition.

Comparing alongside Zen 5 can be complex since AMD can opportunistically use a sole TLB admission to shield up to four successive 4 KB pages, provided the translations have the identical attributes and guide to adjacent bodily pages. Zen 5 can shield additional location area alongside its TLBs notwithstanding a lesser admission figure if it can create maximum use of that leaf coalescing capability, although I don’t have data on how productive that is in practice.

Testing alongside achievement counters validates Qualcomm’s ample TLB sizes. The core’s PMU indicates a increase in L1D TLB misses following 1 MB, whenever evaluation accesses alongside a 4 KB stride. L2 TLB misses increase following 32 MB, although they lone sharply addition following 64 MB.

Qualcomm specifies 2-cycle latency for L2 TLB accesses, which would be amazing for a 8K admission L2 TLB. However, comparing L2 latency alongside 4 KB and 2 MB pages suggests that a L2 TLB hit expenses at smallest an additional 6-7 cycles of latency.

Qualcomm’s Snapdragon X Elite used a two-level caching scheme that emphasizes speed complete the capability to measure final flat cache capability and the figure of cores served by all final flat cache instance. For the Snapdragon X2 Elite Qualcomm upgraded the cache subsystem by expanding L2 capability from 12 to 16 MB for the P-Core clusters. This cache capability addition boosts the amount of cache a sole center can allocate into. It additionally helps document for all collection having six cores alternatively of four, although cache per center motionless drops slightly from 3 MB on Oryon 1 to 2.66 MB in Oryon 3.

16 MB of CPU-side final flat cache isn’t ample by 2026 standards. AMD’s norm Zen 5 configurations use 32 MB of L3 cache, during Intel’s Arrow Lake has 36 MB of L3. However, Qualcomm’s caching capability is fine next to the 16 MB of L3 that AMD puts in their mainstream Strix Point mobile chip’s achievement cluster, and Qualcomm makes their L2 accelerated for the capability it provides. With 20-23 sequence latency depending on which center is making the access, Qualcomm’s L2 can come back data faster than the 46 sequence latency that AMD’s optimization guide specifies for Zen 5’s L3. AMD’s 46 sequence fig seems to use to configurations alongside 32 MB of L3, akin on the Ryzen 9 9900X. A Zen 5 type alongside 96 MB of L3 incurs multiple additional cycles of latency, showing how a triple flat cache subsystem can allow final flat cache capability scaling since the core-private L2 cache reduces sensitivity to L3 latency. Intel’s Lion Cove is Oryon 3’s contrary alongside regard to caching strategy, alongside four cache levels to allow capacity/speed tradeoffs at L2 and L3.

20+ cycles of L2 latency is motionless elevated compared to 14 cycles on AMD’s Zen 5, so Oryon 3 uses a ample 96 KB 6-way L1D. Unusually for a elevated frequence design, Oryon 3 achieves 3 sequence L1D latency. It’s an notable achievement, since equal Arm’s lesser clocked Cortex X925 has 4 sequence latency to a smaller 64 KB L1D.

Oryon 3 lone shows a minor latency addition as a pointer chasing test spills out of the L1D whenever using a 64 byte stride. Using a shorter stride increases the dimension of the pointer chasing chain, and additional plainly shows the L1D’s capacity. Qualcomm seems to have a “correlated young female caching” (CMC) manner prefetcher akin many of Arm’s designs, which tracks whenever a cache young female for one location is apt to be followed by a second young female to another address. This category of prefetcher can prosecute pointer chasing chains and defeat latency evaluation if the tested sequence falls inside what the prefetcher can remember. If Qualcomm is doing this, and they do propose it by indicating they have “pointer” prefetching algorithms, afterward the data complete points to it being a L1D prefetcher.

Arm in difference places their CMC prefetcher at L2, which lets it be additional assured since a larger L2 cache is small delicate to having several capability wasted by useless prefetches. For example, the CMC prefetcher on Arm’s Cortex A78 is capable to decrease latency throughout the Mediatek Genio 1200’s 2 MB L3 whenever evaluation alongside a 64B stride compared to a 8B stride (at smallest 32K pointer destination predictions compared to 8K on Oryon 3).

Oryon 3’s L1D can assistance four accesses per cycle, all four of which can be loads, and two of which can be stores. Compared to Zen 5 and Lion Cove, Oryon 3’s maximum burden bandwidth is held rear by its 128-bit vector width. However, Oryon 3 should remain extremely rivalrous whenever operating code that can’t be fine vectorized, or vectorized code that doesn’t measure to longer vector lengths.

L2 bandwidth is fair under 32B/cycle for reads, in conditions of how much data the center can enter registers. Qualcomm states that all center has a 64B/cycle datapath to L2. This can be validated by lone accessing the archetypal 128 bits of all 64B line, and treating that as loading the complete row since cache fills happen at 64B row granularity. Doing so gives concerning 48B/cycle of inferred L2 to L1D bandwidth. A read-modify-write form that creates equal traffic in the two the L1D inhabit and writeback directions additionally reaches 48B/cycle.

I have a separate part for additional on the Snapdragon X2 Elite’s scheme flat recollection subsystem characteristics. Overall though, there’s a lot to akin concerning Oryon 3’s recollection subsystem. As lengthy as you don’t advantage from having additional than 16 MB of final flat cache in all center cluster, Qualcomm’s cache setup have to be additional than a equivalent for the triple flat setups used by Intel, AMD, and another Arm cores.

Because operating Linux on the Snapdragon X2 Elite Extreme is complex at the instant and difficult considering another period constraints (Chips and Cheese isn’t a job following all, and I have a genuine job to pay notice to), I tested SPEC CPU2026 using Windows Subsystem on Linux. I’m pinning the vmmemWSL procedure to a P-Core for predictability. Results display the Oryon 3 P-Core delivering desktop-level SPEC CPU2026 entire figure scores, equal although it’s implemented in a laptop. That’s an notable showing since desktop chips bask advantages akin higher cache capacity, lesser DRAM latency, and higher clock speeds. A difference against a representative AMD or Intel mobile part would nearly certainly hand Oryon 3 a triumph fairly than a tie.

SPEC CPU2026 workloads compiled alongside GCC 14.2.0

Qualcomm does mark slightly rearward Zen 5 in SPEC’s floating item suite, but manages to remain onward of Intel. Individual subtests display humble differences between the cores, although there are outliers. 706.stockfish for example hands Zen 5 a ample win, since GCC 14.2.0 was capable to vectorize a ample part of it to use AVX-512.

However, AVX-512 does not provision AMD a huge guide in SPEC’s floating item workloads. 749.fotonik3d and 765.roms execute a lot of AVX-512 instructions on Zen 5, but Oryon 3 is capable to compensate alongside higher IPC. Both workloads lean to be additional recollection border as well, reducing the advantage of AMD’s higher vector throughput.

Further achievement inspection is difficult without additional activity since WSL lone passes through a subset of achievement monitoring events. However, there’s adequate data to display that Qualcomm’s branch prediction accuracy is up there alongside the best. Overall branch prediction accuracy is really a bit improved than that of AMD’s Zen 5. Oryon 3 equal scores a win in 723.llvm, which is SPEC CPU2026’s toughest branch prediction workload.

Performance counters additionally display the deserve of Oryon 3’s ample L1D. L1D cache sizes have remained stubbornly stagnant exterior of Qualcomm (and Apple) cores. In 1998, AMD rolled out their Athlon center alongside a 64 KB L1 data cache. No current cores from AMD, Intel, or Arm have a larger L1D, and I don’t put Lion Cove’s 192 KB “level 1 of the flat 1 cache” in the identical category as a accepted L1D since of its higher latency.

Each vendor’s achievement monitoring component accounts for L1D misses differently, but the differences are ample adequate to display that Qualcomm can assistance a lot additional requests out of its fastest cache flat than Intel or AMD.

Third generation Oryon is a top-notch center alongside everything needed to win on a flat playing field. Qualcomm has stated their center a ample out-of-order engine, is capable to run it at 5 GHz, and feeds it alongside a capable branch predictor and a low latency cache setup. Oryon 3 joins Arm’s Cortex X925 in delivering desktop-level performance, and the two Arm cores have to be seen as grave pacing challenges for Intel and AMD.

Oryon 3 isn’t ideal of course. A wider SVE vector width could enhance its circumstance related to Zen 5 in vectorized workloads. Going to six vector/floating item pipes akin in Arm’s Cortex X925 is an choice too, although it may be difficult to drag off without regressing clock speeds. Qualcomm’s branch predictor could choice up several of the two taken branches per sequence goodness that’s now average on AMD, Arm, and Intel cores. Cache capability could be an matter too, since a two-level cache setup forces a tightly coupled L2 scheme to encounter latency requirements. That could create cache capability difficult to scale.

All of those are areas for improvement, fairly than important weaknesses. SPEC scores for example display that a center doesn’t need to prolong two taken branches per sequence to be up there alongside the best, at smallest not in this generation. As for cache capacity, I can’t think of a person circumstance anywhere that makes a huge effect apart from for gaming. Games of way battle alongside a binary translation issue, which is exterior Qualcomm’s control.

Binary translation does bring up a issue for Oryon 3 though, since having a fine center is lone one part of the puzzle. The application ecosystem that Qualcomm has to activity alongside is a persistent sticking point, since during Windows on Arm has improved complete the years, it’s motionless not as polished as a native x86-64 setup. Qualcomm has additionally struggled alongside Linux support. It’s a missed opportunity, since Linux is increasingly being seen as a powerful substitute to Windows because of Windows 11’s misplaced priorities. Linux applications are additionally additional apt to have aarch64 versions, minimising the importance of binary translation. Beyond the application ecosystem, Qualcomm’s laptop shove faces headwinds since elevated DRAM expenses shove consumers to defer purchasing new devices. Laptops alongside soldered recollection are particularly vulnerable, since there’s no chance of purchasing a equipment alongside small recollection alongside hopes of upgrading it afterward formerly prices drop. These challenges must be frustrating for hardware engineers who worked on Oryon 3, since they’ve built their most rivalrous CPU architecture yet, but need additional puzzle pieces to autumn into place.

Thanks goes out to Asus for sampling the A16 laptop

I anticipation Qualcomm continues to run the marathon of breaking into the PC market, and the puzzle pieces row up shortly to allow success. Oryon 3 is an outstanding core. I’ve used the Zenbook A16 laptop sampled by Asus on a latest informal trip, and used it as a regular controller for a few weeks. The laptop is subjectively as accelerated as my desktop rear at home, and shows fair how far Qualcomm has gone. I desire to see the group who worked on it rewarded for what they achieved. I additionally anticipation to see the Oryon row develop alongside forthcoming generations, and keep pushing the foremost border of sole threaded performance.

Other Article Hacker News
↑
Close Right Ads
Close Left Ads