+2
−1
+2
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Improve the do_ldrd_abort macro code - firstly, it inefficiently checks for the LDRD encoding by doing a multi-stage test of various bits. This can be simplified by generating a mask, bitmasking the instruction and then comparing the result. Secondly, we want to be able to test the result rather than branching to do_DataAbort, so remove the branch at the end and rename the macro to 'teq_ldrd' to reflect it's new usage. teq_ldrd macro returns 'eq' if the instruction was a LDRD. Signed-off-by:Russell King <rmk+kernel@arm.linux.org.uk> Bug: 31374660 Change-Id: Iddab3b2b5fb379a2f9529e482a2471691a94d7bb (cherry picked from commit 08446b129bbde34665c423d882f857a45b8c3aed) Signed-off-by:
Sami Tolvanen <samitolvanen@google.com>