From f5bdc2e34299e3721c9319ba92dc72149f6af8a2 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 9 Nov 2017 19:27:20 -0800 Subject: [PATCH] Remove redundant U/S mode advertisement --- riscv/processor.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/riscv/processor.cc b/riscv/processor.cc index f177090..2dd2749 100644 --- 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; } -- 2.30.2