Invention Grant
US09146741B2 Eliminating redundant masking operations instruction processing circuits, and related processor systems, methods, and computer-readable media 有权
消除冗余掩蔽操作指令处理电路,以及相关的处理器系统,方法和计算机可读介质

Eliminating redundant masking operations instruction processing circuits, and related processor systems, methods, and computer-readable media
Abstract:
Eliminating redundant masking operations in instruction processing circuits and related processor systems, methods, and computer-readable media are disclosed. In one embodiment, a first instruction in an instruction stream indicating an operation writing a value to a first register is detected by an instruction processing circuit, the value having a value size less than a size of the first register. The circuit also detects a second instruction in the instruction stream indicating a masking operation on the first register. The masking operation is eliminated upon a determination that the masking operation indicates a read operation and a write operation on the first register and has an identity mask size equal to or greater than the value size. In this manner, the elimination of the masking operation avoids potential read-after-write hazards and improves performance of a CPU by removing redundant operations from an execution pipeline.
Information query
Patent Agency Ranking
0/0