summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sc7280/mmu.c
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2022-06-10 11:43:01 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-07-12 22:12:19 +0000
commit42a7cd0d99cfe4016d234e71b25aada8b453ba2f (patch)
treeb0c2c88978c5be4a41cb60681861df1050ff47cd /src/soc/qualcomm/sc7280/mmu.c
parent5c2b5fcf2f9c9259938fd03cfa3ea06b36a007f0 (diff)
soc/samsung/exynos5420: Use int instead of char for count variable
This micro optimization of using unsigned char instead of unsigned integer actually generates one more instruction. .LVL296: .LVL296: .L198: .L198: .loc 1 912 16 is_stmt 1 discriminator 1 view .LVU1740 .loc 1 912 16 is_stmt 1 discriminator 1 view .LVU1740 uxtb r2, r3 | cmp r7, r3 cmp r7, r2 < bhi .L199 bhi .L199 .loc 1 916 1 is_stmt 0 view .LVU1741 .loc 1 916 1 is_stmt 0 view .LVU1741 add sp, sp, #36 add sp, sp, #36 .cfi_remember_state .cfi_remember_state .cfi_def_cfa_offset 20 .cfi_def_cfa_offset 20 @ sp needed @ sp needed pop {r4, r5, r6, r7, pc} pop {r4, r5, r6, r7, pc} Fix it, so nobody can copy that. Change-Id: If5ffeacc7ac3c53a82b260cfb81ef7debc40034a Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/65731 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/qualcomm/sc7280/mmu.c')
0 files changed, 0 insertions, 0 deletions