1. A method, comprising:
prior to executing an original loop having iterations:
analyzing, via a processor, the iterations of the original loop;
identifying, via the processor, a dependency between a first one of the iterations of the original loop and a second one of the iterations of the original loop;
after identifying the dependency, vectorizing, via the processor, a first group of the iterations of the original loop based on the identified dependency to form a vectorization loop;
generating a first mask for a first iteration of the vectorization loop to enable, for the first iteration of the vectorization loop, vectorization of independent ones of the iterations of the original loop and to disable vectorization of dependent ones of the iterations of the original loop; and
setting, via the processor, a dynamic adjustment value of the vectorization loop based on the identified dependency at least by identifying a first occurring unprocessed iteration of the original loop from a start of the first mask.
2. A method as defined in claim 1, wherein the setting of the dynamic adjustment value further includes increasing or decreasing a parameter of a definition of the vectorization loop.
3. A method as defined in claim 1, wherein the first group includes the first one of the iterations of the original loop, and further including vectorizing a second group of the iterations of the original loop, wherein the second group includes the second one of the iterations of the original loop.
4. A method as defined in claim 1, further including adjusting a parameter of a definition of the vectorization loop according to the dynamic adjustment value such that a subsequent iteration of the vectorization loop begins after the identified dependency.
5. A method as defined in claim 1, wherein the vectorizing of the first group of the iterations includes grouping iterations of the original loop that are enabled by the first mask.
6. A method as defined in claim 1, further including generating a second mask for a second iteration of the vectorization loop subsequent to the first iteration of the vectorization loop, wherein the first mask and the second mask have a length corresponding to a vector length associated with the vectorization loop.
7. A non-transitory tangible computer readable storage medium comprising instructions that, when executed, cause a machine to at least:
prior to executing an original loop having iterations:
analyze the iterations of the original loop;
identify a dependency between a first one of the iterations of the original loop and a second one of the iterations of the original loop;
after identifying the dependency, vectorize a first group of the iterations of the original loop based on the identified dependency to form a vectorization loop;
generate a first mask for a first iteration of the vectorization loop to enable, for the first iteration of the vectorization loop, vectorization of independent ones of the iterations of the original loop and to disable vectorization of dependent ones of the iterations of the original loop; and
set a dynamic adjustment value of the vectorization loop based on the identified dependency at least by determining a first occurring unprocessed iteration of the original loop from a start of the first mask.
8. A storage medium as defined in claim 7, wherein the instructions, when executed, cause the machine to adjust the dynamic adjustment value by increasing or decreasing a parameter of a definition of the vectorization loop.
9. A storage medium as defined in claim 7, wherein the first group includes the first one of the iterations of the original loop, and the instructions, when executed, cause the machine to vectorize a second group of the iterations of the original loop, wherein the second group includes the second one of the iterations of the original loop.
10. A storage medium as defined in claim 7, wherein the instructions, when executed, cause the machine to adjust a parameter of a definition of the vectorization loop according to the dynamic adjustment value such that a subsequent iteration of the vectorization loop begins after the identified dependency.
11. A storage medium as defined in claim 7, wherein the instructions, when executed, cause the machine to vectorize the first group of the iterations by grouping iterations of the original loop that are enabled by the first mask.
12. A storage medium as defined in claim 7, wherein the instructions, when executed, cause the machine to generate a second mask for a second iteration of the vectorization loop subsequent to the first iteration of the vectorization loop, wherein the first mask and the second mask have a length corresponding to a vector length associated with the vectorization loop.
13. An apparatus to convert code, comprising:
a loop vectorizer to vectorize iterations of an original loop, the loop vectorizer including:
a definer to, prior to executing the original loop, analyze the iterations of the original loop;
an identifier to, prior to the executing of the original loop, identify a dependency between a first one of the iterations of the original loop and a second one of the iterations of the original loop;
a grouper to, prior to the executing of the original loop and after identifying the dependency, vectorize a first group of the iterations of the original loop based on the identified dependency to form a vectorization loop;
a mask generator to generate a first mask for a first iteration of the vectorization loop to enable, for the first iteration of the vectorization loop, vectorization of independent iterations of the original loop and to disable vectorization of dependent iterations of the original loop; and
a dynamic adjustment setter to, prior to the executing of the first one of the iterations of the original loop, set a dynamic adjustment value of the vectorization loop based on the identified dependency at least by determining a first occurring unprocessed iteration of the original loop from a start of the first mask, at least one of the definer, the identifier, the grouper, or the dynamic adjustment setter implemented by a processor and stored in a memory of the apparatus.
14. An apparatus as defined in claim 13, wherein the grouper is to group the first one of the first iterations of the original loop into the first group, and to group the second one of the iterations of the original loop into a second group.
15. A method as defined in claim 1, wherein all of the iterations of the original loop are processed via the vectorization loop before the executing of the original loop.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A strap fastener for locking at least one strap, the strap fastener comprising:
a leaf spring; and
a pair of rollers, one each of the rollers rotatably arranged a distance from a corresponding end edge of one of a pair of end edges of the leaf spring, wherein the distance is sized such that when the at least one strap is locked in the fastener, the at least one strap is clamped between the roller and the end edge.
2. A strap fastener according to claim 1, wherein at least one of the pair of rollers and the corresponding end edge of the leaf spring are inclined relative to a longitudinal axis of the leaf spring.
3. A strap fastener according to claim 1, wherein the leaf spring and the pair of rollers are located in a dividable cap.
4. A strap fastener according to claim 3, wherein the dividable cap comprises parts connected by a snap connection.
5. A strap fastener for locking at least one strap, the strap fastener comprising:
a leaf spring; and
a roller rotatably arranged a distance from a corresponding end edge of the leaf spring, wherein the distance is sized such that when the at least one strap is locked in the fastener, the at least one strap is clamped between the roller and the end edge;
further wherein the tightening of the at least one strap causes the end edge of the leaf spring to displace away from the roller, allowing the at least one strap to pass freely between the roller and the end edge.
6. A strap fastener according to claim 5, wherein the roller and the corresponding end edge of the leaf spring are inclined relative to a longitudinal axis of the leaf spring.
7. A strap fastener according to claim 5, wherein the leaf spring and roller are located in a dividable cap.
8. A strap fastener according to claim 7, wherein the dividable cap comprises parts connected by a snap connection.
9. A strap fastener according to claim 5, wherein the roller comprises a pair of rollers and the end edge comprises a pair of end edges, one each of the rollers rotatably arranged the distance from a corresponding one of the pair of edges of the leaf spring.
10. A strap fastener according to claim 5, wherein the roller comprises a single roller and the corresponding end edge comprises a single end edge.
11. A strap fastener for locking at least one strap, the strap fastener comprising:
a leaf spring;
a roller rotatably arranged a distance from a corresponding end edge of the leaf spring, wherein the distance is sized such that when the at least one strap is locked in the fastener, the at least one strap is clamped between the roller and the end edge; and
a release button arranged adjacent a portion of the leaf spring away from the end edge, whereby pressing the release button against the leaf spring causes the end edge to displace away from the roller, allowing the at least one strap to pass freely between the roller and the end edge.
12. A strap fastener according to claim 11, wherein the roller and the corresponding end edge of the leaf spring are inclined relative to a longitudinal axis of the leaf spring.
13. A strap fastener according to claim 11, wherein the leaf spring, roller and release button are located in a dividable cap.
14. A strap fastener according to claim 13, wherein the dividable cap comprises parts connected by a snap connection.
15. A strap fastener according to claim 11, wherein the roller comprises a pair of rollers and the end edge comprises a pair of end edges, one each of the rollers rotatably arranged the distance from a corresponding one of the pair of edges of the leaf spring.
16. A strap fastener according to claim 11, wherein the roller comprises a single roller and the corresponding end edge comprises a single end edge.