Skip to content
Commit 45a0a03c authored by Watson Zeng's avatar Watson Zeng Committed by Anas Nashif
Browse files

arc: Preserve STATUS32 flags while setting AE flag



KFLAG instruction might affect multiple flags in STATUS32 register
and so when we need just AE-bit to be set we need first read current
state of STATUS32, then change our bit and set STATUS32 again.

Otherwise critical flags including stack checking, unaligned access etc
will be dropped for good.

Signed-off-by: default avatarWatson Zeng <zhiwei@synopsys.com>
parent 4c1c1732
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment