asma: some hax
[uebersetzerbau-ss10.git] / asma / asma.s
index 275e847b0b6f13350f1672289559e3feb91d0973..e1538b4d1c002361010a30b042100874c9dc8ceb 100644 (file)
@@ -4,6 +4,15 @@
        .type   asma, @function
 asma:
 .LFB2:
+       #movdqu $0xffffffffffffffff, %xmm1
+       pxor %xmm1, %xmm1
+
+       #speicheradresse des pointers zeigt auf 16*8 feld = 128bit
+       movdqa (%rdi), %xmm2
+
+       #pcmpgtb %xmm1, %xmm2
+
+       #movdqa %xmm2, (%rdi)
        movq    %rdi, %rax
        ret
 .LFE2: