projects
/
uebersetzerbau-ss10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b23b0f
)
asma: some hax
author
Bernhard Urban
<lewurm@gmail.com>
Sun, 28 Feb 2010 10:14:04 +0000
(11:14 +0100)
committer
Bernhard Urban
<lewurm@gmail.com>
Sun, 28 Feb 2010 10:14:04 +0000
(11:14 +0100)
.gitignore
patch
|
blob
|
history
asma/asma.s
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index 9ef76f3ef8a311407eb6349069c251f7468170f1..8f4fb4c4391a7942f3d81f16bd913493044069a8 100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-2,6
+2,7
@@
*.output
oxout.*
*~
+*.swp
#asma
asma/asma
diff --git
a/asma/asma.s
b/asma/asma.s
index 275e847b0b6f13350f1672289559e3feb91d0973..e1538b4d1c002361010a30b042100874c9dc8ceb 100644
(file)
--- a/
asma/asma.s
+++ b/
asma/asma.s
@@
-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: