Invention Application
- Patent Title: PROVIDING EARLY PIPELINE OPTIMIZATION OF CONDITIONAL INSTRUCTIONS IN PROCESSOR-BASED SYSTEMS
-
Application No.: US15926429Application Date: 2018-03-20
-
Publication No.: US20190294443A1Publication Date: 2019-09-26
- Inventor: Sandeep Suresh Navada , Michael Scott McIlvaine , Rodney Wayne Smith , Robert Douglas Clancy , Yusuf Cagatay Tekmen , Niket Choudhary , Daren Eugene Streett , Richard Doing , Ankita Upreti
- Applicant: QUALCOMM Incorporated
- Main IPC: G06F9/38
- IPC: G06F9/38

Abstract:
Providing early pipeline optimization of conditional instructions in processor-based systems is disclosed. In one aspect, an instruction pipeline of a processor-based system detects a mispredicted branch (i.e., following a misprediction of a condition associated with a speculatively executed conditional branch instruction), and records a current state of one or more condition flags as a condition flags snapshot. After a pipeline flush is initiated and a corrected fetch path is restarted, an instruction decode stage of the instruction pipeline uses the condition flags snapshot to apply optimizations to conditional instructions detected within the corrected fetch path. According to some aspects, the condition flags snapshot is subsequently invalidated upon encountering a condition-flag-writing instruction within the corrected fetch path. In this manner, the condition flags snapshot enables non-speculative (with respect to the corrected fetch path) resolution of conditional instructions earlier within the instruction pipeline, thus conserving system resources and improving processor performance.
Information query