# US 2017/0365237 A1 · Processing a Plurality of Threads of a Single Instruction Multiple Data Group

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0365237 A1
- Document ID: US20170365237A1
- Status: Published application
- Kind: A1
- Application number: 15/679,316
- Filed: 2017-08-17
- Published: 2017-12-21
- Earliest claimed: 2010-06-17
- Assignees: ThinCl, Inc.
- Applicants: ThinCI, Inc.
- Inventors: Satyaki Koneru; Ke Yin
- Web page: https://patentgrep.com/patent/US20170365237A1

## CPC

- G09G 5/395: Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen (G09G5/399 takes precedence)
- G06F 3/14: Digital output to display device {; Cooperation and interconnection of the display device with other functional units}
- G06F 9/3005: {to perform operations for flow control}
- G06F 9/30058: {Conditional branch instructions}
- G06F 9/3851: {from multiple instruction streams, e.g. multistreaming}
- G06F 9/3887: {controlled by a single instruction for multiple data lanes [SIMD]}
- G06F 9/3888: {controlled by a single instruction for multiple threads [SIMT] in parallel}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 1/60: Memory management
- G06T 9/00: Image coding (bandwidth or redundancy reduction for static pictures H04N1/41; coding or decoding of static colour picture signals H04N1/64; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00)
- G06T 15/005: {General purpose rendering architectures}
- G09G 5/363: {Graphics controllers}
- H04N 21/23614: {Multiplexing of additional data and video streams (arrangements for simultaneous broadcast of plural pieces of information H04H20/28)}
- H04N 21/42653: {for processing graphics}
- H04N 21/4348: {Demultiplexing of additional data and video streams}
- H04N 21/8146: {involving graphical data, e.g. 3D object, 2D graphics}
- G09G 2340/02: Handling of images in compressed format, e.g. JPEG, MPEG
- G09G 2360/127: Updating a frame memory using a transfer of data from a source area to a destination area
- G09G 2360/18: Use of a frame buffer in a display terminal, inclusive of the display panel
- G09G 2370/022: Centralised management of display operation, e.g. in a server instead of locally
- G09G 2370/10: Use of a protocol of communication by packets in interfaces along the display data pipeline
- G09G 2370/16: Use of wireless transmission of display information
- H04N 19/42: characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence)
- H04N 19/426: using memory downsizing methods
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Methods, systems and apparatuses for processing a plurality of threads of a single-instruction multiple data (SIMD) group are disclosed. One method includes initializing a current instruction pointer of the SIMD group, initializing a thread instruction pointer for each of the plurality of threads of the SIMD group including setting a flag for each of the plurality of threads, determining whether a current instruction of the processing includes a conditional branch, resetting a flag of each thread of the plurality of threads that fails a condition of the conditional branch, and setting the thread instruction pointer for each of the plurality of threads that fails the condition of the conditional branch to a jump instruction pointer, and incrementing the current instruction pointer and each thread instruction pointer of the threads that do not fail, if at least one of the threads do not fail the condition.

## Claims

### Claim 1

A method of processing a plurality of threads of a single-instruction multiple data (SIMD) group, comprising:
initializing a current instruction pointer of the SIMD group;
initializing a thread instruction pointer for each of the plurality of threads of the SIMD group including setting a flag for each of the plurality of threads;
determining whether a current instruction of the processing includes a conditional branch;
resetting a flag of each thread of the plurality of threads that fails a condition of the conditional branch, and setting the thread instruction pointer for each of the plurality of threads that fails the condition of the conditional branch to a jump instruction pointer; and
incrementing the current instruction pointer and each thread instruction pointer of the threads that do not fail, if at least one of the threads do not fail the condition.

### Claim 2 (depends on 1)

The method of claim 1, wherein if all of plurality of the plurality of threads fail the condition, then setting the current instruction pointer and the thread instruction pointer of each of the plurality of threads to a closest instruction pointer.

### Claim 3 (depends on 2)

The method of claim 2, wherein the closet instruction pointer includes the instruction pointer having a least positive delta from a value of the current instruction pointer.

### Claim 4 (depends on 1)

The method of claim 1, wherein if the current instruction is not a conditional branch, then determining whether the current instruction is a merge point.

### Claim 5 (depends on 4)

The method of claim 4, wherein if the current instruction is not a merge point, then incrementing the current instruction pointer.

### Claim 6 (depends on 4)

The method of claim 4, wherein if the current instruction pointer is a merge point, then comparing the current instruction pointer with the thread instruction pointer of each of the threads, and setting the flag of each of the threads that have a thread instruction pointer that matches the current instruction pointer.

### Claim 7 (depends on 1)

The method of claim 1, wherein the conditional branch includes at least one of an IF instruction, an ELSE instruction, a CONT instruction, a BREAK instruction.

### Claim 8

A SIMD processor, wherein the SIMD processor operates to:
process a plurality of threads of a single-instruction multiple data (SIMD) group, comprising the SIMD processor operative to:
initialize a current instruction pointer of the SIMD group;
initialize a thread instruction pointer for each of the plurality of threads of the SIMD group including setting a flag for each of the plurality of threads;
determine whether a current instruction of the processing includes a conditional branch;
reset a flag of each thread of the plurality of threads that fails a condition of the conditional branch, and setting the thread instruction pointer for each of the plurality of threads that fails the condition of the conditional branch to a jump instruction pointer;
increment the current instruction pointer and each thread instruction pointer of the threads that do not fail, if at least one of the threads do not fail the condition.

### Claim 9 (depends on 8)

The SIMD processor of claim 8, wherein if all of the plurality of threads fail the condition, then setting the current instruction pointer and the thread instruction pointer of each of the plurality of threads to a closest instruction pointer.

### Claim 10 (depends on 9)

The SIMD processor claim 9, wherein the closest instruction pointer includes the instruction pointer having a least positive delta from a value of the current instruction pointer.

### Claim 11 (depends on 8)

The SIMD processor of claim 8, wherein if the current instruction is not a conditional branch, then determining whether the current instruction is a merge point.

### Claim 12 (depends on 11)

The SIMD processor of claim 11, wherein if the current instruction is not a merge point, then incrementing the current instruction pointer.

### Claim 13 (depends on 11)

The SIMD processor of claim 11, wherein if the current instruction pointer is a merge point, then comparing the current instruction pointer with the thread instruction pointer of each of the threads, and setting the flag of each of the threads that have a thread instruction pointer that matches the current instruction pointer.

### Claim 14 (depends on 8)

The SIMD processor of claim 8, wherein the conditional branch includes at least one of an IF instruction, an ELSE instruction, a CONT instruction, a BREAK instruction.
