System and method for store fusion
AssigneeAdvanced Micro Devices, Inc.
InventorJohn M. King
Life of this patent
Estimating the term…
Abstract
Described herein is a system and method for store fusion that fuses small store operations into fewer, larger store operations. The system detects that a pair of adjacent operations are consecutive store operations, where the adjacent micro-operations refers to micro-operations flowing through adjacent dispatch slots and the consecutive store micro-operations refers to both of the adjacent micro-operations being store micro-operations. The consecutive store operations are then reviewed to determine if the data sizes are the same and if the store operation addresses are consecutive. The two store operations are then fused together to form one store operation with twice the data size and one store data HI operation.
Claims20
A method for fusing store micro-operations, the method comprising:
- determining whether adjacent micro-operations are consecutive store micro-operations, wherein the adjacent micro-operations refers to micro-operations flowing through adjacent dispatch slots and the consecutive store micro-operations refers to both of the adjacent micro-operations being store micro-operations;
- determining whether the consecutive store micro-operations have same data size;
- determining whether the consecutive store micro-operations are accessing consecutive addresses;
- and
- fusing the consecutive store micro-operations into a store micro-operation with twice the data size and a store data only micro-operation.
A processor for fusing store micro-operations, comprising:
- a dispatch logic configured to dispatch micro-operations;
- and
- a store fusion detection logic connected to the dispatch logic, the store fusion detection logic configured to:
- determine whether adjacent micro-operations are consecutive store micro-operations, wherein the adjacent micro-operations refers to micro-operations flowing through adjacent dispatch slots and the consecutive store micro-operations refers to both of the adjacent micro-operations being store micro-operations;
- determine whether the consecutive store micro-operations have same data size;
- determine whether the consecutive store micro-operations are accessing consecutive addresses;
- and
- fuse the consecutive store micro-operations into a store micro-operation with twice the data size and a store data only micro-operation.
Dependencies are inferred from the claim text.