Compiler-Allocated Special Registers That Resolve Data Hazards With Reduced Hardware Complexity

    公开(公告)号:US20200310799A1

    公开(公告)日:2020-10-01

    申请号:US16365674

    申请日:2019-03-27

    Applicant: MediaTek Inc.

    Abstract: Various examples with respect to compiler-allocated special registers that resolve data hazards with reduced hardware complexity are described. A processor includes a plurality of hardware components arranged in in an instruction set architecture. The processor allocates one or more forwarding registers with respect to the execution of an instruction. The processor also performs arithmetic operations based on the instruction with data input from multiple ways of the instruction set architecture such that the one or more forwarding registers is utilized for data forwarding between the multiple ways of the instruction set architecture.

    Methods and systems for managing an instruction sequence with a divergent control flow in a SIMT architecture

    公开(公告)号:US09898288B2

    公开(公告)日:2018-02-20

    申请号:US14982257

    申请日:2015-12-29

    Applicant: MediaTek Inc.

    CPC classification number: G06F9/30061 G06F9/30 G06F9/3009

    Abstract: A computer-implemented method of executing an instruction sequence with a recursive function call of a plurality of threads within a thread group in a Single-Instruction-Multiple-Threads (SIMT) system is provided. Each thread is provided with a function call counter (FCC), an active mask, an execution mask and a per-thread program counter (PTPC). The instruction sequence with the recursive function call is executed by the threads in the thread group according to a program counter (PC) indicating a target. Upon executing the recursive function call, for each thread, the active mask is set according to the PTPC and the target indicated by the PC, the FCC is determined when entering or returning from the recursive function call, the execution mask is determined according to the FCC and the active mask. It is determined whether an execution result of the recursive function call takes effects according to the execution mask.

Patent Agency Ranking