Make ppccpuid AIX friendly.
This commit is contained in:
parent
34994068a4
commit
a3963619f6
2 changed files with 5 additions and 3 deletions
|
@ -77,7 +77,9 @@ x86_64cpuid.s: x86_64cpuid.pl
|
|||
$(PERL) x86_64cpuid.pl $@
|
||||
ia64cpuid.s: ia64cpuid.S
|
||||
$(CC) $(CFLAGS) -E ia64cpuid.S > $@
|
||||
ppccpuid_%.s: ppccpuid.pl; $(PERL) $< $@
|
||||
ppccpuid_%.s: ppccpuid.pl; $(PERL) $< $@
|
||||
ppccpuid_aix32.s: ppccpuid.pl; $(PERL) ppccpuid.pl $@
|
||||
ppccpuid_aix64.s: ppccpuid.pl; $(PERL) ppccpuid.pl $@
|
||||
|
||||
testapps:
|
||||
[ -z "$(THIS)" ] || ( if echo ${SDIRS} | fgrep ' des '; \
|
||||
|
|
|
@ -70,7 +70,7 @@ Loop: lwarx r5,0,r3
|
|||
Little: mtctr r4
|
||||
stb r0,0(r3)
|
||||
addi r3,r3,1
|
||||
bdnz- .-8
|
||||
bdnz- $-8
|
||||
blr
|
||||
Lot: andi. r5,r3,3
|
||||
beq Laligned
|
||||
|
@ -83,7 +83,7 @@ Laligned:
|
|||
mtctr r5
|
||||
stw r0,0(r3)
|
||||
addi r3,r3,4
|
||||
bdnz- .-8
|
||||
bdnz- $-8
|
||||
andi. r4,r4,3
|
||||
bne Little
|
||||
blr
|
||||
|
|
Loading…
Reference in a new issue