Invention Application
- Patent Title: Conditional Termination and Conditional Termination Predicate Instructions
- Patent Title (中): 条件终止和条件终止谓词说明
-
Application No.: US14704421Application Date: 2015-05-05
-
Publication No.: US20160092398A1Publication Date: 2016-03-31
- Inventor: Jeffry E. Gonion , Charles E. Tucker , Alexander C. Klaiber
- Applicant: Apple Inc.
- Main IPC: G06F15/80
- IPC: G06F15/80 ; G06F9/30

Abstract:
In an embodiment, a processor may implement a vector instruction set including a conditional termination instruction (CTerm). The CTerm instruction may take two source operands and compare them according to a specified condition, updating flags as a result of the instruction. The flags may be used to affect predicate vector generation to control vectorized loop execution. In an embodiment, the vector instruction set may also include a conditional termination predicate instruction (CTPred). The CTPred instruction may take a pair of predicate vectors and a set of flags as operands, and may generate: a predicate vector to control parallel processing of vector elements, and a set of flags to control further loop processing. Either instruction may be used to efficiently manage vector loops in various embodiments, or the instructions may be used together.
Information query