Discussion Qualcomm Snapdragon Thread

Page 78 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

coercitiv

Diamond Member
Jan 24, 2014
6,370
12,746
136
According to Qualcomm, the quad-core cluster and its „infrastructure“ is also capable of supplying up to eight cores without any problems. This is probably a remnant of its server genes aka Phoenix. The same is true for many aspects of the design you can still find.
source
 
Reactions: igor_kavinski

SarahKerrigan

Senior member
Oct 12, 2014
585
1,401
136
I'm not sure any company now gives any detail about branch prediction except some vague terms such as TAGE. I don't think even BTB sizes are known (but I might be wrong on this). This has become so tricky that it looks like black magic with a lots of secret sauce, some covered by patents, some not. Giving too many details, might break some competitive advantage and open the door to patent trolls.

IBM is historically decent about this, at least - there was a whole paper at ISCA about z15's branch prediction structures, for instance, and IBM Systems Journal had an in-depth article about z13 uarch that covered branch prediction as well.

I believe Arm discloses BTB sizes too - though it seems like Arm presentations have been getting a little bit vaguer each year.

EDIT: Repeatedly mangled which papers I was referring to. Clearly, I need to wake up more before posting.
 
Last edited:

Ghostsonplanets

Senior member
Mar 1, 2024
529
926
96
Jul 27, 2020
17,713
11,499
106
IBM is historically decent about this, at least - there was a whole paper at ISCA about z15's branch prediction structures, for instance, and IBM Systems Journal had an in-depth article about z13 uarch that covered branch prediction as well.
There could be another way to improve branch prediction. Store branch prediction information provided by the developer by running a tool from the CPU manufacturer and run through common use cases with their software. Once enough data is collected, it can be "compressed" into a sort of branch prediction "fingerprint" of that particular executable so instead of using a general branch predictor, the CPU can look up the developer populated custom BTB structure instead of trying to use a one-size-fits-all approach. When the developer doesn't populate the custom BTB structure, go with the general BTB. The developer populated BTB can also be much smaller in size.

As to how the developer will tell the OS to use the custom BTB, it will require some OS level change to let the OS know before starting execution (maybe some flag in the EXE header) that the executable to be executed has its own "hints" and load the hints from the "BTB hints" portion of the EXE into the CPU's custom BTB structure which will hopefully yield a higher hit rate.

Sorry if I wasn't able to explain that too well.
 
Reactions: Nothingness

SarahKerrigan

Senior member
Oct 12, 2014
585
1,401
136
There could be another way to improve branch prediction. Store branch prediction information provided by the developer by running a tool from the CPU manufacturer and run through common use cases with their software. Once enough data is collected, it can be "compressed" into a sort of branch prediction "fingerprint" of that particular executable so instead of using a general branch predictor, the CPU can look up the developer populated custom BTB structure instead of trying to use a one-size-fits-all approach. When the developer doesn't populate the custom BTB structure, go with the general BTB. The developer populated BTB can also be much smaller in size.

As to how the developer will tell the OS to use the custom BTB, it will require some OS level change to let the OS know before starting execution (maybe some flag in the EXE header) that the executable to be executed has its own "hints" and load the hints from the "BTB hints" portion of the EXE into the CPU's custom BTB structure which will hopefully yield a higher hit rate.

Sorry if I wasn't able to explain that too well.

"Statically hint at branch directions and targets discovered during PGO..." Oh yeah! I've seen this one!
 

SarahKerrigan

Senior member
Oct 12, 2014
585
1,401
136
Moving on from my nostalgia for the EPIC glory days - branch behavior, like memory access behavior, has a tendency to be dynamic. It is not always or even generally predictable at compile time. This is something that gets brought up periodically in various forms - direction and target hints in the instruction stream, branch target calculation distinct from branch instructions (which is what SHmedia does), etc. Generally, it doesn't work as well as its advocates think it will.
 

Nothingness

Platinum Member
Jul 3, 2013
2,719
1,347
136
Anything that tries to predict the dynamic behavior of a program at compile time is quite risky (pun intended or not). I won't troll with VLIW and Itanium... No, I won't.

That said, Arm recently introduced a new extension (another one...) that adds hinted conditional branches. It is optional from Armv8.7 and mandatory from Armv8.8.

Branch Consistent conditionally to a label at a PC-relative offset, with a hint that this branch will behave very consistently and is very unlikely to change direction.

But that requires knowledge at compile time (gcc/clang builtin __builtin_expect can help the programmer make decisions).
 

soresu

Platinum Member
Dec 19, 2014
2,934
2,156
136
Interesting that Adreno finally has native Vulkan and OpenCL drivers for WoA:



Hopefully they can kibosh the less than impressive OGL -> DX12 translation layer in favor of Zink now which will give them a broad compatibility range for gfx software.
 

Doug S

Platinum Member
Feb 8, 2020
2,470
4,026
136
That’s not point. Multi-day battery life is a good thing.

Why?

I can only assume you feel having "too much" battery life at first is good because when it is degraded after a few years it'll still provide one day of battery life? Because otherwise I see no point to having a battery that still has 60% charge left when you've used it all day.

I wonder if we'd see smaller battery sizes if batteries could be made so that degradation happened 10x slower than it is does now? I'm sure part of the size in devices limited by expected battery life (i.e. phones and laptops like MBA, as opposed to laptops like MBP that have batteries just under the FAA size limit) is to account for the expected decline in battery capacity over time.
 
Reactions: Tlh97 and Joe NYC

FlameTail

Diamond Member
Dec 15, 2021
3,122
1,786
106

The X Elite and X Plus chips, used for Windows on ARM (WOA), will reach about 2 million unit shipments in 2024, with expected year-on-year growth of at least 100–200% in 2025.
Sounds good.
The X Elite and X Plus will have modified versions in 2025, with a reduction in end product prices.
What kind of modificiation can we expect? Also when is X Elite G2/Oryon V2 landing then?

Dell leak said 2025H2

Additionally, Qualcomm plans to launch a low-cost WOA processor codenamed Canim for mainstream models (priced between $599–799) in 4Q25. This low-cost chip, manufactured on TSMC’s N4 node, will retain the same AI processing power as the X Elite and X Plus (40 TOPS).
Sounds good.
 

FlameTail

Diamond Member
Dec 15, 2021
3,122
1,786
106
Why?

I can only assume you feel having "too much" battery life at first is good because when it is degraded after a few years it'll still provide one day of battery life? Because otherwise I see no point to having a battery that still has 60% charge left when you've used it all day.

I wonder if we'd see smaller battery sizes if batteries could be made so that degradation happened 10x slower than it is does now? I'm sure part of the size in devices limited by expected battery life (i.e. phones and laptops like MBA, as opposed to laptops like MBP that have batteries just under the FAA size limit) is to account for the expected decline in battery capacity over time.
Having better chip efficiency will also prolong the battery lifespan (less recharge cycles).
 

FlameTail

Diamond Member
Dec 15, 2021
3,122
1,786
106
Qualcomm has implemented hardware acceleration for x86 emulation?
Oryon also has hardware accommodations for x86’s unique memory store architecture – something that’s widely considered to be one of Apple’s key advancements in achieving high x86 emulation performance on their own silicon.
 

FlameTail

Diamond Member
Dec 15, 2021
3,122
1,786
106
Videocardz has some extra information about Adreno X1 that's not in the Anandtech article;

 

The Hardcard

Member
Oct 19, 2021
113
159
86
Anandtech calling the x86 memory model a "unique memory store architecture" is really weird.

Good to see, though. Should make life easier for the WoA emulation folks.
Weird as in, “what does he mean, so many other CPU designs have the same architecture “ or as in “x86 so dominates the industry, even things only they implement should be referenced as typical.”
 

SarahKerrigan

Senior member
Oct 12, 2014
585
1,401
136
Weird as in, “what does he mean, so many other CPU designs have the same architecture “ or as in “x86 so dominates the industry, even things only they implement should be referenced as typical.”

Weird as in nobody calls it a "memory store architecture." Just strange wording, nothing deeper.
 
Jul 27, 2020
17,713
11,499
106
I can only assume you feel having "too much" battery life at first is good because when it is degraded after a few years it'll still provide one day of battery life?

I wonder if we'd see smaller battery sizes if batteries could be made so that degradation happened 10x slower than it is does now? I'm sure part of the size in devices limited by expected battery life (i.e. phones and laptops like MBA, as opposed to laptops like MBP that have batteries just under the FAA size limit) is to account for the expected decline in battery capacity over time.
Yes! You get it!

If the battery is not easily replaceable, I would prefer that it lasted longer and one way to make it last longer is to charge it LESS, which a bigger battery enables you to do.

Plus, if you were to do an experiment where you offer people two laptops for the same price, one with smaller battery and one with larger battery, people would overwhelmingly choose the one with the larger battery, despite the extra weight because if there is no difference in price, why go for less?

It's Apple that started this trend of "small battery is good" with the Macbook Air because for some weird reason balancing a stupid laptop on the palm of our hand somehow makes us wizards of computing. I was fine when phones were fat with replaceable batteries. Now I worry that the phone I use daily and don't want to get rid of, will some day start having battery issues and then I will have to take it to some mobile repair shop for "open surgery" and who knows if the phone will work the same after that. I much preferred replacing the battery myself.
 
Last edited:

FlameTail

Diamond Member
Dec 15, 2021
3,122
1,786
106
Interestingly, the Snapdragon X’s 4 core cluster configuration is not even as big as an Oryon CPU cluster can go. According to Qualcomm’s engineers, the cluster design actually has all the accommodations and bandwidth to handle an 8 core design, no doubt harking back to its roots as a server processor. In the case of a consumer processor, multiple smaller clusters offers more granularity for power management and as a better fundamental building block for making lower-end chips (e.g. Snapdragon mobile SoCs), but it will come with some trade-offs with slower core-to-core communication when those cores are in separate clusters (and thus have to go over the bus interface unit to another core). It’s a small but notable distinction, since both Intel and AMD’s current designs place 6 to 8 CPU cores inside the same cluster/CCX/ring.
4P vs 8P cluster, which is better?

8P cluster
Better MT performance due to less core-to-core latency
• Better ST performance becuase an individual core can access more cache (assuming 8P cluster has double the cache of 4P cluster).

4P cluster
Better power efficiency
 
Jul 27, 2020
17,713
11,499
106
4P cluster
Better power efficiency
4 cores in 2024? No thanks. Fewer cores would get overwhelmed more easily by heavily threaded applications or heavy multitasking so don't see the point unless you just want to do light tasks. On a tablet or maybe netbook, such a cluster might be fine but in a work laptop? Get the hell out of my work laptop!
 

The Hardcard

Member
Oct 19, 2021
113
159
86
Yes! You get it!

If the battery is not easily replaceable, I would prefer that it lasted longer and one way to make it last longer is to charge it LESS, which a bigger battery enables you to do.

Plus, if you were to do an experiment where you offer people two laptops for the same price, one with smaller battery and one with larger battery, people would overwhelmingly choose the one with the larger battery, despite the extra weight because if there is no difference in price, why go for less?

It's Apple that started this trend of "small battery is good" with the Macbook Air because for some weird reason balancing a stupid laptop on the palm of our hand somehow makes us wizards of computing. I was fine when phones were fat with replaceable batteries. Now I worry that the phone I use daily and don't want to get rid of, will some day start having battery issues and then I will have to take it to some mobile repair shop for "open surgery" and who knows if the phone will work the same after that. I much preferred replacing the battery myself.
It isn’t a weird reason, it is a straightforward one. It makes sense to be willing to endure the greater effort and reduced flexibility of thicker, bulkier, heavier devices. i’ve done it myself probably will again.

But it always has been, and will always be a trade-off, never a feature.
 

Doug S

Platinum Member
Feb 8, 2020
2,470
4,026
136
It isn’t a weird reason, it is a straightforward one. It makes sense to be willing to endure the greater effort and reduced flexibility of thicker, bulkier, heavier devices. i’ve done it myself probably will again.

But it always has been, and will always be a trade-off, never a feature.

Yes, it is a tradeoff. That's something the people who are always cheering when battery life is increased and think the world is going to end if it is reduced don't get.

They will say "why does Apple want the iPhone to be thin, I would rather have a device 50% thicker with double the battery life" That's what THEY may want, but that's not what I want. If I could I'd get one that's even thinner. Not because I care about thinness per se, but because I prefer it be lighter. My nearly two year old 14 Pro Max still has 60% or so battery life at the end of my day's use of it. That's down from where it was when it was new, but it could have had a smaller battery without impacting MY use of it.

People who want a thicker phone with longer battery life can buy today's iPhone (or my hypothetical thinner one) and put it in a case that builds in a battery. They get what they want without impeding my choices. That's a little harder to do with say a Macbook Air, since no one puts laptops in a "case", but the Macbook Pro exists for people who want to trade off increased weight for a larger battery.

I'm not saying the Pro Max has too big of a battery - it is too big for me but Apple is choosing it based on their overall customer base. But they don't need to satisfy everyone, because those willing to trade size/weight for battery have a perfectly good DIY option.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |