Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5753762c authored by Markos Chandras's avatar Markos Chandras
Browse files

MIPS: asm: spinlock: Replace "sub" instruction with "addiu"



"sub $reg, imm" is not a real MIPS instruction. The assembler can
replace that with "addi $reg, -imm". However, addi has been removed
from R6, so we replace the "sub" instruction with the "addiu" one.

Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
parent 1922c356
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment