Use the explicit expanded form of cmp.
Clang apparently requires the explicit form of this instruction, and rejects uses which ignore the optional cmpD register. This was the only use of the shorthand form of the instruction, so just fix it up to match the others. PR: kern/215681 Submitted by: Mark Millard Reported by: Mark Millard <markmi _AT_ dsl-only.net> MFC after: 2 weeks
This commit is contained in:
parent
88dc5fd40f
commit
c2ef8287ea
@ -406,7 +406,7 @@ im0:
|
|||||||
mtctr %r1 /* load counter */
|
mtctr %r1 /* load counter */
|
||||||
im1:
|
im1:
|
||||||
lwzu %r1, 8(%r2) /* get next pte */
|
lwzu %r1, 8(%r2) /* get next pte */
|
||||||
cmp 0, %r1, %r3 /* see if found pte */
|
cmp 0, 0, %r1, %r3 /* see if found pte */
|
||||||
bdnzf 2, im1 /* dec count br if cmp ne and if
|
bdnzf 2, im1 /* dec count br if cmp ne and if
|
||||||
* count not zero */
|
* count not zero */
|
||||||
bne instr_sec_hash /* if not found set up second hash
|
bne instr_sec_hash /* if not found set up second hash
|
||||||
|
Loading…
Reference in New Issue
Block a user