X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=asma%2Fasma.s;fp=asma%2Fasma.s;h=84151dbc1036afc4dc32a8cf596cccca3de318f8;hb=6cdccfe4958f645af86bf210f33c05f0f8221172;hp=27101723f78e212fa868b499e2a8ccaf93319344;hpb=a853f464a991bf404ea781172a24eb8c2748b197;p=uebersetzerbau-ss10.git diff --git a/asma/asma.s b/asma/asma.s index 2710172..84151db 100644 --- a/asma/asma.s +++ b/asma/asma.s @@ -9,13 +9,13 @@ asma: * 102 = 01100110 * ~102 = 10011001 * (~102)+1 = 10011010 = 0x9A */ - mov $0x9a9a9a9a9a9a9a9a, %rbx - movq %rbx, %xmm15 + mov $0x9a9a9a9a9a9a9a9a, %rax + movq %rax, %xmm15 movddup %xmm15, %xmm8 //init %xmm9 mit "'a'-'A'= 97-65 = 32 = 0x20 - mov $0x2020202020202020, %rbx - movq %rbx, %xmm15 + mov $0x2020202020202020, %rax + movq %rax, %xmm15 movddup %xmm15, %xmm9 //speicheradresse des pointers zeigt auf 16*8 feld = 128bit @@ -24,8 +24,8 @@ asma: /*addiere in %xmm11 "min_t-'A'" * = -128 - 65 = 63 = 0x3f */ - mov $0x3f3f3f3f3f3f3f3f, %rbx - movq %rbx, %xmm15 + mov $0x3f3f3f3f3f3f3f3f, %rax + movq %rax, %xmm15 movddup %xmm15, %xmm10 //c+min_t-'A'