projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f87cdfe
)
Remove redundant U/S mode advertisement
author
Andrew Waterman
<andrew@sifive.com>
Fri, 10 Nov 2017 03:27:20 +0000
(19:27 -0800)
committer
Andrew Waterman
<andrew@sifive.com>
Fri, 10 Nov 2017 03:27:20 +0000
(19:27 -0800)
riscv/processor.cc
patch
|
blob
|
history
diff --git
a/riscv/processor.cc
b/riscv/processor.cc
index f177090c649f5beb5d843749b2bd57c2b70ab39a..2dd27496775c45b305ac8135f2f0d8e03bc155f4 100644
(file)
--- a/
riscv/processor.cc
+++ b/
riscv/processor.cc
@@
-112,10
+112,6
@@
void processor_t::parse_isa_string(const char* str)
if (supports_extension('Q') && max_xlen < 64)
bad_isa_string(str);
- // advertise support for supervisor and user modes
- isa |= 1L << ('s' - 'a');
- isa |= 1L << ('u' - 'a');
-
max_isa = isa;
}