New ISA & ALUs: An Extremely Wide Architecture

As mentioned, the ALU architecture as well as ISA of the new A-Series is fundamentally different to past Imagination GPUs, and in fact is very different from any other publicly disclosed design.

The key characteristic of the new ALU design is the fact that it’s now significantly wider than what was employed on the Rogue and Furian architectures, going to up a width of 128 execution units per cluster.

For context, the Rogue architecture used 32 thread wide wavefronts, but a single SIMD was only 16 slots wide. As a result, Rogue required two cycles to completely execute a 32-wide wavefront. This was physically widened to 32-wide SIMDs in the 8XT Furian series, executing a 32-wide wavefront in a single cycle, and was again increased to 40-wide SIMDs in the 9XTP series.

In terms of competing architectures, NVIDIA’s desktop GPUs have been 32-wide for several generations now, while AMD more recently moved from a 4x16 ALU configuration with a 64-wide wavefront to native 32-wide SIMDs and waves (with the backwards compatibility option to cluster together two ALU clusters/CUs for a 64-wide wavefront).

More relevant to Imagination’s mobile market, Arm’s recent GPU releases also have increased the width of their SIMDs, with the data paths increasing from 4 units in the G72, to 2x4 units in the G76 (8-wide wave / warp), to finally a bigger more contemporary 16-wide design with matching wavefront in the upcoming Mali-G77.

So immediately one might see Imagination’s new A-Series GPU significantly standing out from the crowd in terms of its core ALU architecture, having the widest SIMD design that we know of.

All of that said, we're a bit surprised to see Imagination use such a wide design. The problem with very wide SIMD designs is that you have to bundle together a very large number of threads in order to keep all of the hardware's execution units busy. To solve this conundrum, a key design change of the A-Series is the vast simplification of the ISA and the ALUs themselves.

Compared to the Rogue architecture as depicted in the slides, the new A-Series simplifies a execution unit from two Multiply-Add (MADD) units to only a single MADD unit. This change was actually effected in the Series-8 and Series-9 Furian architectures, however those designs still kept a secondary MUL unit alongside the MADD, which the A-Series now also does without.

The slide’s depiction of three arrows going into the MADD unit represents the three register sources for an operation, two for the multiply, and one for the addition. This is a change and an additional multiply register source compared to the Furian architecture’s MADD unit ISA.

In essence, Imagination has doubled-down on the transition from an Instruction Level Parallelism (ILP) oriented design to maximizing Thread Level Parallelism(TLP). In this respect it's quite similar to what AMD did with their GCN architecture early this decade, where they went from an ILP-heavy design to an architecture almost entirely bound by TLP.

The shift to “massive” TLP along with the much higher ALU utilization due to the simplified instructions is said to have enormously improved the density of the individual ALUs, with “massive” increases in performance/mm². Naturally, reduced area as well as elimination of redundant transistors also brings with itself an increase in power efficiency.

The next graphic describes the data and execution flow in the shader processor.

Things start off with a data master which kicks off work based on command queues in the memory. The 3D data master here also handles other fixed-function pre-processing, which will trigger execution of per-tile hidden surface removal and workload generation for the shader programs. The GPU here has a notion of triangle merging which groups them together into tasks in order to get better utilization of the ALUs and able to fill the 128 slots of the wavefront.

The PDS (Programmable Data Sequencer) is an allocator for resources and manager. It reserves register space for workloads and manages tasks as they’re being allocated to thread slots. The PDS is able to prefetch/preload data to local memory for upcoming threads, upon availability of the data of a thread, this becomes an active slot and is dispatched and decoded to the execution units by the instruction scheduler and decoder.

Besides the primary ALU pipeline we described earlier, there’s a secondary ALU as well. First off, a clarification on the primary ALUs is that we also find a separate execution unit for integer and bitwise operations. These units, while separate in their execution, do share the same data paths with the floating-point units, so it’s only ever possible to use one or the other. These integer units are what enable the A-Series to have high AI compute capabilities, having quad-rate INT8 throughput. In a sense, this is very similar to Arm’s NN abilities on the G76 and G77 for integer dot-product instructions, although Imagination doesn’t go into much detail on what exactly is possible.

The secondary pipeline runs at quarter rate speed, thus executing 32 threads per cycle in parallel. Here we find the more complex instructions which are more optimally executed on dedicated units, such as transcendentals, varying operations and iterators, data conversions, data moving ops as well as atomic operations.

A New Architecture To Bring IMG's Return? Fixed Function Changes & Scalability
Comments Locked

143 Comments

View All Comments

  • s.yu - Wednesday, December 4, 2019 - link

    "Apple is the biggest example of what a toxic system capitalism can become. "
    Clear sign of a hater, vlad.
    "Huawei is the biggest example of what a toxic system state capitalism-cum-corrupt monarchy can become. "
    It could direct authorities to jail an individual for 251 days with false testimonies only to be proven innocent and compesated with a recording he kept, and those who lied under oath are never held accountable.
    Huawei could frame somebody, to be jailed using the state apparatus supported by taxpayers, to be compensated using tax money when proven innocent, without expending a single cent from its pocket or giving so much as single apology when exposed. Yeah that's so much better than Apple.
  • Korguz - Wednesday, December 4, 2019 - link

    he's right apple does charge way to much for their products. all apple cares about.. is its profits....
  • Threska - Wednesday, December 4, 2019 - link

    Who isn't selfish? Companies care about profits. Consumers care about the lowest price.
  • Korguz - Wednesday, December 4, 2019 - link

    not like apple does.. their stuff is very overpriced....
  • s.yu - Wednesday, December 4, 2019 - link

    https://www.sixthtone.com/news/1004918/huawei-is-i...
    Everybody who has idealistic views of Huawei should be reading this, vlad accuses me of being a hater and look what he's doing.
  • s.yu - Wednesday, December 4, 2019 - link

    No shit that was 404'd.
    https://www.bbc.com/news/technology-50658787
    This is a BBC article but with much fewer details.
  • s.yu - Wednesday, December 4, 2019 - link

    Key points here:

    1. Huawei's HR lead a few employees to lie under oath to start the investigation against him.

    2. Authorities had the choice between detaining him and not detaining him, all they had to go on was Huawei's testimonies, they detained him siding with Huawei despite circumstantial evidence that the accusations were likely false.

    3. He was investigated due to another false accusation from Huawei a few months in for an extension on his jail time.

    4. Another employee was jailed under similar circumstances but gave in and wrote a confession under Huawei's promise no to press charges, which Huawei immediately seized, and brought to court.

    5. He only discovered the reason to jail him when he met his lawyer appointed by his wife, which was already months into his effective sentence, only then did he disclose that he had a recording of his discussion with the company regarding compensations(and multiple backups, some of which survived police search during his arrest), which proved his innocence.

    6. Upon procecutors terminating investigations on revelation from the recording and releasing him with compensation from the state, Huawei immediately modified their testimony.

    7. There was never an apology nor compensation from Huawei for framing Li, not in an official capacity, not by the employees and the HR who gave the false testimonies, and the individuals who lied under oath were never prosecuted nor even investigated.

    8. In the first 2-3 days of the incident there was intense censorship, to a scale probably unimaginable by an outsider, but as the Party realized this could not be suppressed, which brings us to where we are now. They turned to attempting to dictate the public discourse with censored reports and obfuscated details, and encouraging the spread of effectively irrelevant content defending Huawei from ideological and emotional standpoints.
  • ksec - Tuesday, December 3, 2019 - link

    That assumes the drivers from IMG or Vendors could make their GPU perform as fast as it could.
  • mode_13h - Wednesday, December 4, 2019 - link

    Only because they refuse to open source (or publish details to support open source driver development).
  • lucam - Tuesday, December 3, 2019 - link

    Do not forget there is also the AXT-48-1536 for premium mobile that should go even faster than the 1024 and therefore easily compete with the future A14

Log in

Don't have an account? Sign up now