Alpha assembler fixed from HEAD.
PR: 2577
This commit is contained in:
parent
c5d38fc262
commit
8ff5c8874f
@ -99,19 +99,19 @@ OPENSSL_cleanse:
|
|||||||
beq $0,.Laligned
|
beq $0,.Laligned
|
||||||
|
|
||||||
.Little:
|
.Little:
|
||||||
|
subq $0,8,$0
|
||||||
ldq_u $1,0($16)
|
ldq_u $1,0($16)
|
||||||
mov $16,$2
|
mov $16,$2
|
||||||
.Lalign:
|
.Lalign:
|
||||||
mskbl $1,$16,$1
|
mskbl $1,$16,$1
|
||||||
lda $16,1($16)
|
lda $16,1($16)
|
||||||
subq $17,1,$17
|
subq $17,1,$17
|
||||||
subq $0,1,$0
|
addq $0,1,$0
|
||||||
beq $17,.Lout
|
beq $17,.Lout
|
||||||
bne $0,.Lalign
|
bne $0,.Lalign
|
||||||
.Lout: stq_u $1,0($2)
|
.Lout: stq_u $1,0($2)
|
||||||
beq $17,.Ldone
|
beq $17,.Ldone
|
||||||
bic $17,7,$at
|
bic $17,7,$at
|
||||||
mov $17,$0
|
|
||||||
beq $at,.Little
|
beq $at,.Little
|
||||||
|
|
||||||
.Laligned:
|
.Laligned:
|
||||||
@ -120,9 +120,7 @@ OPENSSL_cleanse:
|
|||||||
lda $16,8($16)
|
lda $16,8($16)
|
||||||
bic $17,7,$at
|
bic $17,7,$at
|
||||||
bne $at,.Laligned
|
bne $at,.Laligned
|
||||||
beq $17,.Ldone
|
bne $17,.Little
|
||||||
mov $17,$0
|
|
||||||
br .Little
|
|
||||||
.Ldone: ret ($26)
|
.Ldone: ret ($26)
|
||||||
.end OPENSSL_cleanse
|
.end OPENSSL_cleanse
|
||||||
___
|
___
|
||||||
|
@ -41,7 +41,7 @@ $j="s4";
|
|||||||
$m1="s5";
|
$m1="s5";
|
||||||
|
|
||||||
$code=<<___;
|
$code=<<___;
|
||||||
#indef __linux__
|
#ifdef __linux__
|
||||||
#include <asm/regdef.h>
|
#include <asm/regdef.h>
|
||||||
#else
|
#else
|
||||||
#include <asm.h>
|
#include <asm.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user