diff options
author | Weiwei Li <liweiwei@iscas.ac.cn> | 2022-07-31 20:39:47 +0800 |
---|---|---|
committer | Weiwei Li <liweiwei@iscas.ac.cn> | 2022-08-10 23:05:35 +0800 |
commit | 793ffe508a5b81ce27f1baf2c5afb0b58a4236c6 (patch) | |
tree | c63cc0806775e5ced759ab202d187da8aa1a64c3 /riscv/execute.cc | |
parent | db24e31569cab07f7d91c4f417aca12fab4fd018 (diff) | |
download | spike-793ffe508a5b81ce27f1baf2c5afb0b58a4236c6.zip spike-793ffe508a5b81ce27f1baf2c5afb0b58a4236c6.tar.gz spike-793ffe508a5b81ce27f1baf2c5afb0b58a4236c6.tar.bz2 |
Fix code indentation in processor.cc, interactive.cc, debug_module.h/cc
execute.cc, entropy_source.h and v_ext_macros.h
Diffstat (limited to 'riscv/execute.cc')
-rw-r--r-- | riscv/execute.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/riscv/execute.cc b/riscv/execute.cc index cc0d4c3..1f9ddef 100644 --- a/riscv/execute.cc +++ b/riscv/execute.cc @@ -240,18 +240,18 @@ void processor_t::step(size_t n) mmu_t* _mmu = mmu; #define advance_pc() \ - if (unlikely(invalid_pc(pc))) { \ - switch (pc) { \ - case PC_SERIALIZE_BEFORE: state.serialized = true; break; \ - case PC_SERIALIZE_AFTER: ++instret; break; \ - default: abort(); \ - } \ - pc = state.pc; \ - break; \ - } else { \ - state.pc = pc; \ - instret++; \ - } + if (unlikely(invalid_pc(pc))) { \ + switch (pc) { \ + case PC_SERIALIZE_BEFORE: state.serialized = true; break; \ + case PC_SERIALIZE_AFTER: ++instret; break; \ + default: abort(); \ + } \ + pc = state.pc; \ + break; \ + } else { \ + state.pc = pc; \ + instret++; \ + } try { |