Thread (4 messages) 4 messages, 4 authors, 2021-11-02

Re: [PATCH] powerpc/dcr: Use cmplwi instead of 3-argument cmpli

From: Michael Ellerman <hidden>
Date: 2021-11-02 11:49:03

On Thu, 14 Oct 2021 13:44:24 +1100, Michael Ellerman wrote:
In dcr-low.S we use cmpli with three arguments, instead of four
arguments as defined in the ISA:

	cmpli	cr0,r3,1024

This appears to be a PPC440-ism, looking at the "PPC440x5 CPU Core
User’s Manual" it shows cmpli having no L field, but implied to be 0 due
to the core being 32-bit. It mentions that the ISA defines four
arguments and recommends using cmplwi.

[...]
Applied to powerpc/next.

[1/1] powerpc/dcr: Use cmplwi instead of 3-argument cmpli
      https://git.kernel.org/powerpc/c/fef071be57dc43679a32d5b0e6ee176d6f12e9f2

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help