aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2021-04-01 16:31:00 +0530
committerAnup Patel <anup@brainfault.org>2021-04-05 15:39:28 +0530
commite71a7c10a934cdfa4c88f0f7b0c8ecb33c9bcff1 (patch)
treee896269285ddb92ae0a03e8503b4db1b86963a60 /include
parent3d8a952737935dd98200b05b68dacb5e94071877 (diff)
downloadopensbi-e71a7c10a934cdfa4c88f0f7b0c8ecb33c9bcff1.zip
opensbi-e71a7c10a934cdfa4c88f0f7b0c8ecb33c9bcff1.tar.gz
opensbi-e71a7c10a934cdfa4c88f0f7b0c8ecb33c9bcff1.tar.bz2
firmware: Remove redundant add instruction from trap restore path
The "add sp, a0, zero" instruction in the trap restore path is redundant and can be avoided if TRAP_RESTORE_xyz() assembly macros use a0 as the base register instead of sp. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Xiang W <wxjstz@126.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions