userspace: simplify SIMD test application assembly code

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-01-24 23:57:15 +02:00
parent a25c5f4a96
commit 4ced264c3c
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A

View File

@ -1,9 +1,7 @@
int main(int, char *argv[], char *[]) int main(int, char *[], char *[])
{ {
#if defined(__amd64__) || defined(__i386__) #if defined(__amd64__) || defined(__i386__)
__asm__ __volatile__("movaps (%0), %%xmm0\n" __asm__ __volatile__("movaps %%xmm1, %%xmm0\n" : : : "memory");
"movaps %%xmm0, (%0)\n"
: : "r"(argv) : "memory");
#else #else
#warning "Unimplemented" #warning "Unimplemented"
#endif #endif