1. A processor comprising an execution core configured to execute an instruction having source operands that include a first scalar value and one or more vectors of indexes corresponding to a first vector memory operation and a second vector memory operation, wherein the execution core is configured to detect whether or not a dependency exists between the first vector memory operation and the second memory operation, wherein the detection of whether or not a dependency exists is based on the first scalar value and the one or more vectors of indexes, and wherein the execution core is configured to generate a dependency vector that indicates, for each first element of a first vector accessed by the first vector memory operation that depends on a second element of a second vector accessed by the second memory operation, which second element that the first element depends on.