Please sign in to comment.
arc: Preserve STATUS32 flags while resetting AE flag
KFLAG instruction might affect multiple flags in STATUS32 register and so when we need just AE-bit to be reset 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: Alexey Brodkin <email@example.com>
- Loading branch information...