82ef8ada82
Rewrite inline assembly for ARMv7+ to correctly annotate inputs and outputs. On ARM GCC 6.1.1, this causes assembly output to change from the incorrect @ r0 is allocated to hold dst and x0 @ r1 is allocated to hold src and x1 ldr r0, [r1] @ clobbers dst! ldr r1, [r1, #4] str r0, [r0] str r1, [r0, #4] to the correct @ r0 is allocated to hold dst @ r1 is allocated to hold src and x1 @ r3 is allocated to hold x0 ldr r3, [r1] ldr r1, [r1, #4] str r3, [r0] str r1, [r0, #4] Also modify checkpatch.pl to ignore spaces before opening brackets when used in inline assembly. Change-Id: I255995f5e0a7b1a95375258755a93972c51d79b8 Signed-off-by: Benjamin Barenblat <bbaren@google.com> Reviewed-on: https://review.coreboot.org/15216 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> |
||
---|---|---|
.. | ||
check_lint_tests | ||
checkpatch.pl | ||
kconfig_lint | ||
kconfig_lint_README | ||
lint | ||
lint-000-license-headers | ||
lint-001-no-global-config-in-romstage | ||
lint-007-checkpatch | ||
lint-008-kconfig | ||
lint-014-qualified-types | ||
lint-stable-000-license-headers | ||
lint-stable-003-whitespace | ||
lint-stable-004-style-labels | ||
lint-stable-005-board-status | ||
lint-stable-006-board-name | ||
lint-stable-008-kconfig | ||
lint-stable-009-old-licenses | ||
lint-stable-010-asm-syntax | ||
lint-stable-012-executable-bit | ||
lint-stable-013-site-local | ||
remccoms3.sed | ||
spelling.txt |