Commit f068a46a authored by Igor Mammedov's avatar Igor Mammedov Committed by Paolo Bonzini
Browse files

emulator: movapd



Signed-off-by: default avatarIgor Mammedov <imammedo@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 290ed5d5
......@@ -652,6 +652,13 @@ static void test_sse(sse_union *mem)
mem->u[0] = 5; mem->u[1] = 6; mem->u[2] = 7; mem->u[3] = 8;
asm("movaps %1, %0" : "=x"(v.sse) : "m"(*mem));
report("movaps (write)", sseeq(&v, mem));
v.u[0] = 1; v.u[1] = 2; v.u[2] = 3; v.u[3] = 4;
asm("movapd %1, %0" : "=m"(*mem) : "x"(v.sse));
report("movapd (read)", sseeq(mem, &v));
mem->u[0] = 5; mem->u[1] = 6; mem->u[2] = 7; mem->u[3] = 8;
asm("movapd %1, %0" : "=x"(v.sse) : "m"(*mem));
report("movapd (write)", sseeq(&v, mem));
}
static void test_mmx(uint64_t *mem)
......
Supports Markdown
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