The Samsung Exynos M3 - 6-wide Decode With 70%+ IPC Increase



The Exynos 9810 was one of the first big announcements for 2018 and it was quite an exciting one. Samsung’s claims of doubling single-threaded performance was definitely an eye-catching moment and got a lot of attention. The new SoC sports four of Samsung’s third-generation Exynos M3 custom architecture cores running at up to 2.9GHz, alongside four Cortex A55 cores at 1.9GHz.

Usually Samsung LSI’s advertised target frequency for the CPUs doesn’t necessarily mean that the mobile division will release devices with the CPU running at those frequencies. The Exynos 8890 was advertised by SLSI to run up to 2.7GHz, while the S7 limited it to 2.6GHz. The Exynos M2’s DVFS tables showed that the CPU could go up to 2.8GHz but was rather released with a lower and more power efficient 2.3GHz clock. Similarly, it’s very possible we might see more limited clocks on an eventual Galaxy S9 with the Exynos 9810.

Of course even accounting for the fact that part of Samsung’s performance increase claim for the Exynos 9810 comes from the clockspeed jump from 2.3GHz to 2.9GHz, that still leave a massive performance discrepancy towards the goal of doubling single-threaded performance. Thus, this performance delta must come from the microarchitectural changes. Indeed the effective IPC increase must be in the 55-60% range for the math to make sense.

With the public announcement of the Exynos 9810 having finally taken place, Samsung engineers are now free to release information on the new M3 CPU microarchitecture. One source of information that’s been invaluable over the years into digging into the deeper working of CPU µarch’s are the companies' own submissions to open-source projects such as the GCC and LLVM compilers. Luckily Samsung is a fantastic open-source contributor and has yesterday posted the first patches describing the machine model for the M3 microarchitecture.

To better visualise the difference between the previous microarchitectures and the new M3, we take a step back in time to have a look what the high-level pipeline configuration of the Exynos M1/M2:

 

 

At heart the Exynos M1 and M2 microarchitectures are based on a 4-wide in-order stage for decode and dispatch. The wide decode stage was rather unusual at the time as ARM’s own Cortex A72 and A73 architectures made due with respectively 3 and 2-wide instruction decoders. With the Exynos M1/M2 being Samsung LSI’s first in-house microarchitecture it’s possible that the front-end wasn’t as advanced as ARM’s, as the latter’s 2-wide A73 microarchitecture was more than able to keep up in terms of IPC against the 4-wide M1 & M2. Samsung’s back-end for the M1 and M2 included 9 execution ports:

  • Two simple ALU pipelines capable of integer additions.

  • A complex ALU handling simple operations as well as  integer multiplication and division.

  • A load unit port

  • A store unit port

  • Two branch prediction ports

  • Two floating point and vector operations ports leading to two mixed capability pipelines


The M1/M2 were effectively 9-wide dispatch and execution machines.  In comparison the A73 dispatches up to 8 micro-ops into 7 pipelines and the A75 dispatches up to 11 µops into 8 pipelines, keeping in mind that we’re talking about very different microarchitectures here and the execution capabilities between the pipelines differ greatly. From fetch to write-back, the M1/M2 had a pipeline depth of 13 stages which is 2 stages longer than that of the A73 and A75, resulting is worse branch-misprediction penalties.

This is only a rough overview of the M1/M2 cores, Samsung published a far more in depth microarchitectural overview at HotChips 2016 which we’ve covered here.

 

The Exynos M3 differs greatly from the M1/M2 as it completely overhauls the front-end and also widens the back-end. The M3 front-end fetch, decode, and rename stages now increases in width by 50% to accommodate a 6-wide decoder, making the new microarchitecture among one of the widest in the mobile space alongside Apple’s CPU cores.

This comes at a cost however, as some undisclosed stages in the front-end become longer by 2 cycles, increasing the minimum pipeline depth from fetch to writeback from 13 to 15 stages. To counteract this, Samsung must have improved the branch predictor, however we can’t confirm for sure what individual front-end stage improvements have been made. The reorder buffer on the rename stage has seen a massive increase from 96 entries to 228 entries, pointing out that Samsung is trying to vastly increase their ability to extract instruction level parallelism to feed their back-end execution units.

The depiction of the schedulers are my own best guess on how the M3 looks like, as it seemed to me like the natural progression from the M1 configuration. What we do know is that the core dispatches up to 12 µops into the schedulers and we have 12 execution ports:

  • Two simple ALU pipelines for integer additions, same as on the M1/M2.

  • Two complex ALUs handling simple integer additions and also multiplication and division. The doubling of the complex pipelines means that the M3 has now double the integer multiplication throughput compared to the M1/M2 and a 25% increase in simple integer arithmetic.

  • Two load units. Again, the M3 here doubles the load capabilities compared to the M1 and M2.

  • A store unit port, same as on the M1/M2.

  • Two branch prediction ports, likely the same setup as on the M1/M2, capable of feeding the two branches/cycle the branch prediction unit is able to complete.

  • Instead of 2 floating point and vector pipelines, the M3 now includes 3 of them, all of them capable of complex operations, theoretically vastly increasing FP throughput.


The simple ALU pipelines already operate at single-cycle latencies so naturally there’s not much room for improvement there. On the side of the complex pipelines we still see 4-cycle multiplications for 64-bit integers, however integer division has been greatly improved from 21 cycles down to 12 cycles. I’m not sure if the division unit reserves both complex pipelines or only one of them, but what is clear as mentioned before, integer multiplication execution throughput is doubled and the additional complex pipe also increases simple arithmetic throughput from 3 to 4 ADDs.

The load units have been doubled and their load latency remains 4 cycles for basic operations. The Store unit also doesn’t seem to change in terms of its 1-cycle latency for basic stores.

The floating point and vector pipelines have seen the most changes in the Exynos M3. There are 3 pipelines now with distributed capabilities between them. Simple FP arithmetic operations and multiplication see a three-fold increase in throughput as all pipelines now offer the capability, compared to only one for the Exynos M1/M2. Beyond tripling the throughput, the latency of FP additions and subtractions (FADD, FSUB) is reduced from 3 cycles down to 2 cycles. Multiplication stays at a 4-cycle latency.

Floating point division sees a doubling of the throughput as two of the three pipelines are now capable of the operations, and latency has also been reduced from 15 cycles down to 12 cycles. Cryptographic throughput of AES instruction doubles as well as two of the 3 pipelines are able to execute them. SHA instruction throughput remains the same. For simple vector operations we see a 50% increase in throughput due to the additional pipeline.



We’re only scratching the surface of what Samsung’s third-generation CPU microarchitecture is bringing to the table, but already one thing is clear: SLSI’s claim of doubling single-threaded performance does not seem farfetched at all. What I’ve covered here are only the high-level changes the in the pipeline configurations and we don’t know much at all about the improvements on the side of the memory subsystem. I’m still pretty sure that we’ll be looking at large increases in the cache sizes up to 512KB private L2’s for the cores with a large 4MB DSU L3. Given the floating point pipeline changes I’m also expecting massive gains for such workloads. The front-end of the M3 microarchitecture is still a mystery so here’s hoping that Samsung will be able to re-attend Hot Chips this year for a worthy follow-up presentation covering the new design.

With all of these performance improvements, it’s also expected that the power requirements of the core will be greatly beyond those of existing cores. This seems a natural explanation for the two-fold single-core performance increase while the multi-core improvement remains at 40% - running all cores of such a core design at full frequency would indeed showcase some very high TDP numbers.

If all these projections come to fruition, I have no idea how Samsung’s mobile division is planning to equalise the CPU performance between the Exynos 9810 and against an eventual Snapdragon 845 variant of the Galaxy S9, short of finding ourselves in a best-case scenario for ARM’s A75 vs a worst-case for the new Exynos M3. With 2 months to go, we’ll have to wait & see what both Samsung mobile and Samsung LSI have managed to cook up.
DMCA.com Protection Status

Related Posts
Previous
« Prev Post
First

33 Comments

March 25, 2018 at 1:40 PM

Thanks for the tips on credit repair on your blog. Some tips i would offer as advice to people will be to give up this mentality that they can buy at this moment and shell out later. As being a society we all tend to do that for many issues. This includes vacation trips, furniture, and also items we wish. However, you should separate one's wants from all the needs. While you're working to raise your credit score you have to make some trade-offs. For example you may shop online to economize or you can click on second hand outlets instead of costly department stores to get clothing.

Reply
avatar
October 18, 2018 at 10:39 AM

http://vioglichfu.7m.pl/index.php?n=25&id=340114
[url=http://vioglichfu.7m.pl/index.php?n=25&id=55911#]cost comparison of viagra levitra and cialis[/url]
generic cialis online pharmacy reviews

Reply
avatar
January 1, 2019 at 4:19 AM

I have to express thanks to this writer for bailing me out of such a circumstance. Right after looking through the online world and meeting ways that were not productive, I figured my entire life was over. Existing devoid of the strategies to the problems you have resolved by means of your short post is a crucial case, and ones which may have in a wrong way affected my career if I hadn't noticed your blog. Your own capability and kindness in playing with every part was priceless. I'm not sure what I would have done if I hadn't discovered such a stuff like this. It's possible to at this point relish my future. Thank you very much for the reliable and effective help. I will not think twice to endorse the website to any person who would like recommendations about this problem.

Reply
avatar
January 1, 2019 at 6:19 AM

I precisely had to say thanks once again. I'm not certain the things that I could possibly have done without the type of techniques discussed by you relating to that question. It actually was a real terrifying circumstance in my circumstances, however , coming across a new skilled form you resolved it took me to jump over joy. I'm just happier for this information and in addition hope that you find out what an amazing job your are accomplishing educating the rest via your web blog. I am sure you have never got to know any of us.

Reply
avatar
January 1, 2019 at 10:48 AM

My spouse and i ended up being very glad that Louis managed to deal with his research through your ideas he obtained out of your blog. It's not at all simplistic to just continually be handing out information which people have been making money from. We really understand we now have the blog owner to give thanks to because of that. The most important illustrations you made, the easy blog navigation, the relationships you will aid to promote - it's mostly amazing, and it's really leading our son and the family recognize that that idea is excellent, and that is exceedingly vital. Many thanks for all the pieces!

Reply
avatar
January 1, 2019 at 10:25 PM

I must point out my respect for your generosity for persons that have the need for help with your theme. Your real dedication to passing the message up and down appeared to be remarkably helpful and have frequently made employees much like me to arrive at their desired goals. Your amazing warm and helpful advice indicates a great deal to me and substantially more to my mates. Warm regards; from each one of us.

Reply
avatar
January 2, 2019 at 6:06 PM

I precisely wished to thank you very much all over again. I am not sure what I would have created without these concepts provided by you regarding that area of interest. It absolutely was a frightful crisis in my view, however , finding out this expert tactic you resolved the issue forced me to cry with delight. Now i'm thankful for your help and in addition wish you realize what an amazing job that you're getting into educating many people by way of a site. Most probably you have never got to know any of us.

Reply
avatar
January 3, 2019 at 10:34 AM

My husband and i have been fortunate that Ervin could complete his inquiry through the precious recommendations he received from your very own site. It is now and again perplexing to just always be giving for free thoughts which usually many others have been making money from. And we remember we need you to appreciate because of that. All of the illustrations you've made, the straightforward web site menu, the friendships you can help to engender - it is most amazing, and it's really aiding our son in addition to the family believe that that situation is cool, which is certainly particularly vital. Thanks for all!

Reply
avatar
January 3, 2019 at 1:11 PM

I am only writing to let you be aware of of the extraordinary experience my wife's princess gained visiting your site. She came to find numerous things, including how it is like to possess a marvelous giving spirit to let others with no trouble completely grasp chosen problematic topics. You undoubtedly did more than people's desires. Thank you for coming up with the necessary, dependable, educational and unique tips on that topic to Kate.

Reply
avatar
January 4, 2019 at 2:54 AM

Thank you for your whole labor on this site. Kate loves going through research and it's simple to grasp why. My partner and i notice all regarding the dynamic method you deliver worthwhile strategies on the web blog and foster participation from the others on this topic then my princess has been learning so much. Have fun with the rest of the year. Your performing a great job.

Reply
avatar
January 4, 2019 at 7:07 AM

I intended to compose you a tiny remark to be able to give many thanks over again with your superb tricks you've featured on this site. It has been strangely generous with you to grant unhampered what most of us would have distributed for an e-book to generate some cash for themselves, chiefly since you might well have tried it in case you considered necessary. The thoughts in addition worked as a easy way to realize that many people have similar desire like mine to find out great deal more in regard to this issue. I am sure there are numerous more pleasant situations up front for many who examine your blog.

Reply
avatar
January 4, 2019 at 6:55 PM

I intended to compose you one bit of remark so as to give many thanks over again for the superb suggestions you have featured on this page. This is so incredibly generous with you to make unhampered what most people could have supplied as an ebook to end up making some bucks for their own end, principally seeing that you might well have tried it in the event you considered necessary. The principles in addition served as a fantastic way to fully grasp other people online have a similar dream much like my own to find out much more with respect to this issue. I'm sure there are many more fun sessions in the future for individuals who view your blog.

Reply
avatar
January 5, 2019 at 12:43 AM

My spouse and i felt quite fulfilled that Louis managed to deal with his analysis from the precious recommendations he came across through your web page. It's not at all simplistic just to happen to be giving freely techniques that many other people may have been trying to sell. And we also acknowledge we have the blog owner to give thanks to because of that. The illustrations you've made, the simple website navigation, the relationships your site give support to create - it is all unbelievable, and it's facilitating our son and the family reckon that the article is pleasurable, which is exceptionally pressing. Thanks for all!

Reply
avatar
January 5, 2019 at 5:40 PM

I just wanted to make a small remark to be able to say thanks to you for these great items you are placing at this site. My time-consuming internet look up has at the end of the day been paid with reputable content to write about with my two friends. I 'd repeat that most of us website visitors actually are unquestionably lucky to live in a fine community with many awesome professionals with beneficial guidelines. I feel truly grateful to have seen your entire web site and look forward to so many more fun times reading here. Thanks once again for a lot of things.

Reply
avatar
January 5, 2019 at 8:52 PM

I want to get across my affection for your kind-heartedness in support of all those that have the need for help on this one matter. Your very own dedication to passing the solution all through ended up being pretty interesting and has in most cases helped professionals like me to arrive at their endeavors. Your amazing invaluable facts indicates a great deal a person like me and still more to my office workers. With thanks; from all of us.

Reply
avatar
January 6, 2019 at 11:52 AM

Thanks so much for giving everyone such a terrific possiblity to read from this web site. It is usually so amazing plus jam-packed with amusement for me personally and my office fellow workers to search your blog minimum 3 times every week to see the newest stuff you have got. And definitely, I'm usually satisfied with your fantastic inspiring ideas served by you. Some 3 tips on this page are surely the simplest we have had.

Reply
avatar
January 6, 2019 at 2:56 PM

I precisely needed to thank you so much yet again. I am not sure what I might have followed in the absence of these solutions provided by you regarding such a field. Previously it was an absolute horrifying matter in my circumstances, nevertheless discovering a professional mode you resolved the issue forced me to leap for contentment. I am just grateful for the advice and in addition sincerely hope you find out what a powerful job you are accomplishing instructing most people using your websites. Most probably you have never met all of us.

Reply
avatar
January 6, 2019 at 6:00 PM

I and also my buddies have already been reading through the nice things from your web blog and so before long came up with an awful suspicion I had not expressed respect to the web site owner for those strategies. All of the young men had been for that reason warmed to see all of them and have in effect definitely been making the most of these things. We appreciate you simply being quite accommodating as well as for making a choice on this form of excellent issues millions of individuals are really eager to learn about. Our honest regret for not expressing appreciation to you earlier.

Reply
avatar
January 7, 2019 at 1:04 PM

I must show my appreciation to you just for rescuing me from this type of instance. After surfing around through the world-wide-web and meeting opinions that were not pleasant, I was thinking my entire life was done. Living devoid of the solutions to the problems you have fixed by means of your entire blog post is a serious case, and the ones which might have badly affected my entire career if I hadn't noticed your website. Your main mastery and kindness in dealing with everything was priceless. I don't know what I would have done if I hadn't encountered such a step like this. It's possible to at this moment look forward to my future. Thanks for your time very much for your high quality and result oriented help. I won't hesitate to recommend your site to anyone who ought to have guidelines on this situation.

Reply
avatar
January 7, 2019 at 3:56 PM

Thank you so much for giving everyone remarkably brilliant opportunity to read critical reviews from this web site. It is often very beneficial plus stuffed with a great time for me and my office mates to search your blog nearly three times in 7 days to study the newest tips you have. And lastly, I'm always impressed with your special inspiring ideas you serve. Selected 1 points in this post are honestly the most suitable we've had.

Reply
avatar
January 8, 2019 at 8:56 AM

I intended to draft you one very small remark just to thank you once again for your personal spectacular thoughts you've shown at this time. This is certainly extremely generous of people like you to allow publicly exactly what a few individuals might have made available as an e-book to make some profit for themselves, most notably considering that you could possibly have tried it in case you wanted. These advice additionally served like the easy way to realize that other people have the identical zeal really like my own to know many more when it comes to this problem. I believe there are several more pleasant sessions up front for individuals that looked at your blog.

Reply
avatar
January 8, 2019 at 12:39 PM

Thank you a lot for providing individuals with remarkably wonderful possiblity to read critical reviews from this blog. It's usually very superb and as well , packed with a great time for me personally and my office acquaintances to search your website at the very least three times every week to find out the fresh guides you will have. And of course, we're always pleased for the magnificent opinions you serve. Some 4 facts on this page are in fact the most beneficial we've ever had.

Reply
avatar
January 9, 2019 at 4:29 AM

I precisely wished to appreciate you once more. I do not know the things that I might have created in the absence of the actual pointers shown by you regarding this area of interest. It previously was a frightful problem in my circumstances, but taking a look at this professional manner you handled that made me to weep over gladness. I am just happy for the assistance as well as hope that you realize what a powerful job your are putting in training the rest all through your webpage. I know that you've never got to know all of us.

Reply
avatar
January 9, 2019 at 10:32 AM

Thank you so much for providing individuals with remarkably terrific opportunity to read critical reviews from this web site. It is often very kind and packed with amusement for me personally and my office friends to visit your site minimum 3 times in a week to read through the newest stuff you have got. And indeed, we are actually astounded considering the gorgeous tips and hints you serve. Certain 2 tips in this article are easily the most impressive I have ever had.

Reply
avatar
January 9, 2019 at 11:41 PM

I and also my buddies happened to be reviewing the best tips and hints located on your web blog and then all of a sudden got an awful feeling I never thanked the web site owner for those secrets. These ladies are actually so glad to study all of them and have honestly been taking pleasure in those things. I appreciate you for being so thoughtful as well as for selecting this kind of exceptional areas most people are really needing to be aware of. My sincere apologies for not expressing gratitude to you sooner.

Reply
avatar
January 10, 2019 at 3:08 AM

I in addition to my pals appeared to be taking note of the nice information and facts from the blog and before long I had a terrible suspicion I never thanked the web site owner for those tips. The women were definitely as a result happy to read all of them and have in effect in fact been using these things. Many thanks for simply being indeed accommodating as well as for making a choice on this sort of magnificent topics millions of individuals are really eager to be aware of. My very own sincere apologies for not expressing gratitude to sooner.

Reply
avatar
January 10, 2019 at 6:31 PM

I simply wished to appreciate you once again. I do not know what I would have followed without the entire hints documented by you on that field. It absolutely was an absolute frustrating dilemma for me, however , taking a look at the very expert avenue you treated the issue made me to weep with fulfillment. Now i am happy for the help and even hope you are aware of a powerful job that you're putting in instructing people with the aid of your web blog. I'm certain you've never got to know any of us.

Reply
avatar
January 10, 2019 at 6:38 PM

I am just commenting to let you be aware of what a fine encounter our child undergone viewing your web site. She realized a lot of issues, most notably how it is like to possess a wonderful giving character to make folks clearly completely grasp several very confusing things. You undoubtedly did more than visitors' desires. Thank you for rendering those insightful, trusted, explanatory and unique guidance on that topic to Tanya.

Reply
avatar
January 10, 2019 at 9:36 PM

Thanks so much for giving everyone an extraordinarily splendid opportunity to read in detail from this blog. It's always so pleasant and also stuffed with fun for me and my office friends to visit your website at a minimum thrice weekly to find out the fresh guidance you will have. And of course, I'm just always happy with the good hints served by you. Selected 2 areas in this post are in truth the most efficient we've had.

Reply
avatar
January 11, 2019 at 2:28 PM

A lot of thanks for each of your labor on this web site. My niece enjoys engaging in investigations and it's easy to see why. Most of us learn all concerning the powerful ways you render useful suggestions through the web site and in addition foster participation from other individuals about this subject while my girl is truly learning so much. Take advantage of the rest of the year. You are carrying out a useful job.

Reply
avatar
January 11, 2019 at 4:39 PM

A lot of thanks for all your valuable effort on this website. My mother enjoys engaging in investigations and it's easy to see why. We hear all concerning the compelling form you present efficient items by means of this website and as well boost response from visitors on that issue and my child is truly starting to learn a great deal. Take advantage of the rest of the new year. You're carrying out a dazzling job.

Reply
avatar
January 12, 2019 at 10:38 AM

I not to mention my pals were found to be going through the nice guidelines on your web page and then all of the sudden I got a terrible feeling I never expressed respect to the web site owner for them. All of the young men were certainly happy to read them and have in effect seriously been taking advantage of these things. Appreciation for simply being so thoughtful and also for utilizing some essential useful guides most people are really desperate to be informed on. My very own sincere regret for not expressing gratitude to earlier.

Reply
avatar
January 12, 2019 at 1:17 PM

I am also writing to let you be aware of what a superb experience my friend's princess developed going through your site. She figured out too many things, most notably what it is like to possess an excellent giving style to get men and women easily know precisely a number of tortuous subject areas. You actually exceeded people's expected results. Thanks for presenting these necessary, dependable, revealing and even fun guidance on your topic to Kate.

Reply
avatar