mirror of https://github.com/YosysHQ/yosys.git
Fix gcc compile errors
This commit is contained in:
parent
c2237447bf
commit
a7cfabd405
|
|
@ -1 +1 @@
|
||||||
Subproject commit e68bf9d0bb2e038e970ed11c7edcc19f29d84b12
|
Subproject commit c0dd6eef9759381a67572c0098fbe118e23d2429
|
||||||
|
|
@ -49,12 +49,12 @@ struct rm {
|
||||||
thread_local Module *symfpu_mod = nullptr;
|
thread_local Module *symfpu_mod = nullptr;
|
||||||
|
|
||||||
struct rtlil_traits {
|
struct rtlil_traits {
|
||||||
typedef uint64_t bwt;
|
using bwt = uint64_t;
|
||||||
typedef rm rm;
|
using rm = struct rm;
|
||||||
typedef symfpu::shared::floatingPointTypeInfo fpt;
|
using fpt = symfpu::shared::floatingPointTypeInfo;
|
||||||
typedef prop prop;
|
using prop = struct prop;
|
||||||
typedef bv<true> sbv;
|
using sbv = bv<true>;
|
||||||
typedef bv<false> ubv;
|
using ubv = bv<false>;
|
||||||
|
|
||||||
// Return an instance of each rounding mode.
|
// Return an instance of each rounding mode.
|
||||||
static rm RNE(void) { return {rm::mode::RNE}; };
|
static rm RNE(void) { return {rm::mode::RNE}; };
|
||||||
|
|
@ -348,7 +348,7 @@ template <bool is_signed> bv<is_signed> symfpu::ite<prop, bv<is_signed>>::iteOp(
|
||||||
return bv<is_signed>{symfpu_mod->Mux(NEW_ID, e.bits, t.bits, cond.bit)};
|
return bv<is_signed>{symfpu_mod->Mux(NEW_ID, e.bits, t.bits, cond.bit)};
|
||||||
}
|
}
|
||||||
|
|
||||||
prop symfpu::ite<bool, prop>::iteOp(bool cond, const prop &t, const prop &e) { return cond ? t : e; }
|
[[maybe_unused]] prop symfpu::ite<bool, prop>::iteOp(bool cond, const prop &t, const prop &e) { return cond ? t : e; }
|
||||||
|
|
||||||
template <bool is_signed> bv<is_signed> symfpu::ite<bool, bv<is_signed>>::iteOp(bool cond, const bv<is_signed> &t, const bv<is_signed> &e)
|
template <bool is_signed> bv<is_signed> symfpu::ite<bool, bv<is_signed>>::iteOp(bool cond, const bv<is_signed> &t, const bv<is_signed> &e)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue