mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
userspace: simplify SIMD test application assembly code
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
a25c5f4a96
commit
4ced264c3c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user