aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorChih-Min Chao <chihmin.chao@sifive.com>2024-05-23 02:24:15 -0700
committerChih-Min Chao <chihmin.chao@sifive.com>2024-05-23 02:24:26 -0700
commit853105c659094122ef0769780645848646a4f463 (patch)
treea24c531c55fc0531a178c8466f5b72744f99ea5b /LICENSE
parent2cfd5393520c0673fd0182fcca430351d9e6682d (diff)
downloadspike-853105c659094122ef0769780645848646a4f463.zip
spike-853105c659094122ef0769780645848646a4f463.tar.gz
spike-853105c659094122ef0769780645848646a4f463.tar.bz2
zicflip: fix [ms]ret behavior
Based on Spec chapter 3.5 "An MRET or SRET instruction is used to return from a trap in M-mode or S-mode, respectively. When executing an xRET instruction, if xPP holds the value y, then ELP is set to the value of xPELP if yLPE is 1; otherwise, it is set to NO_LP_EXPECTED; xPELP is set to NO_LP_EXPECTED." The change follow the last statement after semicolon "xPELP is set to NO_LP_EXPECTED" Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions