Commit 4cf4acc5 authored by vkonyashkin's avatar vkonyashkin Committed by Pavel Emelyanov

criu tests: It's necessary to align data to use MOVAPS command

It 's necessary to align date, because the operand of movaps command
must be aligned on a 16-byte (128-bit version) boundary or a general-protection
exception (#GP) will be generated.
Signed-off-by: 's avatarvkonyashkin <vkonyashkin@parallels.com>
Acked-by: 's avatarAndrew Vagin <avagin@odin.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1f97db8a
......@@ -52,7 +52,8 @@ int main(int argc, char **argv)
{
#if defined(__i386__) || defined(__x86_64__)
float input[8] __attribute__((aligned(16)));
float res1[8], res2[8];
float res1[8] __attribute__((aligned(16)));
float res2[8] __attribute__((aligned(16)));
int i;
#endif
......
......@@ -52,7 +52,8 @@ int main(int argc, char **argv)
{
#if defined(__i386__) || defined(__x86_64__)
double input[4] __attribute__((aligned(16)));
double res1[4], res2[4];
double res1[4] __attribute__((aligned(16)));
double res2[4] __attribute__((aligned(16)));
int i;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment