Browse Source

Remove extra semicolons (-Wpedantic)

pull/1963/head
Andrew Waterman 1 year ago
parent
commit
ab024c11d8
  1. 2
      riscv/csrs.cc
  2. 2
      riscv/triggers.cc
  3. 2
      riscv/triggers.h
  4. 12
      softfloat/fall_maxmin.c

2
riscv/csrs.cc

@ -1231,7 +1231,7 @@ hideleg_csr_t::hideleg_csr_t(processor_t* const proc, const reg_t addr, csr_t_p
reg_t hideleg_csr_t::read() const noexcept {
return masked_csr_t::read() & mideleg->read();
};
}
hgatp_csr_t::hgatp_csr_t(processor_t* const proc, const reg_t addr):
basic_csr_t(proc, addr, 0) {

2
riscv/triggers.cc

@ -675,4 +675,4 @@ reg_t module_t::tinfo_read(unsigned UNUSED index) const noexcept
(CSR_TINFO_VERSION_1 << CSR_TINFO_VERSION_OFFSET);
}
};
}

2
riscv/triggers.h

@ -301,6 +301,6 @@ private:
std::vector<trigger_t *> triggers;
};
};
}
#endif

12
softfloat/fall_maxmin.c

@ -72,13 +72,13 @@ float ## bits ## _t f ## bits ## _min( float ## bits ## _t a, float ## bits ## _
} \
}
COMPARE_MAX(a, b, 16);
COMPARE_MAX(a, b, 32);
COMPARE_MAX(a, b, 64);
COMPARE_MAX(a, b, 16)
COMPARE_MAX(a, b, 32)
COMPARE_MAX(a, b, 64)
COMPARE_MIN(a, b, 16);
COMPARE_MIN(a, b, 32);
COMPARE_MIN(a, b, 64);
COMPARE_MIN(a, b, 16)
COMPARE_MIN(a, b, 32)
COMPARE_MIN(a, b, 64)
bfloat16_t bf16_max( bfloat16_t a, bfloat16_t b )
{

Loading…
Cancel
Save