Thread (6 messages) 6 messages, 5 authors, 2021-03-14

Re: [PATCH] powerpc: Fix instruction encoding for lis in ppc_function_entry()

From: Segher Boessenkool <hidden>
Date: 2021-03-05 18:42:49

On Thu, Mar 04, 2021 at 07:34:11AM +0530, Naveen N. Rao wrote:
'lis r2,N' is 'addis r2,0,N' and the instruction encoding in the macro
LIS_R2 is incorrect (it currently maps to 'addis 0,r2,N'). Fix the same.
That is written "addis r0,r2,N" even.  Your patch looks fine otherwise,
so with that fix:

Acked-by: Segher Boessenkool <redacted>


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