Created
June 2, 2012 14:30
-
-
Save dwilliamson/2858640 to your computer and use it in GitHub Desktop.
Array assignment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// What I want | |
int x[8], y[8]; | |
x = y; | |
// What I have to do | |
struct Array | |
{ | |
int v[8]; | |
}; | |
Array x, y; | |
x = y; // rep movsd, even in debug builds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment